Add favorite posts. Close #19
This commit is contained in:
parent
518f134ac2
commit
82727c8e8a
13 changed files with 55 additions and 88 deletions
|
@ -5,24 +5,7 @@
|
|||
|
||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{ range (.Paginate $pages).Pages }}
|
||||
<article class="post-list">
|
||||
<header>
|
||||
<h1>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<div class="content post-summary">
|
||||
{{ .Summary | safeHTML }}
|
||||
</div>
|
||||
<!-- {{ if .Truncated }}
|
||||
<div class="read-more">
|
||||
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
|
||||
</div>
|
||||
{{ end }} -->
|
||||
|
||||
{{ partial "articleInfoFull.html" . }}
|
||||
</article>
|
||||
{{ partial "postSummary.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue