This commit is contained in:
Daniel Flanagan 2022-11-22 14:58:48 -06:00
parent 27b382ffb9
commit 155b7d5c78
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 38 additions and 29 deletions

View file

@ -42,6 +42,34 @@
</section>
</header>
<main id="start-of-content">{{ block "main" . }}{{ .Content }}{{ end }}</main>
<footer style="padding-bottom: 5em"></footer>
<footer>
<h2 id="footer-links">External Links</h2>
<ul class="horizontal-blocks">
<li>
<a href="https://discord.gg/jUCXCYp">Discord</a>
</li>
<li>
<a href="mailto:daniel@lyte.dev">Email</a>
</li>
<li>
<a href="https://git.lyte.dev/lytedev">git.lyte.dev</a>
</li>
<li>
<a href="https://github.com/lytedev">GitHub</a>
</li>
</ul>
<h2 id="footer-meta">Meta</h2>
<ul class="horizontal-blocks">
<li>
<a href="/privacy">Privacy Policy</a>
</li>
<li>
<a href="https://git.lyte.dev/lytedev/site.lyte.dev">Site Code</a>
</li>
</ul>
</footer>
</body>
</html>

View file

@ -3,7 +3,7 @@
{{ end }}
{{ define "main" }}
<h2>{{ .Title }}</h2>
<h2 id="{{ .Title }}">{{ .Title }}</h2>
{{ with .Lastmod }}
<p>
Posted on {{ dateFormat "Jan 2 2006" . }}

View file

@ -2,7 +2,7 @@
{{ .Content }}
<h2>Latest Posts (<a target="_blank" href="/blog/index.xml">RSS</a>)</h2>
<h2 id="latest-posts">Latest Posts (<a target="_blank" href="/blog/index.xml">RSS</a>)</h2>
<ul>
{{ range (where .Site.RegularPages "Section" "blog") }}
@ -12,29 +12,4 @@
{{ end }}
</ul>
<h2>External Links</h2>
<ul class="horizontal-blocks">
<li>
<a href="https://discord.gg/jUCXCYp">Discord</a>
</li>
<li>
<a href="mailto:daniel@lyte.dev">Email</a>
</li>
<li>
<a href="https://git.lyte.dev/lytedev">git.lyte.dev</a>
</li>
</ul>
<h2>Meta</h2>
<ul class="horizontal-blocks">
<li>
<a href="/privacy">Privacy Policy</a>
</li>
<li>
<a href="https://git.lyte.dev/lytedev/site.lyte.dev">Site Code</a>
</li>
</ul>
{{ end }}

View file

@ -16,9 +16,15 @@ html,body
font-family var(--ff)
font-weight 400
font-size 1rem
&> footer
padding-top 5em
padding-bottom 5em
&> main
padding 0.5em
line-height 1.6em
&> main, > footer
.highlight
max-width 100vw
@ -174,7 +180,7 @@ form
body.align-center
.hide-in-align-center { display: none }
.with-align { text-align: center }
&> main
&> main, > footer
h1, h2, h3, h4, h5, h6
line-height 1.5em
text-align left