aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-02 14:54:11 -0400
committerBradley Taunt <bt@btxx.org>2024-07-02 14:54:11 -0400
commitb8e9e4184f6d8818558f5481fca962b7cf30d419 (patch)
treee6fdab6431b8b2eb681f1d356f751a9a008dbe8c
parent62874c637e698af29be6206fb38dae46710b2e8c (diff)
Update posts homepage styling and include home link
-rwxr-xr-xbarf2
-rw-r--r--header.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/barf b/barf
index bef6641..53750ca 100755
--- a/barf
+++ b/barf
@@ -35,7 +35,7 @@ index_html() {
# Intro text
$MARKDOWN index.md
- echo "<ul>"
+ echo "<ul class='posts'>"
# Posts
while read -r f title created; do
diff --git a/header.html b/header.html
index 323a01f..63151e3 100644
--- a/header.html
+++ b/header.html
@@ -8,11 +8,11 @@
<title>{{TITLE}}</title>
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
-<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
+<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.posts{list-style:none;padding:0;}.footnotes{font-size:90%;}</style>
</head>
<nav>
- <a href="#menu">Menu &darr;</a>
+ <a href="/">Home</a><span>&nbsp;|&nbsp;</span><a href="#menu">Menu &darr;</a>
</nav>
<main>