{"authors":[{"name":"Your Name"}],"description":"Demo site of the freemind.bithack theme for Hugo.","feed_url":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/zh/feed.json","home_page_url":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/zh/","icon":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/favicon.png","items":[{"content_html":"\u003cp\u003e与英文版同路径，所以两篇互为翻译，导航栏的语言切换会直接跳到对方。\u003c/p\u003e\n\n\u003cdiv class=\"alert alert-success md-alert\"\u003e\n  \u003cp class=\"md-alert-title\"\u003e\u003ci class=\"fa fa-lightbulb-o\"\u003e\u003c/i\u003e 提示\u003c/p\u003e\n  \u003cp\u003e提示框、标签页、数学公式等写法与英文版相同。\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv class=\"math-block\"\u003e\u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"block\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003eE\u003c/mi\u003e\u003cmo\u003e=\u003c/mo\u003e\u003cmi\u003em\u003c/mi\u003e\u003cmsup\u003e\u003cmi\u003ec\u003c/mi\u003e\u003cmn\u003e2\u003c/mn\u003e\u003c/msup\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003e\nE = mc^2\n\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e\u003c/div\u003e\n\n\u003cdetails class=\"md-details\"\u003e\n  \u003csummary\u003e点击展开\u003c/summary\u003e\n  \u003cdiv class=\"md-details-body\"\u003e\u003cp\u003e折叠区块里可以写任意 Markdown，也可以放其他短代码。\u003c/p\u003e\n\u003c/div\u003e\n\u003c/details\u003e\n\n\u003cp\u003e\u003ca class=\"friend-card\" href=\"https://gohugo.io/\" target=\"_blank\" rel=\"noopener\"\u003e\n  \u003cspan class=\"friend-avatar\"\u003e\n    \u003csvg class=\"friend-avatar-default\" viewBox=\"0 0 16 16\" shape-rendering=\"crispEdges\" aria-hidden=\"true\"\u003e\n      \u003crect width=\"16\" height=\"16\" fill=\"#1d1d1d\"/\u003e\n      \u003cg fill=\"#8a8a8a\"\u003e\u003crect x=\"6\" y=\"3\" width=\"4\" height=\"1\"/\u003e\u003crect x=\"5\" y=\"4\" width=\"6\" height=\"4\"/\u003e\u003crect x=\"6\" y=\"8\" width=\"4\" height=\"1\"/\u003e\u003crect x=\"4\" y=\"10\" width=\"8\" height=\"1\"/\u003e\u003crect x=\"3\" y=\"11\" width=\"10\" height=\"5\"/\u003e\u003c/g\u003e\n    \u003c/svg\u003e\n  \u003c/span\u003e\n  \u003cspan class=\"friend-info\"\u003e\n    \u003cspan class=\"friend-name\"\u003eHugo\u003c/span\u003e\u003cspan class=\"friend-desc\" title=\"静态网站生成器\"\u003e静态网站生成器\u003c/span\u003e\n    \u003cspan class=\"friend-tags\"\u003e\u003cspan class=\"friend-tag\"\u003eGo\u003c/span\u003e\u003cspan class=\"friend-tag\"\u003eSSG\u003c/span\u003e\u003c/span\u003e\n  \u003c/span\u003e\n\u003c/a\u003e\n\n\u003ca class=\"friend-card\" href=\"https://prismjs.com/\" target=\"_blank\" rel=\"noopener\"\u003e\n  \u003cspan class=\"friend-avatar\"\u003e\n    \u003csvg class=\"friend-avatar-default\" viewBox=\"0 0 16 16\" shape-rendering=\"crispEdges\" aria-hidden=\"true\"\u003e\n      \u003crect width=\"16\" height=\"16\" fill=\"#1d1d1d\"/\u003e\n      \u003cg fill=\"#8a8a8a\"\u003e\u003crect x=\"6\" y=\"3\" width=\"4\" height=\"1\"/\u003e\u003crect x=\"5\" y=\"4\" width=\"6\" height=\"4\"/\u003e\u003crect x=\"6\" y=\"8\" width=\"4\" height=\"1\"/\u003e\u003crect x=\"4\" y=\"10\" width=\"8\" height=\"1\"/\u003e\u003crect x=\"3\" y=\"11\" width=\"10\" height=\"5\"/\u003e\u003c/g\u003e\n    \u003c/svg\u003e\n  \u003c/span\u003e\n  \u003cspan class=\"friend-info\"\u003e\n    \u003cspan class=\"friend-name\"\u003ePrism\u003c/span\u003e\u003cspan class=\"friend-desc\" title=\"代码高亮\"\u003e代码高亮\u003c/span\u003e\n    \u003cspan class=\"friend-tags\"\u003e\u003cspan class=\"friend-tag\"\u003eJavaScript\u003c/span\u003e\u003c/span\u003e\n  \u003c/span\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\u003ch2 id=\"音乐播放器aplayer\"\u003e音乐播放器（APlayer）\u003ca class=\"headerlink\" href=\"#%e9%9f%b3%e4%b9%90%e6%92%ad%e6%94%be%e5%99%a8aplayer\" aria-label=\"Permalink\"\u003e#\u003c/a\u003e\u003c/h2\u003e\u003cp\u003e网易云歌曲组成的播放列表，音频走网易云官方外链，标题和封面读 \u003ccode\u003edata/music.toml\u003c/code\u003e。播放时封面像唱片一样转动。\u003c/p\u003e\n\n\u003cpre class=\"line-numbers language-plaintext\"\u003e\u003ccode class=\"language-plaintext\"\u003e{{\u0026lt; music ids=\u0026#34;1402719608, 1431168150\u0026#34; \u0026gt;}}\n{{\u0026lt; music src=\u0026#34;/audio/song.mp3\u0026#34; title=\u0026#34;歌名\u0026#34; artist=\u0026#34;我\u0026#34; cover=\u0026#34;/img/cover.jpg\u0026#34; \u0026gt;}}\u003c/code\u003e\u003c/pre\u003e\n\n\u003cdiv class=\"md-music\" data-audio=\"[{\u0026#34;artist\u0026#34;:\u0026#34;Lazy_V 张可宣\u0026#34;,\u0026#34;cover\u0026#34;:\u0026#34;https://p2.music.126.net/_lH3mTaZhMNJmiZ04uvHmw==/109951164705992734.jpg?param=300y300\u0026#34;,\u0026#34;lrc\u0026#34;:\u0026#34;\u0026#34;,\u0026#34;name\u0026#34;:\u0026#34;Fear Rhythm (Demo Version)\u0026#34;,\u0026#34;page\u0026#34;:\u0026#34;https://music.163.com/#/song?id=1402719608\u0026#34;,\u0026#34;url\u0026#34;:\u0026#34;https://music.163.com/song/media/outer/url?id=1402719608.mp3\u0026#34;},{\u0026#34;artist\u0026#34;:\u0026#34;Lazy_V 张可宣\u0026#34;,\u0026#34;cover\u0026#34;:\u0026#34;https://p2.music.126.net/7Fjhy0dSTTAPw3Tm2oR-rw==/109951164806372997.jpg?param=300y300\u0026#34;,\u0026#34;lrc\u0026#34;:\u0026#34;\u0026#34;,\u0026#34;name\u0026#34;:\u0026#34;ACLer\u0026#39;s beat\u0026#34;,\u0026#34;page\u0026#34;:\u0026#34;https://music.163.com/#/song?id=1431168150\u0026#34;,\u0026#34;url\u0026#34;:\u0026#34;https://music.163.com/song/media/outer/url?id=1431168150.mp3\u0026#34;},{\u0026#34;artist\u0026#34;:\u0026#34;Lazy_V 张可宣\u0026#34;,\u0026#34;cover\u0026#34;:\u0026#34;https://p2.music.126.net/_lH3mTaZhMNJmiZ04uvHmw==/109951164705992734.jpg?param=300y300\u0026#34;,\u0026#34;lrc\u0026#34;:\u0026#34;\u0026#34;,\u0026#34;name\u0026#34;:\u0026#34;ISOLATION\u0026#34;,\u0026#34;page\u0026#34;:\u0026#34;https://music.163.com/#/song?id=1402843948\u0026#34;,\u0026#34;url\u0026#34;:\u0026#34;https://music.163.com/song/media/outer/url?id=1402843948.mp3\u0026#34;},{\u0026#34;artist\u0026#34;:\u0026#34;Lazy_V 张可宣\u0026#34;,\u0026#34;cover\u0026#34;:\u0026#34;https://p2.music.126.net/qIsYKyaH2H0FSwnJNqT96w==/109951164746950689.jpg?param=300y300\u0026#34;,\u0026#34;lrc\u0026#34;:\u0026#34;\u0026#34;,\u0026#34;name\u0026#34;:\u0026#34;Involution\u0026#34;,\u0026#34;page\u0026#34;:\u0026#34;https://music.163.com/#/song?id=1847289377\u0026#34;,\u0026#34;url\u0026#34;:\u0026#34;https://music.163.com/song/media/outer/url?id=1847289377.mp3\u0026#34;}]\" data-fold=\"false\" data-order=\"list\" data-loop=\"all\"\u003e\n  \u003cnoscript\u003e\u003cul\u003e\u003cli\u003e\u003ca href=\"https://music.163.com/#/song?id=1402719608\" target=\"_blank\" rel=\"noopener\"\u003eFear Rhythm (Demo Version) – Lazy_V 张可宣\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"https://music.163.com/#/song?id=1431168150\" target=\"_blank\" rel=\"noopener\"\u003eACLer\u0026#39;s beat – Lazy_V 张可宣\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"https://music.163.com/#/song?id=1402843948\" target=\"_blank\" rel=\"noopener\"\u003eISOLATION – Lazy_V 张可宣\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"https://music.163.com/#/song?id=1847289377\" target=\"_blank\" rel=\"noopener\"\u003eInvolution – Lazy_V 张可宣\u003c/a\u003e\u003c/li\u003e\u003c/ul\u003e\u003c/noscript\u003e\n\u003c/div\u003e\n\n\u003ch2 id=\"itchio-游戏卡片\"\u003eitch.io 游戏卡片\u003ca class=\"headerlink\" href=\"#itchio-%e6%b8%b8%e6%88%8f%e5%8d%a1%e7%89%87\" aria-label=\"Permalink\"\u003e#\u003c/a\u003e\u003c/h2\u003e\u003cp\u003e和 itch.io 官方嵌入挂件同尺寸、同布局，由主题根据 \u003ccode\u003edata/itch.toml\u003c/code\u003e 绘制，页面不请求 itch.io：\u003c/p\u003e\n\n\u003cpre class=\"language-plaintext\"\u003e\u003ccode class=\"language-plaintext\"\u003e{{\u0026lt; itch url=\u0026#34;https://lazy-v.itch.io/catmario-gb\u0026#34; desc=\u0026#34;猫里奥的 Game Boy 版。\u0026#34; \u0026gt;}}\u003c/code\u003e\u003c/pre\u003e\n\n\u003ca class=\"itch-card\" href=\"https://lazy-v.itch.io/catmario-gb\" target=\"_blank\" rel=\"noopener\" aria-label=\"CatMario-GB – 在 itch.io 上玩\"\u003e\n  \u003cspan class=\"itch-cover pixel\"\u003e\u003cimg src=\"/hugo-theme-freemind-bithack/img/itch/lazy-v-catmario-gb.png\" alt=\"\" loading=\"lazy\" class=\"nofancybox\"\u003e\u003c/span\u003e\n  \u003cspan class=\"itch-body\"\u003e\n    \u003cspan class=\"itch-title\"\u003eCatMario-GB\u003c/span\u003e\u003cspan class=\"itch-author\"\u003eby Lazy_V\u003c/span\u003e\u003cspan class=\"itch-desc\"\u003e猫里奥的 Game Boy 版。\u003c/span\u003e\n    \u003cspan class=\"itch-foot\"\u003e\n      \u003cspan class=\"itch-button\"\u003e在 itch.io 上玩\u003c/span\u003e\n      \u003cspan class=\"itch-site\" aria-hidden=\"true\"\u003e\u003csvg viewBox=\"0 0 16 16\" width=\"14\" height=\"14\" shape-rendering=\"crispEdges\" fill=\"currentColor\"\u003e\u003crect x=\"1\" y=\"3\" width=\"14\" height=\"2\"/\u003e\u003crect x=\"2\" y=\"5\" width=\"12\" height=\"2\"/\u003e\u003crect x=\"2\" y=\"7\" width=\"12\" height=\"7\"/\u003e\u003crect x=\"5\" y=\"9\" width=\"2\" height=\"2\" fill=\"#111\"/\u003e\u003crect x=\"9\" y=\"9\" width=\"2\" height=\"2\" fill=\"#111\"/\u003e\u003c/svg\u003e itch.io\u003c/span\u003e\n    \u003c/span\u003e\n  \u003c/span\u003e\n\u003c/a\u003e\n\n\u003ch2 id=\"链接卡片\"\u003e链接卡片\u003ca class=\"headerlink\" href=\"#%e9%93%be%e6%8e%a5%e5%8d%a1%e7%89%87\" aria-label=\"Permalink\"\u003e#\u003c/a\u003e\u003c/h2\u003e\n\u003ca class=\"linkcard no-image\" href=\"https://gohugo.io/\" target=\"_blank\" rel=\"noopener\"\u003e\n  \u003cspan class=\"linkcard-text\"\u003e\n    \u003cspan class=\"linkcard-title\"\u003eHugo\u003c/span\u003e\u003cspan class=\"linkcard-desc\"\u003e最快的静态网站生成框架之一。\u003c/span\u003e\n    \u003cspan class=\"linkcard-site\"\u003e\u003ci class=\"fa fa-link\"\u003e\u003c/i\u003e gohugo.io\u003c/span\u003e\n  \u003c/span\u003e\n\u003c/a\u003e\n\n\u003ch2 id=\"任务列表\"\u003e任务列表\u003ca class=\"headerlink\" href=\"#%e4%bb%bb%e5%8a%a1%e5%88%97%e8%a1%a8\" aria-label=\"Permalink\"\u003e#\u003c/a\u003e\u003c/h2\u003e\u003cul\u003e\n\u003cli\u003e\u003cinput checked=\"\" disabled=\"\" type=\"checkbox\"\u003e 把主题移植到 Hugo\u003c/li\u003e\n\u003cli\u003e\u003cinput checked=\"\" disabled=\"\" type=\"checkbox\"\u003e 代码也用像素字体\u003c/li\u003e\n\u003cli\u003e\u003cinput disabled=\"\" type=\"checkbox\"\u003e 多写点文章\u003c/li\u003e\n\u003c/ul\u003e","date_modified":"2026-11-17T10:00:00Z","date_published":"2026-11-17T10:00:00Z","id":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/zh/2026/11/17/components/","summary":"与英文版同路径，所以两篇互为翻译，导航栏的语言切换会直接跳到对方。","tags":["短代码"],"title":"组件示例","url":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/zh/2026/11/17/components/"},{"content_html":"\u003cp\u003e从小画布开始：14×10 就足够画一个经典的太空侵略者。\u003c/p\u003e\n\u003ch2 id=\"选择尺寸\"\u003e选择尺寸\u003ca class=\"headerlink\" href=\"#%e9%80%89%e6%8b%a9%e5%b0%ba%e5%af%b8\" aria-label=\"Permalink\"\u003e#\u003c/a\u003e\u003c/h2\u003e\u003cp\u003e小画布会逼你想清楚每个像素的作用。先画轮廓，再填充。\u003c/p\u003e\n\u003cfigure class=\"md-figure\"\u003e\u003cimg src=\"/hugo-theme-freemind-bithack/images/invader.png\" alt=\"14×10 的侵略者，放大 16 倍\" loading=\"lazy\" decoding=\"async\"\u003e\u003cfigcaption\u003e14×10 的侵略者，放大 16 倍\u003c/figcaption\u003e\u003c/figure\u003e\u003ch2 id=\"按整数倍导出\"\u003e按整数倍导出\u003ca class=\"headerlink\" href=\"#%e6%8c%89%e6%95%b4%e6%95%b0%e5%80%8d%e5%af%bc%e5%87%ba\" aria-label=\"Permalink\"\u003e#\u003c/a\u003e\u003c/h2\u003e\u003cp\u003e始终按整数倍（2×、4×、16×）放大，像素才能保持方正：\u003c/p\u003e\n\n\u003cpre class=\"line-numbers language-python\"\u003e\u003ccode class=\"language-python\"\u003efrom PIL import Image\n\nimg = Image.open(\u0026#34;invader.png\u0026#34;)\nimg.resize((img.width * 16, img.height * 16), Image.NEAREST).save(\u0026#34;invader@16x.png\u0026#34;)\u003c/code\u003e\u003c/pre\u003e","date_modified":"2026-10-01T10:00:00Z","date_published":"2026-10-01T10:00:00Z","id":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/zh/2026/10/01/01-canvas/","summary":"从小画布开始：14×10 就足够画一个经典的太空侵略者。","tags":["像素画","教程"],"title":"像素画 1：准备画布","url":"https://zzxzzk115.github.io/hugo-theme-freemind-bithack/zh/2026/10/01/01-canvas/"}],"language":"zh","title":"freemind.bithack 示例","version":"https://jsonfeed.org/version/1.1"}