personal-site/layouts/_default/single.html

26 lines
650 B
HTML
Raw Normal View History

2021-01-02 20:17:33 +00:00
{{ define "main" }}
<main>
2021-01-24 16:14:34 +00:00
<article class="blog-post">
<h1 class="blog-header">{{ .Title }}</h1>
<sub><small><time>{{ .Date.Format "02.01.2006 15:04" }}</time></small></sub>
2021-01-02 20:17:33 +00:00
<div>
{{ .Content }}
</div>
2021-06-06 20:07:55 +00:00
<!-- {{ with .Params.tags }} -->
<!-- <div> -->
<!-- <ul id="tags"> -->
<!-- {{ range . }} -->
<!-- <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li> -->
<!-- {{ end }} -->
<!-- </ul> -->
<!-- </div> -->
<!-- {{ end }} -->
2021-01-02 20:17:33 +00:00
{{ with .Site.DisqusShortname }}
<div>
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</article>
</main>
{{ end }}