10 lines
445 B
HTML
10 lines
445 B
HTML
{{ if .Site.Params.highlightjs }}
|
|
{{ if or (not (isset .Params "highlight")) (.Params.highlight) }}
|
|
<!-- highlightjs -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/{{ .Site.Params.highlightjsstyle | default "default" }}.min.css">
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ if .Site.Params.PygmentsUseClasses }}
|
|
<!-- Pygments Syntax -->
|
|
<link rel="stylesheet" href="{{ "css/syntax.min.css" | relURL }}">
|
|
{{ end }}
|