mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-01 07:18:25 -04:00
Update layouts
This commit is contained in:
parent
165ad9b6fa
commit
68a57bbb47
4 changed files with 18 additions and 24 deletions
|
@ -8,7 +8,7 @@
|
|||
</header>
|
||||
{{ end }}
|
||||
|
||||
{{ $paginator := .Paginate (where .Pages ".Params.type" "!=" "page") }}
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
||||
|
||||
{{ if gt $paginator.TotalPages 0 }}
|
||||
{{ range $index, $page := $paginator.Pages }}
|
||||
|
@ -20,7 +20,7 @@
|
|||
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
|
||||
</section>
|
||||
<footer class="entry-footer">
|
||||
<time>{{ .Date.Format (.Site.Params.dateFormat | default "2006.1.2") }}</time>
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
</footer>
|
||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue