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> </section>
</header> </header>
<main id="start-of-content">{{ block "main" . }}{{ .Content }}{{ end }}</main> <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> </body>
</html> </html>

View File

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

View File

@ -2,7 +2,7 @@
{{ .Content }} {{ .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> <ul>
{{ range (where .Site.RegularPages "Section" "blog") }} {{ range (where .Site.RegularPages "Section" "blog") }}
@ -12,29 +12,4 @@
{{ end }} {{ end }}
</ul> </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 }} {{ end }}

View File

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