#+TITLE: 09-08-2025: Website Changes #+OPTIONS: num:nil toc:nil #+DATE: <2025-08-09 Sat> #+FILETAGS: :emacs:website: #+COMMENTS: t #+SLUG: spending-all-day-on-this-website * What was worked on I saw a few websites that used marginal notes on the right side of the screen like [[https://ogbe.net/blog/emacs_org_static_site][this one]], so I decided to try and implement this feature in this wesbite. In my mind I thought of using an external pre-configured CSS that I can just insert and ta-da it would work. How wrong I was. See, this website is published with ~org-publish~, meaning the org files that are written are converted to HTML through a transcoder. And as I already had a ~org.css~[fn:1] stylesheet which was primarily used for syntax highlighting, it caused some layout and formatting issue when I tried to use something like ~tufte.css~[fn:2]. Anyways, long story short, the main thing I worked on today was styling this website, and ensuring certain macros worked: #+BEGIN_SRC emacs-lisp (setq org-export-global-macros (append '(("sidenote" . "@@html:$2@@") ("epigraph" . "@@html:
$1
$1
$1