website/layouts/blog/single.html

36 lines
669 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
<div class="blog container">
<div class="row align-center">
<div class="col shrink">
<img src="{{ .Params.img }}" width="88" height="88">
</div>
<div class="col">
<h1>{{ .Params.title }}</h1>
</div>
</div>
<div class="row align-center">
<div class="col xs-12 mt-4">
by <a href="/about">{{ .Params.author }}</a>
<span style="margin: 0 1rem">|</span>
{{ .Params.pdate }}
</div>
</div>
<div class="row">
<div class="col xs-12 mt-4">
<hr>
</div>
</div>
<div class="row">
<div class="col">
<div class="article">
{{ .Content }}
</div>
</div>
</div>
</div>
{{ end }}