refactors layouts for single and list, header, footer
This commit is contained in:
parent
e980cbedc8
commit
09d87e1da0
13 changed files with 14 additions and 36 deletions
8
layouts/partials/header/styles-highlight.html
Normal file
8
layouts/partials/header/styles-highlight.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{- if .Site.Params.highlightjs -}}
|
||||
<!-- 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 -}}
|
||||
<!-- Pygments Syntax -->
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.min.css">
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue