Erster Entwurf
This commit is contained in:
commit
b5d27b3fc9
66 changed files with 11671 additions and 0 deletions
26
themes/mainroad/layouts/_default/single.html
Normal file
26
themes/mainroad/layouts/_default/single.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<main class="main content">
|
||||
<article class="post">
|
||||
<header class="post__header">
|
||||
<h1 class="post__title">{{ .Title }}</h1>
|
||||
{{- if or (not .Date.IsZero) .Params.categories }}<div class="post__meta meta">{{ partial "post_meta.html" . }}</div>{{ end }}
|
||||
</header>
|
||||
{{- if .Params.thumbnail }}
|
||||
<figure class="post__thumbnail">
|
||||
<img src="{{ .Params.thumbnail | relURL }}" alt="{{ .Title }}">
|
||||
</figure>
|
||||
{{- end }}
|
||||
{{- partial "post_toc.html" . -}}
|
||||
<div class="post__content clearfix">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "post_tags.html" . }}
|
||||
</article>
|
||||
{{ partial "authorbox.html" . }}
|
||||
{{ partial "post_nav.html" . }}
|
||||
{{ partial "comments.html" . }}
|
||||
</main>
|
||||
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ partial "footer.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue