From 3273c65ef82123bf5edbe6d8616630b20a993ce1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 11 Aug 2024 03:13:10 +0200 Subject: Giant refactoring of the codebase --- templates/coins_designs.templ | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 templates/coins_designs.templ (limited to 'templates/coins_designs.templ') diff --git a/templates/coins_designs.templ b/templates/coins_designs.templ deleted file mode 100644 index 4732ab0..0000000 --- a/templates/coins_designs.templ +++ /dev/null @@ -1,41 +0,0 @@ -package templates - -import ( - "fmt" - "strings" - - "git.thomasvoss.com/euro-cash.eu/i18n" -) - -var varietiesLinkStart = `` - -func makeURL(c country) templ.SafeURL { - url := fmt.Sprintf("/coins/designs/%s", strings.ToLower(c.code)) - return templ.SafeURL(url) -} - -templ CoinsDesigns() { - {{ p := ctx.Value("printer").(i18n.Printer) }} -
- @navbar() -

{ p.T("Euro Coin Designs") }

-
-
-

- @templ.Raw(p.T("Here you’ll be able to view all the coin designs for each country in the Eurozone. This section of the site doesn’t include minor varieties such as different mintmarks or errors; those are on the %svarieties%s page.", varietiesLinkStart, linkEnd)) -

-
-
-
-} -- cgit v1.2.3