remove custom_main.html
from partial
This commit is contained in:
parent
fb2c8f7c18
commit
66d7b5de19
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
||||||
{{ if .IsHome }}
|
|
||||||
{{ $pages := first .Site.Params.latestPostsCount (where .Site.RegularPages "Section" "blog") }}
|
|
||||||
<ul class="blog-posts">
|
|
||||||
{{ range $pages }}
|
|
||||||
<li>
|
|
||||||
<span>
|
|
||||||
<i>
|
|
||||||
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
|
||||||
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
|
|
||||||
</time>
|
|
||||||
</i>
|
|
||||||
</span>
|
|
||||||
{{ if .Params.link }}
|
|
||||||
<a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a>
|
|
||||||
{{ else }}
|
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
||||||
{{ end }}
|
|
||||||
</li>
|
|
||||||
{{ else }}
|
|
||||||
<li>
|
|
||||||
{{ i18n "no-posts" }}
|
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
||||||
{{ end }}
|
|
Loading…
Add table
Add a link
Reference in a new issue