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

added build_date

parent 1394b26c
No related branches found
No related tags found
No related merge requests found
import page as p
class Generator: class Generator:
def __init__(self, config, context): def __init__(self, config, context):
...@@ -60,6 +61,8 @@ class Generator: ...@@ -60,6 +61,8 @@ class Generator:
tags[page.lang][tag].append(page) tags[page.lang][tag].append(page)
self.context['tags'] = tags self.context['tags'] = tags
# build_date
self.context['build_date'] = p.Date("now", self.config)
def generate_homepage(self, writer, lang, path): def generate_homepage(self, writer, lang, path):
......
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