]> xn--ix-yja.es Git - alex.git/commitdiff
Add separation between posts in index
authoralex <alex@pdp7.net>
Fri, 23 Jul 2021 18:47:01 +0000 (18:47 +0000)
committeralex <alex@pdp7.net>
Fri, 23 Jul 2021 18:47:01 +0000 (18:47 +0000)
build.py

index 1f9279e64d863dfd0c1c1790c65f026a4cbc7a8a..0bc1f7a881a278f04dcf52ba8bff1cff448ee3ea 100755 (executable)
--- 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í