summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-23 22:46:14 +0100
committerdavidovski <david@davidovski.xyz>2022-05-23 22:46:14 +0100
commit8ea617c26674e9e5cb3b5db88a36cb0e293ac185 (patch)
tree9910cbede565d049030d3887f7dd3c48237565a5
parent52af14a15b24bcc49c6433232cbe83bcd9ebc2d0 (diff)
moved summaries to about
-rw-r--r--build.py4
-rw-r--r--templates/about.html9
2 files changed, 8 insertions, 5 deletions
diff --git a/build.py b/build.py
index 2f34c1c..bed1ac7 100644
--- a/build.py
+++ b/build.py
@@ -87,7 +87,7 @@ def make():
summary_templ = getTemplateHTML("summary.html")
- summariesHTML = getTemplateHTML("about.html") + "\n<ul>\n"+ "\n".join(
+ summariesHTML = getTemplateHTML("about.html").replace("%posts%", "\n<ul>\n"+ "\n".join(
[
formatEntry(summary_templ, page)
.replace(
@@ -97,7 +97,7 @@ def make():
for page in pages
][: : -1]
- ) + "</ul>"
+ ) + "</ul>")
entry_templ = getTemplateHTML("page.html")
diff --git a/templates/about.html b/templates/about.html
index 0fd1ce8..64623a5 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -10,8 +10,11 @@
<div class="image">
<img src="/images/remotecontrol.gif">
</div>
-</div>
-<br>
+ <div>
+ <h2>blog posts</h2>
+ %posts%
+ </div>
+
+</div>
-<h2>blog posts</h2>