Commits back the index.html in layouts from the private to public branch
This commit is contained in:
parent
da0fdbc682
commit
55d7de3e96
1 changed files with 5 additions and 3 deletions
|
@ -4,9 +4,10 @@
|
|||
|
||||
{{ define "content" -}}
|
||||
<div class="posts">
|
||||
{{ range where .Data.Pages "Type" "posts" }}
|
||||
<div class="post">
|
||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
{{ range (where .Data.Pages "Type" "!=" "about").GroupBy "Section" }}
|
||||
{{ range .Pages }}
|
||||
<div class="post">
|
||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }}<sup><i class="fas fa-pen-square fa-xs"></i></sup>{{ end }}</h1>
|
||||
<span class="post-date">
|
||||
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
|
||||
</span>
|
||||
|
@ -17,6 +18,7 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue