
[{"content":" This is a test post. It shows what the Blowfish theme can do, so I can decide what to use in real posts. Everything here is plain Markdown plus Blowfish\u0026rsquo;s shortcodes. The contents list on the side, the tags and categories above, the reading time and the series box all come from settings at the top of the file.\nCallouts # The alert shortcode:\nHeads up. This is the default alert, good for warnings. Alerts can take any icon and colours. GitHub-style callouts work too, written in plain Markdown, so they also render on GitHub:\nNote A note callout.\nTip A tip callout.\nWarning A warning callout.\nClick to expand Callouts can also be folded away until clicked.\nText extras # Badges: New Draft idea Icons inline with text: GitHub, code, email.\nButtons: Jump to the code section Footnotes work as normal Markdown1, and so do tables:\nFeature Built in? Needs a shortcode? Code highlighting Yes No Maths Yes katex Diagrams Yes mermaid Charts Yes chart Code # Code blocks are highlighted and have a copy button (hover over the block):\n1 2 3 4 5 def greet(name: str) -\u0026gt; str: \u0026#34;\u0026#34;\u0026#34;Say hello.\u0026#34;\u0026#34;\u0026#34; return f\u0026#34;Hello, {name}!\u0026#34; print(greet(\u0026#34;world\u0026#34;)) Inline code looks like hugo server -D.\nTabs are handy for showing the same thing several ways:\nmacOS Debian Windows brew install hugo sudo dpkg -i hugo_extended_0.167.0_linux-amd64.deb winget install Hugo.Hugo.Extended Code with a figure below it # Hugo doesn\u0026rsquo;t run code. For this section I ran the code below on my Mac, saved the PNG into the post\u0026rsquo;s folder and referenced it underneath. Click the image to zoom.\nimport numpy as np import matplotlib.pyplot as plt rng = np.random.default_rng(42) days = np.arange(365) # Made-up Dublin-ish daily temperatures: a seasonal curve plus noise temp = 10 + 5.5 * np.sin(2 * np.pi * (days - 105) / 365) + rng.normal(0, 1.6, 365) smooth = np.convolve(temp, np.ones(14) / 14, mode=\u0026#34;same\u0026#34;) fig, ax = plt.subplots(figsize=(9, 4), dpi=150) ax.plot(days, temp, color=\u0026#34;#94a3b8\u0026#34;, lw=0.8, label=\u0026#34;Daily\u0026#34;) ax.plot(days[7:-7], smooth[7:-7], color=\u0026#34;#0ea5e9\u0026#34;, lw=2.5, label=\u0026#34;14-day average\u0026#34;) ax.set(xlabel=\u0026#34;Day of year\u0026#34;, ylabel=\u0026#34;Temperature (°C)\u0026#34;, xlim=(0, 364)) ax.spines[[\u0026#34;top\u0026#34;, \u0026#34;right\u0026#34;]].set_visible(False) ax.legend(frameon=False) fig.tight_layout() fig.savefig(\u0026#34;temps.png\u0026#34;) Made-up daily temperatures with a 14-day rolling average. Blowfish resizes the image automatically for different screens. Maths # Inline maths like \\(e^{i\\pi} + 1 = 0\\) sits in the text. Display maths gets its own line:\n$$ \\bar{x} = \\frac{1}{n}\\sum_{i=1}^{n} x_i, \\qquad s^2 = \\frac{1}{n-1}\\sum_{i=1}^{n}\\left(x_i - \\bar{x}\\right)^2 $$ Diagrams # Diagrams are written as text with Mermaid. This is how a post gets from my Mac to this page:\nflowchart LR A[Write post in Markdown] --\u003e B[hugo server preview] B --\u003e C[hugo build] C --\u003e D[rsync to VPS] D --\u003e E[Apache serves martinwalshe.com] Charts # Interactive charts use Chart.js. Hover over the bars:\nImages # A gallery, with each image a third of the width:\nAnd the same images as a carousel:\nPrevious Next Layout pieces # Stats:\n0.167.0\nHugo version\nPinned to what Blowfish supports. v3.9.0\nBlowfish version\nUpgraded together with Hugo. 1\nPosts\nThis one, for now. Steps:\n1 Write Create a post folder with hugo new content. 2 Preview Check it with hugo server -D. 3 Publish Build and rsync it to the server. A timeline:\nBlog set up August 2025 Hugo and PaperMod First version of the site, with a couple of test posts. Clean-up 26 Oct 2026 Old test pages removed Stale pages that had stayed live were cleared out. Switched to Blowfish 26 Oct 2026 Hugo upgraded to 0.167.0 New theme, and this test post. An accordion, for content you can fold away:\nWhat is this post for? Trying out Blowfish\u0026rsquo;s features before writing real posts. Will it stay up? No. It\u0026rsquo;ll be deleted once I\u0026rsquo;ve had a look. Like this one.\u0026#160;\u0026#x21a9;\u0026#xfe0e;\n","date":"26 October 2026","externalUrl":null,"permalink":"/posts/blowfish-features/","section":"Posts","summary":"Callouts, code, figures, maths, diagrams, charts, galleries and layout pieces, all in one place.","title":"A tour of Blowfish (test post)","type":"posts"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/tags/blowfish/","section":"Tags","summary":"","title":"Blowfish","type":"tags"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/series/building-this-site/","section":"Series","summary":"","title":"Building This Site","type":"series"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/categories/","section":"Categories","summary":"","title":"Categories","type":"categories"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/tags/hugo/","section":"Tags","summary":"","title":"Hugo","type":"tags"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/","section":"Martin Walshe Blog","summary":"","title":"Martin Walshe Blog","type":"page"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/posts/","section":"Posts","summary":"","title":"Posts","type":"posts"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/series/","section":"Series","summary":"","title":"Series","type":"series"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/categories/site/","section":"Categories","summary":"","title":"Site","type":"categories"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/tags/","section":"Tags","summary":"","title":"Tags","type":"tags"},{"content":"","date":"26 October 2026","externalUrl":null,"permalink":"/tags/test/","section":"Tags","summary":"","title":"Test","type":"tags"},{"content":"","externalUrl":null,"permalink":"/authors/","section":"Authors","summary":"","title":"Authors","type":"authors"}]