hugo-theme-hyde-hyde/layouts/partials/header/highlight-css.html

9 lines
398 B
HTML
Raw Normal View History

2018-07-16 03:22:00 +00:00
{{- if .Site.Params.highlightjs -}}
{{ "<!-- highlighting -->" | safeHTML }}
2018-07-16 03:22:00 +00:00
<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 }}