2022-02-06 12:51:54 +00:00
|
|
|
{{- $assetBusting := not .Site.Params.disableAssetsBusting }}
|
|
|
|
<link href="{{"css/nucleus.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
|
|
|
<link href="{{"css/fontawesome-all.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
|
|
|
<link href="{{"css/featherlight.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
|
|
|
<link href="{{"css/perfect-scrollbar.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
|
|
|
<link href="{{"css/auto-complete.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
|
|
|
<link href="{{"css/theme.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
2022-02-21 22:11:04 +00:00
|
|
|
{{- $themevariants := slice | append (.Site.Params.themeVariant | default "relearn-light" ) }}
|
2022-02-13 00:53:23 +00:00
|
|
|
{{- with index $themevariants 0 }}
|
|
|
|
<link id="variant-style" href="{{(printf "css/theme-%s.css" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
2022-02-06 12:51:54 +00:00
|
|
|
{{- end }}
|
2022-02-20 23:35:50 +00:00
|
|
|
<link href="{{"css/variant.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
2022-02-17 07:49:17 +00:00
|
|
|
<link href="{{"css/theme-relearn-light.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet" media="print">
|
2022-02-06 12:51:54 +00:00
|
|
|
<link href="{{"css/print.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet" media="print">
|
|
|
|
{{- range .Site.Params.custom_css }}
|
|
|
|
<link href="{{(printf "%s" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
|
|
|
|
{{- end }}
|
2022-02-13 11:49:45 +00:00
|
|
|
<style>
|
|
|
|
{{- if .Site.Params.disableInlineCopyToClipBoard }}
|
2022-02-17 18:21:20 +00:00
|
|
|
:not(pre) > code.copy-to-clipboard-code + span.copy-to-clipboard-button {
|
2022-02-13 11:49:45 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2022-02-17 18:21:20 +00:00
|
|
|
:not(pre) > code.copy-to-clipboard-code {
|
2022-02-13 11:49:45 +00:00
|
|
|
border-bottom-right-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-right-width: 1px;
|
|
|
|
}
|
|
|
|
{{- end }}
|
|
|
|
</style>
|
2022-02-20 22:58:16 +00:00
|
|
|
<script src="{{"js/variant.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
2022-02-13 01:11:27 +00:00
|
|
|
<script>
|
2022-02-20 22:58:16 +00:00
|
|
|
{{- $quotedthemevariants := slice }}
|
|
|
|
{{- range $themevariants }}
|
|
|
|
{{- $quotedthemevariants = $quotedthemevariants | append (printf "\"%s\"" .) }}
|
|
|
|
{{- end }}
|
|
|
|
variants.init( [ {{ delimit $quotedthemevariants ", " | safeJS }} ] );
|
2022-02-13 01:11:27 +00:00
|
|
|
</script>
|
2022-02-06 12:51:54 +00:00
|
|
|
<script src="{{"js/jquery.min.js"| relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
|