c8bf719e3d
* Define the Base Template (baseof.html) * Use relative URL link to style.css file * Move summary.html from partials to _default layouts * Fix Hugo warnings (needs Hugo 0.20 or newer) * Fix Paginator rule on main page. Fix #8 * Latest posts: show pages from mainSections only * Bump Hugo 0.19 -> 0.20 * Formatting
22 lines
457 B
HTML
22 lines
457 B
HTML
{{ define "main" }}
|
|
<main>
|
|
<article>
|
|
<h1>{{ .Title }}</h1>
|
|
<time>{{ .Date.Format "02.01.2006 15:04" }}</time>
|
|
<div>
|
|
{{ .Content }}
|
|
</div>
|
|
<div>
|
|
<ul id="tags">
|
|
{{ range .Params.tags }}
|
|
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
{{ template "_internal/disqus.html" . }}
|
|
</div>
|
|
</article>
|
|
</main>
|
|
{{ partial "sidebar.html" . }}
|
|
{{ end }}
|