Skip to content
Snippets Groups Projects
Verified Commit 617f9d44 authored by Jake's avatar Jake
Browse files

added lang.json

parent ca965910
No related branches found
No related tags found
No related merge requests found
Pipeline #303401 failed
......@@ -12,7 +12,7 @@ site:
before_script:
- apt-get update && apt-get install -y --no-install-recommends python3-pip python3 make git wget software-properties-common
- wget -O pandoc.deb https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb && dpkg -i pandoc.deb && rm --interactive=never pandoc.deb
- pip3 install tzlocal markdown pelican==4.7.2 pelican-pandoc-reader gitpython typogrify
- pip3 install tzlocal markdown pelican==4.7.2 pelican-pandoc-reader gitpython typogrify json
- git clone https://gitlab.gwdg.de/GAUMI-fginfo/fg-website-data.git content
script:
- make html
......
{
}
import json
AUTHOR = 'Fachgruppe Informatik'
SITENAME = 'Fachgruppe Informatik'
SITEURL = ''
......@@ -119,4 +121,7 @@ PLUGIN_PATHS = ['./pelican-plugins']
PLUGINS = ['filetime_from_git']
THEME = './theme'
JINJA_GLOBALS = {}
with open('./lang.json') as lang_json_file:
JINJA_GLOBALS['l'] = json.load(lang_json_file)
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