Skip to content
Snippets Groups Projects
Verified Commit a224885e authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Replace theme submoule with Python package

parent 706620c9
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ variables: ...@@ -6,7 +6,7 @@ variables:
pages: pages:
stage: deploy stage: deploy
before_script: before_script:
- pip install Markdown gitpython pelican py_w3c beautifulsoup4 - pip install -r requirements.txt
script: script:
- make publish - make publish
- cp _redirects public/ - cp _redirects public/
......
[submodule "themes/teckids"]
path = themes/teckids
url = https://edugit.org/Teckids/team-pr/pelican-theme-teckids.git
[submodule "plugins"] [submodule "plugins"]
path = plugins path = plugins
url = https://github.com/getpelican/pelican-plugins url = https://github.com/getpelican/pelican-plugins
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
# -*- coding: utf-8 -*- # # -*- coding: utf-8 -*- #
from __future__ import unicode_literals from __future__ import unicode_literals
import sys from pelican_theme_teckids.pelicanconf import *
sys.path.append("./themes")
from teckids.pelicanconf import *
AUTHOR = "Teckids e.V." AUTHOR = "Teckids e.V."
SITENAME = "Teckids e.V." SITENAME = "Teckids e.V."
...@@ -24,8 +22,6 @@ TIMEZONE = "Europe/Berlin" ...@@ -24,8 +22,6 @@ TIMEZONE = "Europe/Berlin"
DEFAULT_LANG = "de" DEFAULT_LANG = "de"
THEME = "themes/teckids"
# Feed generation is usually not desired when developing # Feed generation is usually not desired when developing
FEED_ALL_ATOM = None FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None CATEGORY_FEED_ATOM = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment