summaryrefslogtreecommitdiffstatshomepage
path: root/templates
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 /templates
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 '')
-rw-r--r--templates/index.xml21
-rw-r--r--templates/post.xml6
2 files changed, 18 insertions, 9 deletions
diff --git a/templates/index.xml b/templates/index.xml
index ba02890..d3a81c4 100644
--- a/templates/index.xml
+++ b/templates/index.xml
@@ -13,10 +13,21 @@
<meta name="twitter:image" content="https://oriole.systems/logo.webp" />
</head>
<body class="frontpage">
- <nav class="main" data-sblg-nav="true" data-sblg-navcontent="true">
- <a href="${sblg-base}.html">
- ${sblg-titletext}
- </a>
- </nav>
+ <header>
+ <h1>Hi, I'm Wolf.</h1>
+ <p>It seems you have found my little corner of the internet.</p>
+ <p>Check out my posts below, subscribe to the <a href="atom.xml">feed</a>, or
+ browse my <a href="https://git.oriole.systems">git repositories</a>.</p>
+ <p>To contact me, write to <em>wolf@</em> or find me on freenode as <em>wynn</em>.</p>
+ </header>
+ <hr></hr>
+ <main>
+ <nav data-sblg-nav="true" data-sblg-navcontent="true">
+ <article>
+ <time>${sblg-date}</time>
+ <a href="${sblg-base}.html">${sblg-titletext}</a>
+ </article>
+ </nav>
+ </main>
</body>
</html>
diff --git a/templates/post.xml b/templates/post.xml
index d9e5aa0..b04439a 100644
--- a/templates/post.xml
+++ b/templates/post.xml
@@ -14,10 +14,8 @@
<meta name="twitter:description" content="oriole.systems ยท an oriole's pendent nest" />
<meta name="twitter:image" content="https://oriole.systems/logo.webp" />
</head>
- <body class="post">
- <main>
- <article data-sblg-article="true"></article>
- </main>
+ <body>
+ <article data-sblg-article="true"></article>
</body>
</html>