Add development styles and DRAFT tags; update layout of list and single templates

This commit is contained in:
Eryn Wells 2021-12-26 13:04:55 -07:00
parent 9d428d8913
commit 7cf5efa991
5 changed files with 54 additions and 28 deletions

View file

@ -19,6 +19,9 @@
{{ range $stylesheet := .Resources.Match "*.css" }}
<link rel="preload stylesheet" as="style" href="{{ $stylesheet.Permalink }}">
{{ end }}
{{ if in (.Site.BaseURL | string) "localhost" }}
<link rel="preload stylesheet" as="style" href="/styles/development.css">
{{ end }}
{{ if and .IsPage (not site.Params.disableHLJS) }}
<link rel="preload stylesheet" as="style" href="{{ `styles/an-old-hope.min.css` | absURL }}" />