refactor as hugo site

This commit is contained in:
xenofem 2020-05-29 16:58:33 -04:00
parent 89736633b5
commit 1e20792a0d
37 changed files with 474 additions and 409 deletions

29
layouts/index.html Normal file
View file

@ -0,0 +1,29 @@
{{ define "styles" }}
<style>
#footer {
margin-top: 3rem;
}
#footer svg {
width: 40px;
height: 40px;
}
#footer h4 {
margin: 2px;
}
</style>
{{ end }}
{{ define "main" }}
<div id="header">
<h1>mindjack</h1>
</div>
<h2><a href="follow/">follow</a></h2>
<h2><a href="colors/">colors</a></h2>
<h2><a href="loading/">loading</a></h2>
<div id="footer">
<h4>a project by <a href="https://xeno.science">xenofem</a></h4>
<h4><a href="https://xeno.science">{{ partial "xeno.svg" . }}</a></h4>
<h4><a href="https://git.xeno.science/xenofem/mindjack">source</a></h4>
</div>
{{ end }}