mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 07:58:02 +00:00
12 lines
562 B
HTML
12 lines
562 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 }}"/>
|
|
|
|
{{- /* 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>
|
|
|