revises header, feeds, and highlight templates
This commit is contained in:
parent
05b2b88987
commit
5e5939c343
3 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,5 @@
|
|||
{{- if .RSSLink -}}
|
||||
<!-- RSS -->
|
||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{{- if .Site.Params.highlightjs -}}
|
||||
{{ "<!-- highlighting -->" | safeHTML }}
|
||||
<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 }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue