aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2021-07-23 18:47:01 +0000
committeralex <alex@pdp7.net>2021-07-23 18:47:01 +0000
commit45531970c5798ebd0c831f7622d914b7ba45d6bd (patch)
tree9068298d0d941edc6d0fb6a90c23587c2c8e4cc4
parent6d57cb505a40c6b810d51ff2ab21f129b566ed1d (diff)
Add separation between posts in index
-rwxr-xr-xbuild.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.py b/build.py
index 1f9279e6..0bc1f7a8 100755
--- a/build.py
+++ b/build.py
@@ -52,6 +52,9 @@ def create_index(posts):
## Hay otros como él, pero este es el mío
""").lstrip())
+ index.write("_" * 80)
+ index.write("\n")
+
for post in posts[0:10]:
index.write(textwrap.dedent(f"""
=> {post.uri} {post.posted} {post.title}
@@ -63,6 +66,8 @@ def create_index(posts):
index.write("\n".join(post_lines[2:]))
index.write("\n\n")
+ index.write("_" * 80)
+ index.write("\n")
index.write(textwrap.dedent("""
# Sobre mí