summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--lex-serve/main_test.go1
-rw-r--r--lex-serve/templates/index.html.tmpl1
3 files changed, 7 insertions, 0 deletions
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) {
<div class=countries>
</div>
+ <p><a href="https://git.push-f.com/lex-surf">source code</a></p>
</body>
</html>
`
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}}
<div>3rd tier (just a link)</div>
{{template "country-links" .ThirdTier}}
+ <p><a href="https://git.push-f.com/lex-surf">source code</a></p>
</body>
</html>
{{define "country-links" -}}