refactors layouts for head, footer and post
This commit is contained in:
parent
e8e4ba4c3b
commit
e980cbedc8
21 changed files with 93 additions and 61 deletions
|
@ -1,5 +1,5 @@
|
|||
{{- if .Site.Params.highlightjs -}}
|
||||
{{ "<!-- highlighting -->" | safeHTML }}
|
||||
<!-- highlightjs -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ .Site.Params.highlightjsstyle | default "default" }}.min.css">
|
||||
{{- end -}}
|
||||
{{ if .Site.Params.PygmentsUseClasses -}}
|
||||
|
|
3
layouts/partials/header/styles.html
Normal file
3
layouts/partials/header/styles.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ partial "header/highlight-css.html" . }}
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/hyde-hyde.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/print.min.css" media="print">
|
Loading…
Add table
Add a link
Reference in a new issue