mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Post refactor to hold everything its own (#88)
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
f834f18de2
commit
4426c889fd
@@ -2,5 +2,22 @@
|
||||
{{ .Title }} · {{ .Site.Title }}
|
||||
{{ end }}
|
||||
{{ define "content" }}
|
||||
{{ partial "post.html" . }}
|
||||
<section class="container post">
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<h2 class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</h2>
|
||||
</header>
|
||||
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{{ partial "posts/disqus" . }}
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{{ partial "posts/math" . }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user