From: Amin Bandali Date: Fri, 6 Dec 2019 08:18:55 +0000 (-0500) Subject: add post-specific copyright years X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/commitdiff_plain/7e8d72151230cb14fd8b9dbbaa7f309120ed2721 add post-specific copyright years --- diff --git a/haunt.scm b/haunt.scm index 7a225a9..30293b1 100644 --- a/haunt.scm +++ b/haunt.scm @@ -428,6 +428,15 @@ "Homework 10"))) "2019")) +(module-define! + (resolve-module '(haunt builder blog)) + 'render-post + (lambda (theme site post) + (let ((title (post-ref post 'title)) + (body ((theme-post-template theme) post)) + (copy (post-ref post 'copyright))) + (base-layout site body #:title title #:copy copy)))) + (site #:title "Amin Bandali" ;; TODO: uncomment after new haunt release ;; #:scheme my-scheme diff --git a/posts/arch-macbook-air.md b/posts/arch-macbook-air.md index 55b2ef7..17d5d9b 100644 --- a/posts/arch-macbook-air.md +++ b/posts/arch-macbook-air.md @@ -2,6 +2,7 @@ title: Arch GNU/Linux on MacBook Air 2013 date: 2016-11-01 00:00 slug: arch-macbook-air tags: arch, macbook +copyright: 2016, 2019 --- This post summarizes how I install and dual-boot Arch GNU/Linux with