The Grinnell College Digital Library Application Developer's Blog
Call it The GCDLADB if you like.
About Me 1 min read May 23, 2019 | Updated: Oct 6, 2021 08:07
I am DevOps and I love Hugo… in spite of the fact that the logo colors clash with my blog theme. 😄 More About Me What more do you need to know? Ok, so my official title at Grinnell College is actually Digital Library Applications Developer. ...
Working with Let's Encrypt to Generate Certs 4 min read May 29, 2019
The workflow I use to create, publish, and update this blog is discussed in three of my earlier posts, namely docker-bootstrap Workflow, Building This Blog, and Developing This Blog. This workflow works nicely in the case of this blog, but my daughter and I created another site, Visualizing Abolition and Freedom, frequently referred to as simply VAF, where the same workflow doesn’t quite work. The problem, I believe is with the manner in which I attempted to obtain TLS certs from Let’s Encrypt. ...
Fixing the VAF Cert Problem 3 min read May 29, 2019
True to form, just after posting my lengthy description of VAF cert problems I figured out what was wrong and how to fix it. Naturally, just after. So, the root of my VAF woes stemmed from the fact that Let’s Encrypt, upon my request, had previously issued an untrusted cert for https://vaf.grinnell.edu (because I used the staging environment during development of this blog), and I was unable to find it or override it with a trusted cert. I was under the impression that in my workflow the cert was being stored inside one of my Docker containers… and it was. ...
Updates to Atom and Themes 1 min read May 25, 2019
Recently I made several significant updates to this blog, including changes to my Atom configuration, and the introduction of a new theme, plus a “theme component” to help manage search. Both of these updates are perhaps best described in this portion of the README.md file in my blog’s Github repo so I won’t bother with the details here. And that’s a wrap. Until next time… ...
New Theme and Search 1 min read May 24, 2019
I recently made changes to this blog that made the old theme “un-responsive”, it no longer reformatted nicely for small, mobile devices. So I’ve switched the theme to use hugo-theme-m10c, and I think it’s a welcome improvement. In addition, I found this repo which provides an awesome wrapper in the form of a very elegant Hugo theme component around some work that I mentioned in an earlier post, namely this awesome gist. Consequently, the mark.js keyword highlighting that was “broken” in my earlier search implementation is now working! ...
Help! 1 min read May 23, 2019
Looking to add a simple, single, new page to this site? Have a look at this content in the site's `./content/add-a-simple-page.md` file. Pay particular attention to the front matter where the type and layout are declared, as well as a list of aliases:: aliases: - help - add-this-page - add-a-page-to-the-site type: page layout: single But note that all of these aliases re-direct to the canonical URL which takes its name, ./add-a-simple-page, from the name of this markdown document, ./content/add-a-simple-page.md. ...
Developing This Blog 1 min read May 20, 2019
I realized today that I previously documented how to “begin” a blog like this using Docksal to assist, but I failed to remind myself how to make structural/programming changes to it now that it is well-established. Since I’d like to add BleveSearch to this blog, and similar sites, I need to make some “structural” changes, and I want to do so locally before pushing them to production. The process of making updates like this is basically: Open a local terminal and navigate to this project. ...
Search Me? 2 min read May 19, 2019
Yes, yes you can! It’s not “done” yet (is anything ever really done?) but you can now ‘search’ the content, titles, and tags of this blog! For now just visit the new /search page and enter the term(s) you would like to look for. I’ll explain this better once it is “done”, I hope. This wonderful addition to the site comes to you compliments of this awesome gist, with a little hacking by your’s truly. There’s just one problem, perhaps summarized in my comment on the gist posted moments ago. ...
Updating This Blog with Atom 1 min read May 16, 2019
So I have my Atom config stored in a Github repo so that I can easily keep Atom in-sync between the various platforms I use here and at home. Today I added the atom-shell-commands package to my Atom config and have configured it with a “command” that takes care of updating my blog when I add a new post (like this one). The command configuration in my .atom/config.cson looks like this: "atom-shell-commands": commands: [ { name: "Update My Blog" command: ". ...
docker-bootstrap Workflow 2 min read May 15, 2019
This post is as much about adding an image to a “live” Markdown document (this blog post), as it is about my docker-bootstrap workflow. The workflow is perhaps best described and summarized in a diagram I recently created, and exported to a PDF. It should be self-explanatory, and with any luck you can see it below… Posting an “inline” image into a Markdown document is pretty easy using syntax like this: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1") But, does that work if the “image” is a PDF? ...