kindrobot.ca/layouts/index.html

43 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2022-05-16 23:55:08 +00:00
{{ define "title"}}
{{.Title}}
{{ end }}
{{ define "main" }}
<main aria-role="main">
<header class="homepage-header">
<h1>{{.Title}}</h1>
{{ with .Params.subtitle }}
<span class="subtitle">{{.}}</span>
{{ end }}
</header>
<div class="homepage-content">
{{.Content}}
</div>
<hr/>
2022-05-16 23:55:08 +00:00
<div>
2022-05-18 02:21:33 +00:00
<ul class="homepage-posts">
{{ range first 10 .Site.RegularPages }}
2022-05-18 02:21:33 +00:00
<li>
<div class="post">
<a href="{{ .Permalink }}">{{ .Title }}</a> <span class="date">{{ .Date.Format "02 Jan 2006" }}</span>
</div>
</li>
{{ end }}
</ul>
2022-05-16 23:55:08 +00:00
</div>
<hr/>
<div id="tilde_ring" style="background-color:slategray; text-align:center; border-radius:10px;">
<p><em>a member of the tilde.town ~ring</em></p>
<p> <a id="tilde_town_ring" class="tilde_ring_link" href="">random ~user</a>
| <a id="random_tildebox" class="tilde_ring_link" href="">random ~box</a>
| <a id="tilde_town_ring_next" class="tilde_ring_link" href="">next ~user</a> </p>
<p><a href="https://tilde.town/~um/tilde_ring/join.html">join</a></p>
<script type="text/javascript">
var ringjs = document.createElement('script')
ringjs.src = document.location.protocol + '//tilde.town/~um/tilde_ring/tilde_ring.js'
document.getElementById('tilde_ring').appendChild(ringjs)
</script>
</div>
</main>
{{ end }}