Slightly tweak how site CSS files are imported in <head>
This commit is contained in:
parent
a897f476e6
commit
7b9cb6bf73
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@
|
|||
<meta name="author" content="{{ site.Author.name }}">
|
||||
{{ end }}
|
||||
|
||||
<link rel="preload stylesheet" as="style" href="/styles/main.css">
|
||||
<link rel="preload stylesheet" as="style" href="{{ `/styles/main.css` | absURL }}">
|
||||
{{ if or (eq .Kind "list") (eq .Kind "term") }}
|
||||
<link rel="preload stylesheet" as="style" href="/styles/list.css">
|
||||
<link rel="preload stylesheet" as="style" href="{{ `styles/list.css` | absURL }}">
|
||||
{{ end }}
|
||||
{{ if and .IsPage (.Page.Scratch.Get "includes_railroad_diagram") }}
|
||||
<link rel="preload stylesheet" as="style" href="{{ `styles/railroad.css` | absURL }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue