Add development styles and DRAFT tags; update layout of list and single templates
This commit is contained in:
parent
9d428d8913
commit
7cf5efa991
5 changed files with 54 additions and 28 deletions
3
layouts/partials/development/draft_tag.html
Normal file
3
layouts/partials/development/draft_tag.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ if in (.Site.BaseURL | string) "localhost" }}
|
||||
{{ if .IsDraft }}<span class="draft">draft</span>{{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue