diff --git a/assets/ts/search.ts b/assets/ts/archives.ts similarity index 100% rename from assets/ts/search.ts rename to assets/ts/archives.ts diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 4b21de0..9501283 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -16,7 +16,7 @@ -

dawdwa

+

{{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}} {{- $terms := $taxonomy.Pages -}} @@ -54,8 +54,8 @@ {{- $opts := dict "minify" hugo.IsProduction -}} - {{- $searchScript := resources.Get "ts/search.ts" | js.Build $opts -}} - + {{- $archivesScript := resources.Get "ts/archives.ts" | js.Build $opts -}} + {{ end }} {{ define "right-sidebar" }}