aboutsummaryrefslogtreecommitdiff
path: root/build/posts/pblog/index.html
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-02 14:22:21 -0400
committerBradley Taunt <bt@btxx.org>2024-07-02 14:22:21 -0400
commit3f6a9546ec13063d0d5bdf21d30a93d3e8aa6050 (patch)
tree947985c4eda1bceb1910bc01739c32fd0baad181 /build/posts/pblog/index.html
parent14074019d62d98885c4c764401a9e7e1fd129f79 (diff)
Rebuild changes based off latest barfHEADmaster
Diffstat (limited to 'build/posts/pblog/index.html')
-rw-r--r--build/posts/pblog/index.html70
1 files changed, 0 insertions, 70 deletions
diff --git a/build/posts/pblog/index.html b/build/posts/pblog/index.html
deleted file mode 100644
index 9d984e6..0000000
--- a/build/posts/pblog/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="color-scheme" content="dark light">
- <link rel="icon" href="data:,">
- <title>Yet Another Static Site Generator Switch</title>
- <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
- <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
-<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
-</head>
-
-<nav>
- <a href="#menu">Menu &darr;</a>
-</nav>
-
-<main>
-<h1 id="yet-another-static-site-generator-switch">Yet Another Static Site Generator Switch</h1>
-<p>2022-07-06</p>
-<p>If you&#8217;re an RSS subscriber, I&#8217;ve probably blown up your feed reader (again). This seems to be an on-going theme with this blog. I can&#8217;t help it.</p>
-<p>This website now uses my <em>new</em> Pandoc-based static blog generator: <a href="https://pblog.bt.ht">pblog</a>. I won&#8217;t go into great detail about it&#8217;s features (or lack thereof) - if you&#8217;re interested in that, check out the <a href="https://pblog.bt.ht/blog/pblog-intro.html">&#8220;Introducing pblog&#8221; article</a>.</p>
-<p>The bigger question is, &#8220;Why the change?&#8221;</p>
-<h2 id="wheres-the-love-for-shinobi">Where&#8217;s the Love for &#8220;Shinobi&#8221;?</h2>
-<p>Switching over to <code>pblog</code> wasn&#8217;t caused by a dislike of using <a href="https://shinobi.bt.ht">Shinobi</a>. In fact, I still really enjoy the work flow that that plain-text focused SSG provides. The main issues that popped up for my own blog was <em>accessibility</em> and <em>poor user experience</em>.</p>
-<p>I had multiple readers reach out and mention poor rendering of content in their RSS reader of choice. That&#8217;s kind of a <strong>big deal</strong>. I test that project as best I can with my limited access to all available RSS readers - but I can only test so much. It became one of those &#8220;Well, it works on my machine!&#8221; meme. So instead of spending an untold amount of time debugging every RSS reader known to man, I figured my best bet was to render things as <code>HTML</code>.</p>
-<p>The next big issue was <em>accessibility</em>. Screen readers can read <code>txt</code> formatted files perfectly fine but since elements aren&#8217;t categorized everything ends up with the same level hierarchy. This can cause confusion between headers, list items, URLs, footers etc. For my personal use-case (sharing tutorials and covering design topics) it didn&#8217;t make sense to sacrifice user accessibility for minimalism.</p>
-<h2 id="the-search-for-simplicity">The Search for Simplicity</h2>
-<p>My initial thought process was to include some form of &#8220;plus&#8221; add-on to the existing Shinobi build script. The idea was to render <code>HTML</code> versions of each post and dump those into the generated RSS file. Although maybe good in theory, it ended up impractical because:</p>
-<ol>
-<li>No utility or existing tool could render the style of text-based formatting I implemented as semantic HTML (at least not without heavy customization and tinkering)</li>
-<li>I was actually adding extra bloat to the Shinobi project (true minimalism is the point, right?)</li>
-</ol>
-<p>So, that option was ruled out pretty quickly.</p>
-<p>The next option didn&#8217;t take me long to land on: <em>Pandoc</em>. I&#8217;ve used Pandoc for years and have nothing but great experiences tweaking it for my own needs. I knew that I could piggyback off the original <code>shell</code> commands in the Shinobi project and alter them as needed to incorporate Pandoc.</p>
-<p>I honestly didn&#8217;t run into many issues while rolling this out. Fairly seamless!</p>
-<h2 id="new-workflow">New Workflow</h2>
-<p>With this new blog switch I also decided to try out a new <em>deploy</em> workflow. I&#8217;ve used <code>rsync</code> for the longest time but wanted to have something more GUI-based on macOS. I know, <em>blasphemy</em>!</p>
-<p>Since I already have a Transmit license, that seemed like the best fit since it is designed specifically for macOS. Now my workflow process is as follows:</p>
-<ol>
-<li>Write new posts in my root <code>posts</code> folder</li>
-<li>Rebuild the <code>pblog</code> with <code>make</code></li>
-<li>Use the built-in sync function of Transmit to mirror my local <code>_output</code> with my web server</li>
-</ol>
-<p><img src="/public/images/transmit-ftp.webp" alt="The Transmit UI in all of its wonderful glory (before I updated)" /></p>
-<h3 id="wrapping-up">Wrapping Up</h3>
-<p>Will there be bugs with this switch-over? Most likely. Will some URLs be left behind or broken? Possibly. These small issues will be ironed out over time. For now, I&#8217;m quite happy with keeping things minimal on the workflow side of things, while preserving accessibility and user experience with the output.</p>
-<p>Thanks for reading!</p>
-<footer role="contentinfo">
- <h2>Menu Navigation</h2>
- <ul id="menu">
- <li><a href="/">Home</a></li>
- <li><a href="/projects">Projects</a></li>
- <li><a href="/uses">Uses</a></li>
- <li><a href="/wiki">Wiki</a></li>
- <li><a href="/resume">Resume</a></li>
- <li><a href="/colophon">Colophon</a></li>
- <li><a href="/now">Now</a></li>
- <li><a href="/donate">Donate</a></li>
- <li><a href="/atom.xml">RSS</a></li>
- <li><a href="#top">&uarr; Top of the page</a></li>
- </ul>
- <small>
- Built with <a href="https://barf.btxx.org">barf</a>. <br>
- Feeds: <a href="/atom.xml">Atom</a> & <a href="/rss.xml">RSS</a><br>
- Maintained with ♥ for the web. <br>
- Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
- The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
- </small>
-</footer> \ No newline at end of file