summaryrefslogtreecommitdiffstatshomepage
path: root/util
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-06 17:46:25 +0200
committerWynn Wolf Arbor2020-06-06 21:04:14 +0200
commit77bc0a91d3782c7cea1ee0498e07e64f12c56405 (patch)
tree002ebf4423a65b5a05c10c336457cc62439acec6 /util
parentb70148e133a91eef64d53361757e70cd2e00b3d1 (diff)
downloadsite-77bc0a91d3782c7cea1ee0498e07e64f12c56405.tar.gz
Attempt a thorough redesign of the landing page
After careful consideration we have decided to replace the more brutalist landing page with something simpler and more in line with the styling of the actual posts. Have the front page include a short introduction and some further links to the atom feed and git.oriole.systems. Use a more traditional and simple top-to-bottom layout for the article links in lieu of the more idiosyncratic left-to-right list that was difficult to scan for some people. Keep the post styling as is, but move around and change a few HTML elements to make more semantic sense and improve the clarity of the CSS.
Diffstat (limited to 'util')
-rw-r--r--util/mdconv.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/mdconv.sh b/util/mdconv.sh
index 1178484..58f9cd8 100644
--- a/util/mdconv.sh
+++ b/util/mdconv.sh
@@ -9,12 +9,14 @@ flags="--html-no-skiphtml --html-no-escapehtml"
cat<<EOF
<?xml version="1.0" encoding="UTF-8" ?>
<article data-sblg-article="true">
- <header>
+ <header class="post">
<h1>$title</h1>
<address>$author</address>
<a href=".." title="Back to frontpage">↖</a>
<time datetime="$date">$(date -d"$date" '+%A, %B %e, %Y')</time>
</header>
- $(lowdown $flags "$1")
+ <section class="post">
+ $(lowdown $flags "$1")
+ </section>
</article>
EOF