Footy
This commit is contained in:
parent
27b382ffb9
commit
155b7d5c78
4 changed files with 38 additions and 29 deletions
|
@ -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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
<h2 id="{{ .Title }}">{{ .Title }}</h2>
|
||||
{{ with .Lastmod }}
|
||||
<p>
|
||||
Posted on {{ dateFormat "Jan 2 2006" . }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue