{ "cells": [ { "cell_type": "markdown", "id": "d883c4e5", "metadata": { "editable": true, "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "# /self" ] }, { "cell_type": "code", "execution_count": 1, "id": "ae39d936-a7ef-4273-9899-0bce4da9f565", "metadata": { "editable": true, "nbblog": "", "raw_mimetype": "text/restructuredtext", "slideshow": { "slide_type": "" }, "tags": [] }, "outputs": [], "source": [ "#blog\n", "date=\"2026-08-28\"\n", "abstract=\"How this blog works\"\n", "tags=\"slash\"" ] }, { "cell_type": "markdown", "id": "cbba8e10", "metadata": {}, "source": [ "\n" ] }, { "cell_type": "markdown", "id": "44bbdb41-f3b1-4ec0-bc3c-3c377e205f6a", "metadata": {}, "source": [ "Sphinx is the backbone of this blog. Don't ask me why I originally chose it instead of the million other static-website-generators out there. It works fine. I made a Sphinx extension just for this blog and that handles the features I've added like [tags](/tags) and the [archive](/archive).\n", "\n", "I'll write more about it at some point.\n", "\n", "## Todo\n", "\n", "- [x] resample all images to be smaller in the main text\n", "- [x] make images clickable to open in full size\n", "\n", "\n", "- [ ] add an RSS feed\n", "- [ ] add webmentions\n", "\n", "\n", "- [x] fix markdown checkboxes to render as checked/unchecked icons in html. (looks good now)\n", "\n", "- [x] make the source link work for more files, not just ipynb. (now also works for markdown)\n", "\n", "- [x] create yearly archive of all posts\n", "- [x] make dark and light mode css look good\n", "- [x] make every post show links to a few other recent posts\n", "- [x] make the archive link on each blog post anchored to the right place in the archive list. (works and also highlights it. looks good. i didn't make it do that)\n", "- [x] add tag description to each tag page.\n", "- [ ] write something instead of just playing with the blogging software\n", "- [ ] make Dillo render this blog slightly better\n", "\n", "\n", "## Features of this blog\n", "\n", "### Dark/Light theme\n", "I think they both look great 😊 I took heavy inspiration from other blogs that I liked. The switch between light and dark is a CSS media query. No fancy personalized javascript widget or anything like that.\n", "\n", "### Archive\n", "The archive shows a list of all blog posts in order of newest at the top. The links in the list are *fancy blog post links* with a picture and description and tags.\n", "\n", "### Tags\n", "Tags are working fine but I'm not completely sure how I should use them. I have a few tags now that I think are useful but I don't want to have a bunch of very specific tags with just one or two posts in them. I also added a small description of what the tag is on each tag page.\n", "\n", "### Source\n", "There is a link at the top of every post to the ipynb/md source of that post. Unsure if it's useful. The ipynb sources are huge since they include a base64 string of all images. The markdown sources look nice.\n", "\n", "### Fancy blog post links\n", "This is probably the single biggest change I made to the blog software I use. It's mostly Sphinx and nbsphinx but I changed it a bit to display the links differently and with more information (tags, date, description). I think it looks really good.\n" ] }, { "cell_type": "markdown", "id": "0e8b0f01-8f5a-4dd9-82a0-44592168c8c6", "metadata": {}, "source": [ "## Favicon\n" ] }, { "cell_type": "code", "execution_count": 3, "id": "9f1bcb57-cce7-4e17-b9cb-ba1594147885", "metadata": {}, "outputs": [ { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAB1lJREFUeJztnc1u00wUho8bhKCBdgOUQALrsoHCCqlJ4ArgQqAQKKqARQOiISI/vQaQUMsNtI2E2oCEBI0KYkHFig1NIUklBGpXJn2/BZ8DSWN7/DPxceRH8gaPZ97R4yGOMwcUAKAANgx4HSCgnX12L2w0GvTp0yeqVqtUq9VIURQ6duwYRaNROnPmDB09etTNnL7PJQwsUKvVkMvlMD4+jlAoBCLqeoRCIcTjceTzedTrdStD2IJrLjsICdne3kY2m8XQ0JDuZPWOcDiMqakp/Pz50/XwXHM5wVTI6uoqotGo5Ql3HrFYDJVKxbXgXHM5xVDI/Pw8BgcHHU9aOw4cOICnT586Ds01lxvoCnn+/DkURXFt0tqhKArm5uZsB+aayy26CllbW3P1Dux2R757985yWK653EQB2r8Ybm9v0+joKG1sbJAZkUiEkskkRSIRUhSFNjc3qVwu0/fv302vjcVi9PnzZxocHDRtyzmX63QaevDggemddOHCBZRKJTSbzT2Gm80mlpaWcP78edN+Hj16JHzncM3lNm1C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bi9kiIrlx0p7KtweyVFVi6rUnxRhdvLlSIjlxUpvqnCzWazdPfuXaG2vczl+lviTkNcq1255gLcXSlBFa6DXP/ilpSgCtdBrk7ckBJU4TrI1Q2nUoIqXJu5jHAiJajClVSFm8vlhKTkcrm264IqXElVuJOTk1QsFk3b3blzhzKZzN9MIoMHVbj2SKVSlMvlTNvdv3+f8vk8EQVVuNKrcEVXsKqqf9prf8C12pVrLhGKxSLdvn3btF0mk/n7FkL7MFlZWfHsw/PVq1e613LNZYbdD/WgCtdmLiMKhYKQjEwms+faoArXQa5uOJEBdAjJ5/OGndy4ccNyQLMCy9nZWdM+uObqxKkMwMbLxaAKtztuyACCKlzHuQD3ZABBFe4eTp8+Tevr68I/UNl6tDWimyWu1a6ycx08eBCrq6vCedxcGRpBFe7/h6IomJ+fF84hQwYQVOGC6M/mhmfPngmPL0sGEFTh4tSpU1hbWxMeV6YMIKjCxa9fv4THky0DCKpwhemFDCCowhXC9UdbIxzptAnX4pxu9GplaARVuAb0WgYQVOHq4oUMgEGNIUcpXskAGAgBeEnxUgbARAjAQ4rXMgBGQgBvpXCQATATAngjhYsMgKEQoLdSOMkAmAoBeiOFmwyAsRBArhSOMgDmQgA5UrjKAHwgBHBXCmcZgE+EAO5I4S4D8JEQwJkUP8gAfCYEsCfFLzIAHwoBrEnxkwzAp0IA8e3+IkdnSYCX+FYI4M6/gcJlZWj4WgjgbKVwWhkavhcC2Fsp3FaGRl8IAaytFI4rQ6NvhABiK4XrytDoKyGAsRTuMoA+FAJ0l+IHGUCfCgHapfhFBgDsoz4llUpRs9kkIrL1X7N6he29vQFy+A+eCX4RLMAezgAAAABJRU5ErkJggg==", "text/plain": [ "" ] }, "execution_count": 3, "metadata": { "image/png": { "alt": "The favicon of this blog. Circles connected by lines in a fun way.", "caption": "Favicon" } }, "output_type": "execute_result" } ], "source": [ "#hide\n", "from IPython import display\n", "display.Image(\n", " \"./_static/favicon.png\",\n", " alt=\"The favicon of this blog. Circles connected by lines in a fun way.\",\n", " metadata=dict(caption=\"Favicon\"),\n", ")" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.13.5" } }, "nbformat": 4, "nbformat_minor": 5 }