refactoring and new additions wheee

This commit is contained in:
zyl 2023-11-13 18:14:40 -08:00
parent 94ba05daf2
commit 3a274932a8
No known key found for this signature in database
GPG key ID: 8611B896D1AAFAF2
10 changed files with 192 additions and 91 deletions

View file

@ -1,3 +1,7 @@
---
extra: index
---
# zyl's website
hi! i'm zyl, a trans doggirlthing <abbr title="therian">ΘΔ</abbr> in the pnw.

View file

@ -35,8 +35,14 @@ a {
}
}
main.page {
margin: 8px;
#content {
main.page {
margin: 0 8px 8px 8px;
}
.index-info {
margin: 8px;
}
}
abbr {

View file

@ -2,8 +2,10 @@
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
<link rel="stylesheet" href="/styles/index.css">
<title>{{title}}</title>
{{{head}}}
</head>
@ -18,9 +20,11 @@
<a href="/images/">images</a> |
<a href="https://github.com/zyllian/zyllian.github.io" rel="noopener noreferrer">source</a>
</header>
<main class="page">
{{{page}}}
</main>
<div id="content">
<main class="page">
{{{page}}}
</main>
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<hr />
<div class="index-info">
<h3>most recent blog posts</h3>
<div class="blog-post-list">
{{#each resources}}
<div class="post">
<p class="title"><a href="/blog/{{id}}">{{title}}</a></p>
<p class="short-desc">{{desc}}</p>
</div>
{{/each}}
</div>
</div>