From 4b0e2d43fe75b10dc908f2317ebd9c7503ad09e3 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Tue, 12 Oct 2021 22:52:39 -0400 Subject: [PATCH] Improve automatic section generation --- _layouts/landing.liquid | 9 +++++++-- index.md | 18 ++++-------------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/_layouts/landing.liquid b/_layouts/landing.liquid index 7632c74..325d5ff 100644 --- a/_layouts/landing.liquid +++ b/_layouts/landing.liquid @@ -11,8 +11,13 @@

{{ site.title }}

{{ site.description }}

-
- {{ page.content }} + {% assign sections=page.content | split: "

. . .

" %} +
+ {% for section in sections %} +
+ {{ section }} +
+ {% endfor %}
diff --git a/index.md b/index.md index ca9e323..ea216be 100644 --- a/index.md +++ b/index.md @@ -1,10 +1,6 @@ --- layout: landing.liquid -data: - section_count: 5 --- -
- ## Who are you??? I'm Emi, a student at [REDACTED] who loves niche communities and the software @@ -39,8 +35,7 @@ about: * Why software A is better than software B * Something I don't understand but that you don't care to explain -
-
+. . . ## Do you have any public projects? @@ -53,8 +48,7 @@ do pull requests. [My GitHub](https://github.com/Alch-Emi) -
-
+. . . ## Something you made is difficult for me to use @@ -65,8 +59,7 @@ inaccessible to you, I will make it my top priority to make sure that it works for you. Same goes if anyone, deliberately or not, uses my software to make you uncomfortable or otherwise hurt you. -
-
+. . . ## Something you made is difficult for me to use because you used a license I don't like @@ -90,11 +83,8 @@ a different license. If you have other concerns about this license, please first consult the [Hippocratic License FAQ](https://firstdonoharm.dev/) -
-
+. . . ## I really like security. Do you have a GPG key? [I mean like if you really want.](.well-known/openpgpkey/hu/xjgaxcou5ojpf3otjssi8k8mc6eswjib) - -