Hugo go go go

Made a hugo setup from scratch to generate a static blog and portfolio webpage.
The old stuff may still be found in static/old.
This commit is contained in:
2022-03-29 22:52:36 +00:00
parent 1e418219e9
commit d64efb5fb4
60 changed files with 658 additions and 33 deletions

View File

@@ -0,0 +1,24 @@
{{ define "main" }}
<div class='row'>
<div class='col-md-2'>
<aside id="meta">
{{ .TableOfContents }}
</aside>
</div>
<div class='col-md-10'>
<article>
<header>
<h1>{{ .Title }}</h1>
</header>
{{ .Content }}
<ul class="contents">
{{ range .Pages }}
<li>
{{ partial "summary.html" . }}
</li>
{{ end }}
</ul>
</article>
</div>
</div>
{{ end }}