mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Adjust recent-updates generation for gutenberg
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
<aside id="recent-updates">
|
||||
<h1>Recent Updates</h1>
|
||||
TODO
|
||||
{% include "recent-updates.html" %}
|
||||
</aside>
|
||||
|
||||
{% endblock main %}
|
||||
|
||||
1
blog/templates/recent-updates.html
Normal file
1
blog/templates/recent-updates.html
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user