Add pencil icon to drafts
This commit is contained in:
parent
4c54e7a425
commit
6e0b0b6fc7
4 changed files with 15 additions and 4 deletions
|
@ -3,12 +3,12 @@
|
|||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<h1 class="post-title{{ if .Params.favorite }} favorite{{end}}">{{ i18n .Title }}</h1>
|
||||
<h1 class="post-title">{{ i18n .Title }}</h1>
|
||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{ range $pages }}
|
||||
<div class="post-short-list">
|
||||
<header>
|
||||
<h2 class="post-title{{ if .Params.favorite }} favorite{{end}}"><a href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
|
||||
<h2 class="post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
|
||||
</header>
|
||||
{{ partial "postInfo.html" . }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue