revise styles for displaying draft posts
This commit is contained in:
parent
77613eb5ce
commit
9cd5abf95b
3 changed files with 16 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
|||
{{ range . }}
|
||||
<li>
|
||||
<span class="list__title--small">
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<a href="{{ .RelPermalink }}" {{if .Draft}}class="draft"{{end}}>{{ .Title }}</a>
|
||||
{{if not .Date.IsZero}}
|
||||
<time class="pull-right hidden-tablet">{{.Date.Format ("Jan 02 '06")}}</time>
|
||||
{{end}}
|
||||
</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue