personal-site/layouts/_default/single.html
2021-11-13 20:22:02 +03:00

35 lines
844 B
HTML

{{ define "main" }}
<main>
<style>
audio {height:200px;
width:300px;
background-image:url("{{.Params.image_url}}");
background-position: center;
background-size: 550px 425px;
border-radius: 10px;
}
</style>
<article class="blog-post">
<h1 class="blog-header">{{ .Title }}</h1>
<sub><small><time>{{ .Date.Format "02.01.2006 15:04" }}</time></small></sub>
<div>
{{ .Content }}
</div>
<!-- {{ with .Params.tags }} -->
<!-- <div> -->
<!-- <ul id="tags"> -->
<!-- {{ range . }} -->
<!-- <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li> -->
<!-- {{ end }} -->
<!-- </ul> -->
<!-- </div> -->
<!-- {{ end }} -->
{{ with .Site.DisqusShortname }}
<div>
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</article>
</main>
{{ end }}