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:
21
layouts/blog/single.html
Normal file
21
layouts/blog/single.html
Normal 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 }}
|
Reference in New Issue
Block a user