From e0e583b050438791f7bb3abd40815f5b238c38be Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sat, 19 Feb 2022 10:36:55 +0100 Subject: [PATCH] better index page --- engine/mk-index-entry.sh | 2 +- src/css/y.css | 2 + templates/index.html | 154 +++++++++++++++++++-------------------- 3 files changed, 80 insertions(+), 78 deletions(-) diff --git a/engine/mk-index-entry.sh b/engine/mk-index-entry.sh index ff98a87..d38eeab 100755 --- a/engine/mk-index-entry.sh +++ b/engine/mk-index-entry.sh @@ -28,7 +28,7 @@ keywords=( $(findkeywords $xfic) ) printf ": %-55s" "$title ($keywords)" { printf "\\n
  • " printf "\\n%s" "$d" - printf "\\n%s" "${blogfile}" "$title" + printf "\\n%s" "${blogfile}" "$title" printf "\\n
  • \\n\\n" } > ${dst} diff --git a/src/css/y.css b/src/css/y.css index d3df955..0449a40 100644 --- a/src/css/y.css +++ b/src/css/y.css @@ -23,6 +23,8 @@ hr { opacity: 0.3; } .abstract,.notes { margin: 1rem 10% 0; font-size: 0.875em; } .notes { border: dotted 1px; padding: 1em 2em;} .abstract { font-style: italic; } +.post-title { display: inline-block; min-width: 20em; } +.post-title > a { display: inline-block; padding: 0.5em 0; } #logo { display: block; vertical-align: middle; text-align: center; diff --git a/templates/index.html b/templates/index.html index 6453e64..7ffe868 100644 --- a/templates/index.html +++ b/templates/index.html @@ -42,83 +42,83 @@ $body$

    Archives from my previous dead blog