Adjust notes in list template.
This commit is contained in:
@@ -16,9 +16,9 @@
|
|||||||
<div class="post-year">{{ .Key }}</div>
|
<div class="post-year">{{ .Key }}</div>
|
||||||
|
|
||||||
<ul class="posts-list">
|
<ul class="posts-list">
|
||||||
{{ range (where .Pages ".Params.hidden" "!=" "true") }}
|
{{ range (where .Pages ".Params.hidden" "!=" "true") }}
|
||||||
|
|
||||||
<!-- tbd: if marked Hidden or Release is in the future, skip. -->
|
<!-- TBD: If marked Hidden or Release date is in the future, skip. -->
|
||||||
|
|
||||||
<li class="post-item">
|
<li class="post-item">
|
||||||
<a href="{{.Permalink}}" class="post-item-inner">
|
<a href="{{.Permalink}}" class="post-item-inner">
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
<span class="post-day">
|
<span class="post-day">
|
||||||
<!-- TBD: Show the PublishDate attribute if later than Date. -->
|
<!-- TBD: Show the Release attribute if later than Date. -->
|
||||||
{{ if .Site.Params.dateformShort }}
|
{{ if .Site.Params.dateformShort }}
|
||||||
{{ time.Format .Site.Params.dateformShort .Date }}
|
{{ time.Format .Site.Params.dateformShort .Date }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@@ -82,6 +82,7 @@
|
|||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
{{ partial "pagination-list.html" . }}
|
{{ partial "pagination-list.html" . }}
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user