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

21
layouts/blog/single.html Normal file
View File

@@ -0,0 +1,21 @@
{{ define "main" }}
<div class='row'>
<div class='col-md-2'>
<aside id="meta">
{{ if .IsPage }}
{{ partial "breadcrumb.html" . }}
<p>{{ i18n "readingTime" .ReadingTime }}</p>
{{ end }}
{{ .TableOfContents }}
</aside>
</div>
<div class='col-md-10'>
<article>
<header>
<h1>{{ .Title }}</h1>
</header>
{{ .Content }}
</article>
</div>
</div>
{{ end }}