diff --git a/flake.lock b/flake.lock
deleted file mode 100644
index 1fd6ae2..0000000
--- a/flake.lock
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "nodes": {
- "nixpkgs": {
- "locked": {
- "lastModified": 1739736696,
- "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=",
- "owner": "NixOS",
- "repo": "nixpkgs",
- "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f",
- "type": "github"
- },
- "original": {
- "owner": "NixOS",
- "ref": "nixos-unstable",
- "repo": "nixpkgs",
- "type": "github"
- }
- },
- "root": {
- "inputs": {
- "nixpkgs": "nixpkgs"
- }
- }
- },
- "root": "root",
- "version": 7
-}
diff --git a/flake.nix b/flake.nix
deleted file mode 100644
index 5aca172..0000000
--- a/flake.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
-
- outputs = {
- nixpkgs,
- self,
- }: let
- pkgs = nixpkgs;
-
- mkAllSystems = genAttrs [
- "aarch64-darwin"
- "aarch64-linux"
- "i686-linux"
- "x86_64-darwin"
- "x86_64-linux"
- ];
-
- inherit (lib) genAttrs;
- inherit (pkgs) alejandra lib;
- in {
- formatter = mkAllSystems (system: alejandra);
-
- devShells = mkAllSystems (system: let
- pkgs = nixpkgs.legacyPackages.${system};
-
- inherit (pkgs) mkShell;
- in {
- default = mkShell {
- nativeBuildInputs = [pkgs.hugo];
- shellHook = "hugo server";
- };
- });
- };
-}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 94125af..7d40504 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,16 +1,16 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/default.scss" | css.Sass (dict "outputStyle" "compressed") -}}
-
+ {{- $style := resources.Get "/scss/default.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
+
{{- end -}}
{{- define "main" }}
-
- {{ .Title }}
- {{ .Content }}
- {{- range .Pages }}
- {{ .Title }} {{ .Date | time.Format ":date_long" }}
- {{- end }}
-
+
+ {{ .Title }}
+ {{ .Content }}
+ {{- range .Pages }}
+ {{ .Title }} {{ .Date | time.Format ":date_long" }}
+ {{- end }}
+
-{{- end }}
\ No newline at end of file
+{{- end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5d330ac..e4c8157 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,31 +1,31 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/default.scss" | css.Sass (dict "outputStyle" "compressed") -}}
-
+ {{- $style := resources.Get "/scss/default.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
+
{{- end -}}
{{- define "main" }}
-
- {{- if eq .Params.type "post" }}
- {{ .Date | time.Format "2. January 2006" }}
- {{- end }}
- {{ .Title }}
- {{ .Content -}}
-
-
-{{- end }}
\ No newline at end of file
+
+ {{- if eq .Params.type "post" }}
+ {{ .Date | time.Format "2. January 2006" }}
+ {{- end }}
+ {{ .Title }}
+ {{ .Content -}}
+
+
+{{- end }}
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 90c3431..d111df3 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -1,6 +1,6 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/blog.scss" | css.Sass (dict "outputStyle" "compressed") -}}
-
+ {{- $style := resources.Get "/scss/blog.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
+
{{- end -}}
{{- define "header" }}
@@ -12,19 +12,19 @@
{{- define "main" }}
-
-
+
+
{{ range (where .Site.RegularPages "Section" "blog") }}
-
- {{ .Title }}
-
-
+
+ {{ .Title }}
+
+
{{ end }}
-
+
+
+
-
-
-{{- end }}
\ No newline at end of file
+{{- end }}
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 2f2f22b..ec43732 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -1,5 +1,5 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/blog.scss" | css.Sass (dict "outputStyle" "compressed") -}}
+{{- $style := resources.Get "/scss/blog.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
{{- end -}}
diff --git a/layouts/errorpages/list.html b/layouts/errorpages/list.html
index 126038e..308c258 100644
--- a/layouts/errorpages/list.html
+++ b/layouts/errorpages/list.html
@@ -1,11 +1,11 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/default.scss" | css.Sass (dict "outputStyle" "compressed") -}}
-
+ {{- $style := resources.Get "/scss/default.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
+
{{- end -}}
{{- define "main" }}
-
- {{ .Params.heading }}
- {{ .Params.subheading}}
-
-{{- end }}
\ No newline at end of file
+
+ {{ .Params.heading }}
+ {{ .Params.subheading}}
+
+{{- end }}
diff --git a/layouts/errorpages/single.html b/layouts/errorpages/single.html
index 126038e..308c258 100644
--- a/layouts/errorpages/single.html
+++ b/layouts/errorpages/single.html
@@ -1,11 +1,11 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/default.scss" | css.Sass (dict "outputStyle" "compressed") -}}
-
+ {{- $style := resources.Get "/scss/default.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
+
{{- end -}}
{{- define "main" }}
-
- {{ .Params.heading }}
- {{ .Params.subheading}}
-
-{{- end }}
\ No newline at end of file
+
+ {{ .Params.heading }}
+ {{ .Params.subheading}}
+
+{{- end }}
diff --git a/layouts/index.html b/layouts/index.html
index 83137e1..198379d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{- define "stylesheet" -}}
-{{- $style := resources.Get "/scss/home.scss" | css.Sass (dict "outputStyle" "compressed") -}}
-
+ {{- $style := resources.Get "/scss/home.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
+
{{- end -}}
{{- define "header" }}
@@ -12,15 +12,15 @@
{{ end }}
{{- define "main" }}
-
-
-
- {{ i18n "home-websites-and-graphics" | safeHTML }}
-
-
- {{ i18n "home-cozy-town" | safeHTML }}
-
-
- {{ partial "moreposts.html" . }}
-
-{{- end }}
\ No newline at end of file
+
+
+
+ {{ i18n "home-websites-and-graphics" | safeHTML }}
+
+
+ {{ i18n "home-cozy-town" | safeHTML }}
+
+
+ {{ partial "moreposts.html" . }}
+
+{{- end }}
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index b9561f2..b2d71cd 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -24,7 +24,7 @@
{{ partial "helpers/icons" "mastodon" }}
- {{- if hugo.IsMultilingual }}
+ {{- if .Site.IsMultiLingual }}
{{ $siteLanguages := .Site.Languages }}
{{ $pageLanguage := .Page.Lang }}
@@ -41,4 +41,4 @@
{{- end }}
-
\ No newline at end of file
+