cookbook/themes/hugo-bulma-cookbook/layouts/_default/single.html

44 lines
1.3 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="{{ .Page.Language | default "en" }}">
<head>
{{ partial "header.html"}}
{{ partial "header.meta.single.html" .}}
{{ partial "script.menu.html"}}
<title>{{ .Title }}</title>
</head>
<body>
{{ partial "navbar" . }}
{{ partial "hero.html" . }}
<div class="container">
<br>
<div class="columns">
<div class="column">
<img src="{{ .Site.BaseURL }}{{.File.Dir}}thumbnail.png" alt="Missing thumbnail :(" />
</div>
<div class="column">
<div class="content">
{{ .Content }}
</div>
<h4 class="subtitle" id="date"> Posted: {{ .Date.Format "Mon Jan 2, 2006" }} </h4>
<h5 class="subtitle" id="wordcount"> Word Count: {{ .WordCount }} Words </h5>
<br>
<h2 class="title">Tags</h2>
<div class="buttons">
{{ with .Params.tags }}
{{ range . }}
<button class="button">
<a href="{{ " tags" | absURL }}/{{ . | urlize }}">{{ . }}</a>
</button>
{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
</body>