Skip to content

Commit

Permalink
Merge pull request #10 from RobbiNespu/restyled/default-showAllPostsA…
Browse files Browse the repository at this point in the history
…rchive

Restyle Allow default .Site.Params.showAllPostsArchive - from monkeyWzr#84
  • Loading branch information
RobbiNespu authored Nov 3, 2021
2 parents e47041a + f14db82 commit 1515d7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ <h2>{{ $pageYear }}</h2>
<div class="meta">
<time datetime="{{ time .Date }}" itemprop="datePublished">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02") }}</time>
</div>
<span>
<span>
<a class="" href="{{ .Permalink }}">{{ if .Title }} {{ .Title }} {{ else }} Untitled {{ end }}</a>
</span>
</li>
{{ end }}
</ul>
{{ if eq .Site.Params.showAllPostsArchive false }}
{{ if or (not .Site.Params.showAllPostsArchive) (eq .Site.Params.showAllPostsArchive false) }}
{{ partial "pagination.html" . }}
{{ end }}
</div>
{{ end }}
{{ end }}

0 comments on commit 1515d7c

Please sign in to comment.