<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}
-{{ with $style }}
-<style>
- {{ partial . $style | safeCSS }}
-</style>
-{{ end }}
+{{ block "custom_css" . }}{{ end }}
+++ /dev/null
-.terms-tags li {
- display: inline-block;
- margin: 10px;
- font-weight: 500;
-}
-
-.terms-tags a {
- display: block;
- padding: 3px 10px;
- background: var(--tertiary);
- border-radius: 6px;
- transition: transform 0.1s;
-}
-
-.terms-tags a:active {
- background: var(--tertiary);
- transform: scale(0.96);
-}
-{{- define "main" }}
+{{- define "custom_css" }}
+<style>
+.terms-tags li {
+ display: inline-block;
+ margin: 10px;
+ font-weight: 500;
+}
+
+.terms-tags a {
+ display: block;
+ padding: 3px 10px;
+ background: var(--tertiary);
+ border-radius: 6px;
+ transition: transform 0.1s;
+}
-{{ $style := . }}
-{{ if not .Params.style }}
- {{ $style = merge . (dict "style" "styles/default.css") }}
-{{ end }}
+.terms-tags a:active {
+ background: var(--tertiary);
+ transform: scale(0.96);
+}
+</style>
+{{- end }}
+{{- define "main" }}
{{- if .Title }}
<header class="page-header">