From 96166f3f17a048499cd6c9af95e81d8f4c655978 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 6 Apr 2025 09:59:04 +0200 Subject: refactor: rename views/ to templates/ --- views/index.html | 17 ----------------- views/search.html | 30 ------------------------------ 2 files changed, 47 deletions(-) delete mode 100644 views/index.html delete mode 100644 views/search.html (limited to 'views') diff --git a/views/index.html b/views/index.html deleted file mode 100644 index 3d8c04f..0000000 --- a/views/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - Lex.surf: Portal to National Law - - - - - -

The portal to national law.

-
- {{range $key, $c := .Countries -}} - {{$key | ToUpper}} - {{- end}} -
- - diff --git a/views/search.html b/views/search.html deleted file mode 100644 index 70c8c86..0000000 --- a/views/search.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - National Law of {{.Country.Name}} - - - - - -

National Law of {{.Country.Name}}

- {{if not .Country.HasPlaceholder}} -

{{.Country.SearchURL}}

- - {{if not .HasJSONLaws}} - (No search form here because the search isn't linkable.) - {{end}} - {{end}} - {{if .Country.HasPlaceholder}} -
- {{end}} - {{if or .Country.HasPlaceholder .HasJSONLaws}} - - - {{end}} - {{if .Country.HasPlaceholder}} -
- {{end}} - - - -- cgit v1.2.3