From 608735a4bd0811fe2a76365409238c2aad5958a9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 26 Jan 2024 13:52:18 +0000 Subject: README: Hard-code releases. * README.org (Download): Replace releases dynamic block with hard-coded list of releases. * build-aux/build-website.el (org-dblock-write:releases): Delete function. (build-website): Do not call org-update-all-dblocks. --- build-aux/build-home-page.el | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'build-aux') diff --git a/build-aux/build-home-page.el b/build-aux/build-home-page.el index 0f5ef9d..aa4f483 100644 --- a/build-aux/build-home-page.el +++ b/build-aux/build-home-page.el @@ -35,18 +35,6 @@ org-html-head-include-scripts nil org-html-postamble nil) -(defun org-dblock-write:releases (params) - "Dynamically write releases block." - (dolist (release '(("2022-01-05" "v0.1.0"))) - (pcase release - (`(,date ,version) - (insert (format "- %s [[./releases/kolam-%s.tar.lz][kolam-%s.tar.lz]] [[./releases/kolam-%s.tar.lz.asc][GPG Signature]]\n" - date - version - version - version)))))) - (defun build-website () (with-current-buffer (find-file "README.org") - (org-update-all-dblocks) (org-export-to-file 'html "website/index.html"))) -- cgit v1.2.3