From 4b8de0bcf0ca598804a9d462933d492232b4b314 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 12 Feb 2023 14:50:42 -0500 Subject: Merge branch 'self-hosted-comments' It's been working well enough. I think it's time to get the initial version of this on `master'. --- haunt/pages/about.sxml | 18 +++++++++--------- haunt/pages/weblabels.sxml | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+), 9 deletions(-) (limited to 'haunt/pages') diff --git a/haunt/pages/about.sxml b/haunt/pages/about.sxml index 4b82736..19aa8f1 100644 --- a/haunt/pages/about.sxml +++ b/haunt/pages/about.sxml @@ -159,15 +159,15 @@ Linux.") (define (lang-to-button lang) (case lang - ((c) '(button (@ (class "lang-c")) "C")) - ((c++) '(button (@ (class "lang-cpp")) "C++")) - ((python) '(button (@ (class "lang-python")) "Python")) - ((rust) '(button (@ (class "lang-rust")) "Rust")) - ((kotlin) '(button (@ (class "lang-kotlin")) "Kotlin")) - ((fennel) '(button (@ (class "lang-fennel")) "Fennel")) - ((elisp) '(button (@ (class "lang-elisp")) "Elisp")) - ((scheme) '(button (@ (class "lang-scheme")) "Scheme")) - ((ebuild) '(button (@ (class "lang-ebuild")) "Ebuild")))) + ((c) '(button (@ (class "lang lang-c")) "C")) + ((c++) '(button (@ (class "lang lang-cpp")) "C++")) + ((python) '(button (@ (class "lang lang-python")) "Python")) + ((rust) '(button (@ (class "lang lang-rust")) "Rust")) + ((kotlin) '(button (@ (class "lang lang-kotlin")) "Kotlin")) + ((fennel) '(button (@ (class "lang lang-fennel")) "Fennel")) + ((elisp) '(button (@ (class "lang lang-elisp")) "Elisp")) + ((scheme) '(button (@ (class "lang lang-scheme")) "Scheme")) + ((ebuild) '(button (@ (class "lang lang-ebuild")) "Ebuild")))) (define (date-of-first-commit repository-path) "Return the date of the first commit in `repository-path'." diff --git a/haunt/pages/weblabels.sxml b/haunt/pages/weblabels.sxml index 0c53551..c90b620 100644 --- a/haunt/pages/weblabels.sxml +++ b/haunt/pages/weblabels.sxml @@ -24,6 +24,18 @@ #:content `((h2 "JavaScript Web Labels") (table (@ (id "jslicense-labels1")) + (tr (td ,(hyperlink "/static/js/dynamic-comment-form.js" + `(p "/static/js/dynamic-comment-form.js"))) + (td ,(hyperlink "http://www.gnu.org/licenses/gpl-3.0.html" + `(p "GNU General Public License 3.0 or later"))) + (td ,(hyperlink "/static/js/dynamic-comment-form.js" + `(p "/static/js/dynamic-comment-form.js")))) + (tr (td ,(hyperlink "/static/js/proof-of-work.js" + `(p "/static/js/proof-of-work.js"))) + (td ,(hyperlink "http://www.gnu.org/licenses/gpl-3.0.html" + `(p "GNU General Public License 3.0 or later"))) + (td ,(hyperlink "/static/js/proof-of-work.js" + `(p "/static/js/proof-of-work.js")))) (tr (td ,(hyperlink "/static/js/webmention.js" `(p "/static/js/webmention.js"))) (td ,(hyperlink "http://www.gnu.org/licenses/gpl-3.0.html" @@ -42,6 +54,12 @@ `(p "GNU General Public License 3.0 or later"))) (td ,(hyperlink "/static/js/rsvp.js" `(p "/static/js/rsvp.js")))) + (tr (td ,(hyperlink "/static/js/gallery.js" + `(p "/static/js/gallery.js"))) + (td ,(hyperlink "http://www.gnu.org/licenses/gpl-3.0.html" + `(p "GNU General Public License 3.0 or later"))) + (td ,(hyperlink "/static/js/gallery.js" + `(p "/static/js/gallery.js")))) (tr (td ,(hyperlink "/static/js/oneko.js" `(p "/static/js/oneko.js"))) (td ,(hyperlink "http://www.jclark.com/xml/copying.txt" -- cgit v1.3