{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Klaudia's Blog",
  "home_page_url": "https://blog.klaudia.pics/",
  "feed_url": "https://blog.klaudia.pics/feed.json",
  "description": "Notes on web craft, pixel sprites, cozy systems, and building things on the small web.",
  "language": "en",
  "authors": [
    {
      "name": "Klaudia",
      "url": "https://klaudia.pics"
    }
  ],
  "items": [
    {
      "id": "https://blog.klaudia.pics/hello-klaudia/",
      "url": "https://blog.klaudia.pics/hello-klaudia/",
      "title": "Hello from Klaudia's Blog",
      "summary": "Launching a cozy, zero-dependency static blog engine in dark plum and trans-flag pastels for blog.klaudia.pics.",
      "content_html": "<p>Welcome to <strong>Klaudia&#39;s Blog</strong> at <code>https://blog.klaudia.pics</code>!</p>\n<p>The goal for this engine was simple: keep the charm of a single-file pixel homepage—one crisp sprite, a fixed 8px flag stripe, monospace type, and pink-underlined links—while scaling cleanly into a full writing environment.</p>\n<h2 id=\"what-comes-out-of-the-box\">What comes out of the box <a class=\"heading-anchor\" href=\"#what-comes-out-of-the-box\" aria-label=\"Link to What comes out of the box\">#</a></h2>\n<ol><li><strong>Markdown posts with frontmatter</strong> stored under <code>content/posts/</code></li><li><strong>Instant client-side search &amp; tag filtering</strong> powered by a native <code>&lt;search&gt;</code> landmark</li><li><strong>Syntax-highlighted code blocks</strong> with accessible copy buttons</li><li><strong>RSS 2.0, JSON Feed, and Sitemap</strong> anchored to <code>https://blog.klaudia.pics</code></li></ol>\n<div class=\"callout callout-note\"><p class=\"callout-title\">Note</p><p>Try clicking Klaudia in the header! She&#39;ll hop and cycle through little status quips inside the gradient pill.</p></div>\n<h2 id=\"writing-a-new-dispatch\">Writing a new dispatch <a class=\"heading-anchor\" href=\"#writing-a-new-dispatch\" aria-label=\"Link to Writing a new dispatch\">#</a></h2>\n<p>Scaffolding a new post takes one command:</p>\n<figure class=\"code-block\"><figcaption class=\"code-header\" id=\"hello-klaudia-caption-1\"><span class=\"code-meta\">terminal <span class=\"code-lang\">bash</span></span><button type=\"button\" class=\"copy-btn\" data-copy-target>Copy</button></figcaption><pre role=\"region\" aria-labelledby=\"hello-klaudia-caption-1\" tabindex=\"0\"><code class=\"language-bash\"><span class=\"tok-keyword\">npm</span> run new -- <span class=\"tok-string\">&quot;Late Night CSS Experiments&quot;</span> --tags css,pixels</code></pre></figure>\n<p>And starting the live-reloading preview server mounted at <code>/</code>:</p>\n<figure class=\"code-block\"><figcaption class=\"code-header\" id=\"hello-klaudia-caption-2\"><span class=\"code-meta\">terminal <span class=\"code-lang\">bash</span></span><button type=\"button\" class=\"copy-btn\" data-copy-target>Copy</button></figcaption><pre role=\"region\" aria-labelledby=\"hello-klaudia-caption-2\" tabindex=\"0\"><code class=\"language-bash\"><span class=\"tok-keyword\">npm</span> run dev</code></pre></figure>\n<p>Every build writes clean static HTML into <code>dist/</code>, ready to drop onto <code>https://blog.klaudia.pics</code> with zero runtime dependencies.</p>",
      "date_published": "2026-12-03T12:00:00Z",
      "tags": [
        "meta",
        "web",
        "design"
      ]
    },
    {
      "id": "https://blog.klaudia.pics/css-pixel-creatures/",
      "url": "https://blog.klaudia.pics/css-pixel-creatures/",
      "title": "Drawing Pixel Creatures with Crisp SVG Rectangles",
      "summary": "Why shape-rendering=\"crispEdges\" and steps(1) keyframes give inline SVGs authentic pixel-art energy.",
      "content_html": "<p>Most vector illustrations try to smooth away the grid. Klaudia goes in the opposite direction: every stripe of her body is aligned to a clean 15-unit pixel grid inside a <code>480×320</code> viewBox, with <code>shape-rendering=&quot;crispEdges&quot;</code> keeping every corner razor sharp at any DPI.</p>\n<h2 id=\"why-steps1-feels-alive\">Why steps(1) feels alive <a class=\"heading-anchor\" href=\"#why-steps1-feels-alive\" aria-label=\"Link to Why steps1 feels alive\">#</a></h2>\n<p>Smooth CSS easing (<code>ease-in-out</code>) makes pixel art look like a sticker sliding on glass. Switching the bob animation to <code>steps(1)</code> snaps Klaudia cleanly between two frames:</p>\n<figure class=\"code-block\"><figcaption class=\"code-header\" id=\"css-pixel-creatures-caption-1\"><span class=\"code-meta\">src/assets/style.css <span class=\"code-lang\">css</span></span><button type=\"button\" class=\"copy-btn\" data-copy-target>Copy</button></figcaption><pre role=\"region\" aria-labelledby=\"css-pixel-creatures-caption-1\" tabindex=\"0\"><code class=\"language-css\">.sprite {\n  <span class=\"tok-prop\">width</span>: <span class=\"tok-number\">13.5rem</span>;\n  <span class=\"tok-prop\">max-width</span>: 72vw;\n  <span class=\"tok-prop\">height</span>: auto;\n  <span class=\"tok-prop\">animation</span>: bob <span class=\"tok-number\">1.6s</span> steps(<span class=\"tok-number\">1</span>) infinite;\n}\n\n.eye {\n  <span class=\"tok-prop\">transform-box</span>: fill-box;\n  <span class=\"tok-prop\">transform-origin</span>: center;\n  <span class=\"tok-prop\">animation</span>: blink <span class=\"tok-number\">5s</span> infinite;\n}\n\n<span class=\"tok-keyword\">@keyframes</span> bob {\n  <span class=\"tok-number\">50</span>% { <span class=\"tok-prop\">transform</span>: translateY(<span class=\"tok-number\">-6px</span>); }\n}</code></pre></figure>\n<h2 id=\"respecting-motion-preferences\">Respecting motion preferences <a class=\"heading-anchor\" href=\"#respecting-motion-preferences\" aria-label=\"Link to Respecting motion preferences\">#</a></h2>\n<p>Animations are fun until they cause discomfort. Wrapping all sprite motion in <code>@media (prefers-reduced-motion: reduce)</code> ensures Klaudia rests calmly whenever a reader prefers reduced motion.</p>\n<div class=\"table-wrap\" tabindex=\"0\" role=\"group\" aria-label=\"Table\"><table><thead><tr><th scope=\"col\" style=\"text-align:left\">Property</th><th scope=\"col\" style=\"text-align:left\">Purpose</th><th scope=\"col\" style=\"text-align:left\">Fallback</th></tr></thead><tbody><tr><td style=\"text-align:left\"><code>shape-rendering=&quot;crispEdges&quot;</code></td><td style=\"text-align:left\">Disable anti-aliasing on pixel rects</td><td style=\"text-align:left\">Crisp pixel edges</td></tr><tr><td style=\"text-align:left\"><code>transform-box: fill-box</code></td><td style=\"text-align:left\">Anchor eye blink to each rect</td><td style=\"text-align:left\">Center origin</td></tr><tr><td style=\"text-align:left\"><code>steps(1)</code></td><td style=\"text-align:left\">Discrete 2-frame idle bounce</td><td style=\"text-align:left\">Disabled when reduced</td></tr></tbody></table></div>",
      "date_published": "2026-11-28T12:00:00Z",
      "tags": [
        "svg",
        "css",
        "pixels"
      ]
    },
    {
      "id": "https://blog.klaudia.pics/subpath-static-hosting/",
      "url": "https://blog.klaudia.pics/subpath-static-hosting/",
      "title": "Notes on Portable Static Hosting",
      "summary": "How Klaudia's Blog keeps links, feeds, search, and dev previews consistent at blog.klaudia.pics (or any basePath).",
      "content_html": "<p>Hosting a static blog cleanly—whether on a dedicated subdomain like <code>https://blog.klaudia.pics</code> or under a subpath—works best when every link, asset, and feed URL flows through one configuration source.</p>\n<h2 id=\"centralized-url-helpers\">Centralized URL helpers <a class=\"heading-anchor\" href=\"#centralized-url-helpers\" aria-label=\"Link to Centralized URL helpers\">#</a></h2>\n<p>Instead of sprinkling string concatenation across templates, the engine passes a <code>urls</code> helper built from <code>siteUrl</code> and <code>basePath</code>:</p>\n<figure class=\"code-block\"><figcaption class=\"code-header\" id=\"subpath-static-hosting-caption-1\"><span class=\"code-meta\">src/engine/config.mjs <span class=\"code-lang\">js</span></span><button type=\"button\" class=\"copy-btn\" data-copy-target>Copy</button></figcaption><pre role=\"region\" aria-labelledby=\"subpath-static-hosting-caption-1\" tabindex=\"0\"><code class=\"language-js\"><span class=\"tok-keyword\">export</span> <span class=\"tok-keyword\">function</span> <span class=\"tok-fn\">createUrlHelpers</span>(config) {\n  <span class=\"tok-keyword\">const</span> base = <span class=\"tok-fn\">normalizeBasePath</span>(config.basePath);\n  <span class=\"tok-keyword\">const</span> origin = <span class=\"tok-fn\">String</span>(config.siteUrl).<span class=\"tok-fn\">replace</span>(/\\/+$/, <span class=\"tok-string\">&quot;&quot;</span>);\n\n  <span class=\"tok-keyword\">function</span> <span class=\"tok-fn\">pathFor</span>(subpath = <span class=\"tok-string\">&quot;/&quot;</span>) {\n    <span class=\"tok-keyword\">const</span> clean = subpath.<span class=\"tok-fn\">startsWith</span>(<span class=\"tok-string\">&quot;/&quot;</span>) ? subpath : <span class=\"tok-string\">`/${subpath}`</span>;\n    <span class=\"tok-keyword\">return</span> clean === <span class=\"tok-string\">&quot;/&quot;</span> ? <span class=\"tok-string\">`${base}/`</span> : <span class=\"tok-string\">`${base}${clean}`</span>;\n  }\n\n  <span class=\"tok-keyword\">function</span> <span class=\"tok-fn\">fullUrl</span>(subpath = <span class=\"tok-string\">&quot;/&quot;</span>) {\n    <span class=\"tok-keyword\">return</span> <span class=\"tok-string\">`${origin}${pathFor(subpath)}`</span>;\n  }\n\n  <span class=\"tok-keyword\">return</span> { base, origin, pathFor, fullUrl };\n}</code></pre></figure>\n<h2 id=\"checklist-for-static-deploys\">Checklist for static deploys <a class=\"heading-anchor\" href=\"#checklist-for-static-deploys\" aria-label=\"Link to Checklist for static deploys\">#</a></h2>\n<ul><li class=\"task-item\" data-checked=\"true\"><span class=\"task-box\" aria-hidden=\"true\">☑</span><span class=\"visually-hidden\">Completed: </span>Keep stylesheets, scripts, and favicon paths rooted cleanly at <code>/assets/...</code></li><li class=\"task-item\" data-checked=\"true\"><span class=\"task-box\" aria-hidden=\"true\">☑</span><span class=\"visually-hidden\">Completed: </span>Generate canonical <code>&lt;link&gt;</code> and RSS <code>&lt;guid&gt;</code> tags with <code>https://blog.klaudia.pics/...</code></li><li class=\"task-item\" data-checked=\"true\"><span class=\"task-box\" aria-hidden=\"true\">☑</span><span class=\"visually-hidden\">Completed: </span>Serve the local dev preview at <code>/</code> matching production routes</li></ul>\n<div class=\"callout callout-tip\"><p class=\"callout-title\">Tip</p><p>Because <code>basePath</code> defaults to <code>&quot;/&quot;</code> in <code>klaudia.config.mjs</code>, changing <code>siteUrl</code> or moving to a subpath later updates every HTML page, feed, and sitemap in a single rebuild.</p></div>",
      "date_published": "2026-11-19T12:00:00Z",
      "tags": [
        "architecture",
        "web"
      ]
    }
  ]
}