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

11 lines
445 B
HTML
Raw Normal View History

{{ if .Site.Params.highlightjs }}
{{ if or (not (isset .Params "highlight")) (.Params.highlight) }}
<!-- highlightjs -->
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 }}
{{ end }}
{{ if .Site.Params.PygmentsUseClasses }}
2018-07-16 03:22:00 +00:00
<!-- Pygments Syntax -->
2018-10-31 16:31:01 +00:00
<link rel="stylesheet" href="{{ "css/syntax.min.css" | relURL }}">
{{ end }}