Publishing

A publishing workflow that stays out of the way

The best workflow gives writers a few dependable habits instead of a lot of interface.

<h1 id="a-publishing-workflow-that-stays-out-of-the-way">A publishing workflow that stays out of the way</h1> <p>A good publishing routine can be almost boring. Start a post, add a short description, preview it locally, and publish when it is ready.</p> <p>Pagecraft provides a small command for the first step:</p> <div class="highlight"><pre><span></span>pagecraft<span class="w"> </span>new-post<span class="w"> </span><span class="s2">"A useful title"</span><span class="w"> </span>--category<span class="w"> </span>Publishing<span class="w"> </span>--tag<span class="w"> </span>writing </pre></div> <p>Drafts can stay beside published work without leaking into the public build. Future-dated posts work the same way. When a release is ready, a regular build handles the feed, archive, tags, categories, and search-engine discovery files in the same pass.</p>