summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-05-11 16:35:19 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-05-11 16:35:19 -0400
commit10e25b1e35369b4dde70051d4a6f4912af1940af (patch)
tree47986e02324933893e5bbfc72efc7b9382aa8f23
parent3a8f3c3dac0151436a8400de9837173fdbef93b7 (diff)
Add JavaScript Web Labels for GNU LibreJS
-rw-r--r--haunt/custom/theme.scm5
-rw-r--r--haunt/haunt.scm1
-rw-r--r--haunt/weblabels.scm24
3 files changed, 29 insertions, 1 deletions
diff --git a/haunt/custom/theme.scm b/haunt/custom/theme.scm
index fe4b53a..a2daba9 100644
--- a/haunt/custom/theme.scm
+++ b/haunt/custom/theme.scm
@@ -109,7 +109,10 @@ license.")
", a static site generator written in "
(a (@ (href "https://gnu.org/software/guile"))
"Guile Scheme")
- ".")))))))
+ ".")
+ (a (@ (href "/weblabels.html")
+ (rel "jslicense"))
+ (p "JavaScript license information"))))))))
#:post-template
(lambda (post)
`((h1 (@ (class "title")),(post-ref post 'title))
diff --git a/haunt/haunt.scm b/haunt/haunt.scm
index 225a4a2..3f48a98 100644
--- a/haunt/haunt.scm
+++ b/haunt/haunt.scm
@@ -128,6 +128,7 @@
(sort-by-tag)
(static-page "About Me" "about")
(static-page "Projects" "projects")
+ (static-page "JavaScript Web Labels" "weblabels")
(static-directory "css")
(static-directory "fonts")
(static-directory "js")
diff --git a/haunt/weblabels.scm b/haunt/weblabels.scm
new file mode 100644
index 0000000..9e0851a
--- /dev/null
+++ b/haunt/weblabels.scm
@@ -0,0 +1,24 @@
+;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation; either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <http://www.gnu.org/licenses/>.
+
+`((h2 "JavaScript Web Labels")
+ (table (@ (id "jslicense-labels1"))
+ (tr (td (a (@ (href "/js/webmention.js"))
+ (p "/js/webmention.js")))
+ (td (a (@ (href "http://www.gnu.org/licenses/gpl-3.0.html"))
+ (p "GNU General Public License 3.0 or later")))
+ (td (a (@ (href "/js/webmention.js"))
+ (p "/js/webmention.js"))))))