From ef3318a78050ea8aa4f6a65dd4673958c0eadf85 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 13 Apr 2025 22:19:45 +0200 Subject: docs: add README and link to repo --- README.md | 5 +++++ lex-serve/main_test.go | 1 + lex-serve/templates/index.html.tmpl | 1 + 3 files changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1795f3c --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# lex-surf + +A web portal to national laws. + +Hosted under https://lex.surf/. diff --git a/lex-serve/main_test.go b/lex-serve/main_test.go index bd284a8..a45c38d 100644 --- a/lex-serve/main_test.go +++ b/lex-serve/main_test.go @@ -59,6 +59,7 @@ func TestStartPage(t *testing.T) {
+

source code

` diff --git a/lex-serve/templates/index.html.tmpl b/lex-serve/templates/index.html.tmpl index 108bc17..6064f49 100644 --- a/lex-serve/templates/index.html.tmpl +++ b/lex-serve/templates/index.html.tmpl @@ -14,6 +14,7 @@ {{template "country-links" .SecondTier}}
3rd tier (just a link)
{{template "country-links" .ThirdTier}} +

source code

{{define "country-links" -}} -- cgit v1.2.3