From 7e5907f08a34d4980e9c511ce3302fc331389042 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Sun, 24 Mar 2024 23:43:14 +0100 Subject: [PATCH] style: rename `search.ts` to `archives.ts` --- assets/ts/{search.ts => archives.ts} | 0 layouts/_default/archives.html | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename assets/ts/{search.ts => archives.ts} (100%) 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" }}