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 }}
|
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
||||||
{{range first (default 4 .Site.Params.recentMax) (where $pages "Section" "ne" .Site.Params.microBlogSection)}}
|
{{range first (default 4 .Site.Params.recentMax) (where $pages "Section" "ne" .Site.Params.microBlogSection)}}
|
||||||
<div class="list-item">
|
<div class="list-item">
|
||||||
<a class="entry-title" href="{{ .URL }}">{{ .Title }}</a>
|
<a class="entry-title" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
{{$page := .}}
|
{{$page := .}}
|
||||||
{{with .Description}}
|
{{with .Description}}
|
||||||
<p>{{.}}</p>
|
<p>{{.}}</p>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
</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>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range where (where site.RegularPages "Type" "in" site.Params.microBlogSection) "Params.pinned" "ne" true}}
|
{{ range where (where site.RegularPages "Type" "in" site.Params.microBlogSection) "Params.pinned" "ne" true}}
|
||||||
|
@ -49,10 +49,10 @@
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
</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>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end }}
|
{{end }}
|
||||||
|
|
Loading…
Reference in a new issue