Adjust recent-updates generation for gutenberg

This commit is contained in:
Philipp Oppermann
2017-06-09 15:46:16 +02:00
parent 88d81461e2
commit 6f14cc83af
3 changed files with 4 additions and 3 deletions

View File

@@ -4,9 +4,9 @@
import io
from github import Github
g = Github("e62e298b2a46ca5cf474cb9a4c0c1bc950b09d46")
g = Github()
with io.open("layouts/partials/recent-updates.html", 'w', encoding='utf8') as recent_updates:
with io.open("templates/recent-updates.html", 'w', encoding='utf8') as recent_updates:
recent_updates.truncate()
recent_updates.write(u"<ul>\n")

View File

@@ -55,7 +55,7 @@
<aside id="recent-updates">
<h1>Recent Updates</h1>
TODO
{% include "recent-updates.html" %}
</aside>
{% endblock main %}

View File

@@ -0,0 +1 @@