Erster Entwurf
This commit is contained in:
commit
b5d27b3fc9
66 changed files with 11671 additions and 0 deletions
27
themes/mainroad/layouts/_default/summary.html
Normal file
27
themes/mainroad/layouts/_default/summary.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<article class="list__item post">
|
||||
{{- if .Params.thumbnail }}
|
||||
<figure class="list__thumbnail">
|
||||
<a href="{{ .Permalink }}">
|
||||
<img src="{{ .Params.thumbnail | relURL }}" alt="{{ .Title }}" />
|
||||
</a>
|
||||
</figure>
|
||||
{{- end }}
|
||||
<div class="list__content clearfix">
|
||||
<header class="list__header">
|
||||
<h3 class="list__title post__title ">
|
||||
<a href="{{ .RelPermalink }}" rel="bookmark">{{ .Title }}</a>
|
||||
</h3>
|
||||
{{- if or (not .Date.IsZero) .Params.categories }}<div class="list__meta meta">{{ partial "post_meta.html" . }}</div>{{- end }}
|
||||
</header>
|
||||
<div class="list__excerpt post__content">
|
||||
{{ .Summary }}
|
||||
</div>
|
||||
{{- if .Site.Params.readmore }}
|
||||
{{- if .Truncated }}
|
||||
<div class="list__footer">
|
||||
<a class="list__footer-readmore btn" href="{{ .RelPermalink }}">{{ T "read_more" }}</a>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue