Reorganize styles a bit
This commit is contained in:
parent
9e5b8cfddd
commit
be432a8999
7 changed files with 90 additions and 78 deletions
|
@ -15,16 +15,17 @@
|
|||
<meta name="author" content="{{ site.Author.name }}" />
|
||||
{{ end }}
|
||||
|
||||
<link rel="preload stylesheet" as="style" href="/app.css" />
|
||||
<link rel="preload stylesheet" as="style" href="/styles/reset.css" />
|
||||
<link rel="preload stylesheet" as="style" href="/styles/app.css" />
|
||||
{{ if .IsHome }}
|
||||
<link rel="preload stylesheet" as="style" href="/home.css" />
|
||||
<link rel="preload stylesheet" as="style" href="/styles/home.css" />
|
||||
{{ end }}
|
||||
|
||||
{{ if and .IsPage (not site.Params.disableHLJS) }}
|
||||
<link rel="preload stylesheet" as="style" href="{{ `an-old-hope.min.css` | absURL }}" />
|
||||
<link rel="preload stylesheet" as="style" href="{{ `styles/an-old-hope.min.css` | absURL }}" />
|
||||
<script
|
||||
defer
|
||||
src="{{ `highlight.min.js` | absURL }}"
|
||||
src="{{ `scripts/highlight.min.js` | absURL }}"
|
||||
onload="hljs.initHighlightingOnLoad();"
|
||||
></script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue