Fix erroneous deletion

This commit is contained in:
fillotassi 2018-11-03 17:04:19 +01:00
parent 831096e133
commit b21a6bcf1f
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{{ partial "header.html" . }}
<main>
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
{{ partial "summary.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
</main>
{{ partial "sidebar.html" . }}
{{ partial "footer.html" . }}

View file

@ -0,0 +1,22 @@
{{ partial "header.html" . }}
<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" . }}
{{ partial "footer.html" . }}