aboutsummaryrefslogtreecommitdiff
path: root/haunt/custom/sxml.scm
diff options
context:
space:
mode:
Diffstat (limited to 'haunt/custom/sxml.scm')
-rw-r--r--haunt/custom/sxml.scm37
1 files changed, 0 insertions, 37 deletions
diff --git a/haunt/custom/sxml.scm b/haunt/custom/sxml.scm
deleted file mode 100644
index 1fbdc97..0000000
--- a/haunt/custom/sxml.scm
+++ /dev/null
@@ -1,37 +0,0 @@
-;;; 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/>.
-
-(define-module (custom sxml)
- #:export (%cc-by-sa-button
- %cc-by-sa-link
- link
- stylesheet))
-
-(define %cc-by-sa-button
- '(a (@ (class "cc-button")
- (href "https://creativecommons.org/licenses/by-sa/4.0/"))
- (img (@ (src "https://licensebuttons.net/l/by-sa/4.0/80x15.png")))))
-
-(define %cc-by-sa-link
- '(a (@ (href "https://creativecommons.org/licenses/by-sa/4.0/"))
- "Creative Commons Attribution Share-Alike 4.0 International"))
-
-(define (link name uri)
- `(a (@ (href ,uri)) ,name))
-
-(define (stylesheet name)
- `(link (@ (rel "stylesheet")
- (href ,(string-append "/css/" name ".css")))))

© 2015 - 2026 Jakob L. Kreuze