2022-11-22 15:08:29 +00:00
|
|
|
{{- /* Here's where the customized version should be. */ -}}
|
2023-02-24 14:38:35 +00:00
|
|
|
{{ $highlighter := resources.Get "css/rouge.scss" | resources.ToCSS }}
|
|
|
|
{{- if hugo.IsProduction }}
|
|
|
|
{{ $highlighter = $highlighter | resources.Minify | resources.Fingerprint }}
|
|
|
|
{{ end }}
|
|
|
|
<link rel="stylesheet" href="{{ $highlighter.Permalink }}"/>
|
2022-11-22 23:22:30 +00:00
|
|
|
|
2023-03-23 06:28:41 +00:00
|
|
|
{{ $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>
|
|
|
|
|
2022-11-22 15:08:29 +00:00
|
|
|
{{- /* medium-zoom */ -}}
|
2022-11-23 12:29:08 +00:00
|
|
|
<script defer src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.7/dist/medium-zoom.min.js"></script>
|
2022-11-22 15:08:29 +00:00
|
|
|
<script>window.addEventListener('load', () => mediumZoom('article img', { 'background': 'rgba(0, 0, 0, 0.75)' }))</script>
|
|
|
|
|