Use default content list for tags creation
This commit is contained in:
parent
b8c5b01243
commit
e1bdecb23f
|
@ -6,24 +6,39 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="article-card-container">
|
<div class="article-card-container">
|
||||||
{{ range.Pages }}
|
{{ range.Pages }}
|
||||||
<a class="article-card" href="{{ .RelPermalink }}">
|
<div class="article-card">
|
||||||
<div class="article-card-info">
|
<div class="article-card-info">
|
||||||
<div class="article-card-thumb">
|
<div class="article-card-thumb">
|
||||||
|
<a href="{{ .RelPermalink }}">
|
||||||
<img
|
<img
|
||||||
class="article-card-thumbnail"
|
class="article-card-thumbnail"
|
||||||
src="{{ .Params.header_image }}"
|
src="{{ .Params.header_image }}"
|
||||||
/>
|
/>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="article-card-summary">
|
<div class="article-card-summary">
|
||||||
|
{{ template "partials/get-tags.html" . }}
|
||||||
|
<a href="{{ .RelPermalink }}">
|
||||||
<h3><strong>{{ .Title | safeHTML }}</strong></h3>
|
<h3><strong>{{ .Title | safeHTML }}</strong></h3>
|
||||||
<p>{{ .Summary | safeHTML }}</p>
|
</a>
|
||||||
|
<p>
|
||||||
|
{{ .Summary | safeHTML }}
|
||||||
|
<i class="reading-time"
|
||||||
|
>({{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end
|
||||||
|
}})</i
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<div class="article-card-author-row">
|
<div class="article-card-author-row">
|
||||||
|
{{ with .Params.author }}
|
||||||
|
<strong><p class="author-name">{{ .name }}</p></strong>
|
||||||
|
{{ end }}
|
||||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue