Stable element ids in blog article lists 0 ▲ Entropic Thoughts 1 hour ago · Tech · hide I fixed something mildly annoying with the generation of this site again. Since I promised to reveal what I changed any time I did, here it is. The focus of this change was a hacky function that takes a dictionary linking tags to articles and converts it to an Org mode syntax tree, with top-level headlines for the tags and headlines for each article under that. The easiest way to intuit the result is probably to go to the tag listing on this site. Here’s the function, in all its terrible unglory. In[1]: (defun tw-article-entry-headlines (entries) "Create org-element API headlines for alist ENTRIES." (append '(org-data nil) (mapcar (lambda (entry) ;; An entry is an association list of tag × articles. ;; For each such entry, make a headline for the tag ... (let ((tag-string (format "%s" (car entry)))) (tw-org-element-headline 1 tag-string `(("CUSTOM_ID" . ,(concat "tag-" (tw-slugify tag-string)))) ;; ... and then a headline for each article under it. (mapcar (lambda (article) (let… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town