aboutsummaryrefslogtreecommitdiff
path: root/internal/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates')
-rw-r--r--internal/web/templates/bookmarks.html2
-rw-r--r--internal/web/templates/index.html4
-rw-r--r--internal/web/templates/reader.html2
-rw-r--r--internal/web/templates/settings.html2
4 files changed, 10 insertions, 0 deletions
diff --git a/internal/web/templates/bookmarks.html b/internal/web/templates/bookmarks.html
index efc988a..770c73a 100644
--- a/internal/web/templates/bookmarks.html
+++ b/internal/web/templates/bookmarks.html
@@ -46,5 +46,7 @@
{{end}}
</div>
+
+<footer class="licence"><a href="/source">source</a> · AGPL-3.0-or-later</footer>
</body>
</html>
diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html
index 762ed7b..b99725d 100644
--- a/internal/web/templates/index.html
+++ b/internal/web/templates/index.html
@@ -90,5 +90,9 @@
<div id="pane">{{.Reading}}</div>
</div>
+
+{{/* AGPL-3.0 §13: the source offer must be visible to anyone using this
+ server over a network, so it sits on every full page, not just here. */}}
+<footer class="licence"><a href="/source">source</a> · AGPL-3.0-or-later</footer>
</body>
</html>
diff --git a/internal/web/templates/reader.html b/internal/web/templates/reader.html
index ef144cc..36cc8a1 100644
--- a/internal/web/templates/reader.html
+++ b/internal/web/templates/reader.html
@@ -83,5 +83,7 @@
onchange="document.body.classList.toggle('mono', this.checked)"> {{.L.Mono}}</label>
</div>
+
+<footer class="licence"><a href="/source">source</a> · AGPL-3.0-or-later</footer>
</body>
</html>
diff --git a/internal/web/templates/settings.html b/internal/web/templates/settings.html
index f4fae47..3ae2f41 100644
--- a/internal/web/templates/settings.html
+++ b/internal/web/templates/settings.html
@@ -104,5 +104,7 @@
</form>
</div>
+
+<footer class="licence"><a href="/source">source</a> · AGPL-3.0-or-later</footer>
</body>
</html>