![]() ![]() The only part of this whole process I haven't sorted out is testing builds from my iPad or iPhone. Simply put, iA Writer is my favorite place to write and create. Their support of iOS, Mac, and the iPad is excellent, not to mention very good keyboard shortcuts for all of them. I also love the Quattro font the team at iA Writer created as a slightly variable monospaced font. My only wish is that somehow it could support photo upload in the same manner. With one-click flows for Micro.Blog, Micropub, Wordpress, and other sites, it's super easy to write and get something online. It's not just a fantastic place to write, but increasingly it's a solid platform to publish to the indie web from. My love for iA Writer continues to grow every year. Other than that push, there's no real manual input required. Kicking off the whole build only takes pushing an update to the source branch I use. The whole process takes around 30 seconds with the hugo -minify build step completing in 400ms. publicĮssentially, you set your public branch, and Github actions for pulling Hugo, building your site, and the deploying it to the public directory run in order. Hugo-version: ‘0.71.1’ extended: true - name: Build run: hugo -minify - name: Deploy uses: with: Submodules: true fetch-depth: 0 - name: Setup Hugo uses: with: There are a bunch of cool Actions out there for building and launching static sites, but I use actions-hugo from Shohei Ueda. Once GitHub launched their Actions feature I was pretty sure I could go without a separate CI app or something like Netlify (though Netlify in specific is pretty awesome and has a really good DNS feature I still use). My theme is very basic, but there are a ton of them out there to suit most tastes. You're also welcome to creep my repo, and even fork it to get started yourself. If you want to read more about Hugo, their website is pretty great. No matter where or how someone accesses my site, they're sure to need limited bandwidth and data to read it. In order to build my site fast, and ensure it loads super quickly, I moved to system fonts which meant I've achieved a delightful 1.0s full-content load time. I built a custom theme for my site, along with a SASS file that hopefully is organized enough I could do some easy switching around if I get itchy for a redesign. I've tested Eleventy and Gatsby as well, but Hugo remains my top pick. Originally, I was using Jekyll, as it's the basic GitHub Pages static site generator, but I fell for the speed and weird Go templating of Hugo. My goal was a site I could write to, publish to, and read from with a minimum of app switching or ssh-ing. I use an iPad and iPhone mostly, so I didn't want a system that required a lot of fiddliness, which meant a build pipeline that automated as much as possible. When I started writing my blog in earnest again, I wanted to find a workflow I could use on both iOS and Mac with ease. ![]()
0 Comments
Leave a Reply. |