* migrate bootstrap and flags to bundle * migrated main.css * migrate navbar.css and plyr * migrated mulish font and darkreader * migrated static/css/sections stylesheets * migrated list page and sidebar styles * migrated search.html ( nothing to add ) * migration single page styles * remove duplicated style tags * migrate notes. Deleted unused css in static * migrate 404 css to bundle * migrate katex styles * migrate embedpdf styles * migrated katex css --------- Co-authored-by: Aaron Qian <aaron@yeet.io>
11 lines
612 B
HTML
11 lines
612 B
HTML
{{/* setup Sass options */}}
|
|
{{- $options := partial "helpers/get-sass-options.html" -}}
|
|
{{- $options = $options | merge (dict "targetPath" "application.css") -}}
|
|
|
|
{{/* Compile hugo template `application.template.scss` into `application.scss`. */}}
|
|
{{- $template := resources.Get "styles/application.template.scss" -}}
|
|
{{- $scss := $template | resources.ExecuteAsTemplate "styles/application.scss" . -}}
|
|
|
|
{{/* Bundle application.scss */}}
|
|
{{- $bundle := $scss | resources.ToCSS $options | fingerprint -}}
|
|
<link rel="stylesheet" href="{{ $bundle.RelPermalink }}" integrity="{{ $bundle.Data.Integrity }}" />
|