mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 19:57:57 +00:00
18 lines
846 B
HTML
18 lines
846 B
HTML
{{- /* Here's where the customized version should be. */ -}}
|
|
{{ $highlighter := resources.Get "css/rouge.scss" | resources.ToCSS }}
|
|
{{- if hugo.IsProduction }}
|
|
{{ $highlighter = $highlighter | resources.Minify | resources.Fingerprint }}
|
|
{{ end }}
|
|
<link rel="stylesheet" href="{{ $highlighter.Permalink }}"/>
|
|
|
|
{{ $asciidoctorTabs := resources.Get "css/asciidoctor-tabs.css" | resources.ToCSS }}
|
|
<link rel="stylesheet" href="{{ $asciidoctorTabs.Permalink }}"/>
|
|
|
|
{{ $asciidoctorTabsJS := resources.Get "js/asciidoctor-tabs.js" }}
|
|
<script defer src="{{ $asciidoctorTabsJS.Permalink }}"></script>
|
|
|
|
{{- /* medium-zoom */ -}}
|
|
<script defer src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.7/dist/medium-zoom.min.js"></script>
|
|
<script>window.addEventListener('load', () => mediumZoom('article img', { 'background': 'rgba(0, 0, 0, 0.75)' }))</script>
|
|
|