From 37d63c206b9d5d3809ff486d50565f7ace57bea4 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Tue, 31 Dec 2024 13:03:06 -0600 Subject: include script for webring --- publish.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'publish.el') diff --git a/publish.el b/publish.el index 1ac2613..b39047e 100644 --- a/publish.el +++ b/publish.el @@ -24,14 +24,6 @@ (require 'ox-html) (require 'plz) -(setq webring (json-parse-string (plz 'get "https://aidang.cc/webring/https://jjanzen.ca"))) -(defun create-webring-html (plist) - (format "" - (gethash "url" (gethash "left" webring)) - (gethash "name" (gethash "left" webring)) - (gethash "url" (gethash "right" webring)) - (gethash "name" (gethash "right" webring)))) - (defun my/org-publish-org-sitemap-format (entry style project) (cond ((not (directory-name-p entry)) (format "(%s) [[file:blog/%s][%s]]\n" @@ -73,6 +65,9 @@ (if (equal "rss.org" (file-name-nondirectory filename)) (org-rss-publish-to-rss plist filename dir))) +(defvar jj/html-head "\ +\ +") (defvar jj/html-preamble "\
\ Home\ @@ -85,7 +80,7 @@
") (defvar jj/html-postamble "\