Update index.html
This commit is contained in:
parent
8a0f5253ab
commit
bf13f70e49
1 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
||||
{{range first (default 4 .Site.Params.recentMax) (where $pages "Section" "ne" .Site.Params.microBlogSection)}}
|
||||
<div class="list-item">
|
||||
<a class="entry-title" href="{{ .URL }}">{{ .Title }}</a>
|
||||
<a class="entry-title" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{$page := .}}
|
||||
{{with .Description}}
|
||||
<p>{{.}}</p>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<div class="post-content">
|
||||
{{.Content}}
|
||||
</div>
|
||||
<div class="meta post-footer"> <span>{{.Date.Format "Jan 2 2006 03:04 UTC-07"}}</span> <a href="{{.URL}}"><i class="fas fa-link"></i> link</a></div>
|
||||
<div class="meta post-footer"> <span>{{.Date.Format "Jan 2 2006 03:04 UTC-07"}}</span> <a href="{{.Permalink}}"><i class="fas fa-link"></i> link</a></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ range where (where site.RegularPages "Type" "in" site.Params.microBlogSection) "Params.pinned" "ne" true}}
|
||||
|
@ -49,10 +49,10 @@
|
|||
<div class="post-content">
|
||||
{{.Content}}
|
||||
</div>
|
||||
<div class="meta post-footer"> <span>{{.Date.Format "Jan 2 2006 03:04 UTC-07"}}</span> <a href="{{.URL}}"><i class="fas fa-link"></i> link</a></div>
|
||||
<div class="meta post-footer"> <span>{{.Date.Format "Jan 2 2006 03:04 UTC-07"}}</span> <a href="{{.Permalink}}"><i class="fas fa-link"></i> link</a></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end }}
|
||||
{{end }}
|
||||
|
|
Loading…
Reference in a new issue