Update index.html
This commit is contained in:
parent
eb317a3b30
commit
681796a4cc
@ -28,38 +28,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if .Params.tags }}
|
|
||||||
<span class="post-tags">
|
|
||||||
{{ range .Params.tags }}
|
|
||||||
#<a href="{{ (urlize (printf "tags/%s/" . )) | absLangURL }}">
|
|
||||||
{{- . -}}
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
</span>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if .Params.Cover }}
|
|
||||||
<img src="{{ .Params.Cover | absURL }}" class="post-cover" alt="{{ .Title | plainify | default " " }}" />
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<div class="post-content">
|
|
||||||
{{ if .Params.showFullContent }}
|
|
||||||
{{ .Content | markdownify }}
|
|
||||||
{{ else if .Description }}
|
|
||||||
{{ .Description | markdownify }}
|
|
||||||
{{ else }}
|
|
||||||
{{ if .Truncated }}
|
|
||||||
{{ .Summary }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ if not .Params.showFullContent }}
|
|
||||||
<div>
|
|
||||||
<a class="read-more button"
|
|
||||||
href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user