hugo
Call it The GCDLADB if you like.
Awesome Hugo Resource - Config Variables Summary 1 min read Jul 8, 2019 | Updated: Nov 22, 2019 14:34
I’m working remotely from a desk on the 3rd floor of the MSOE (Milwaukee School of Engineering) this morning and just ran into a problem with this blog… some of my single and double quotes are rendered as “curly quotes” so I can’t effectively copy and paste them into a command line. While searching for a fix I found an awesome Hugo resource. It lists, among other things, ALL of Hugo’s standard configuration variables! The settings I’m most interested in right now are part of BlackFriday, Hugo’s markdown rendering engine. ...
CanonifyURLs in Hugo 1 min read Aug 6, 2019 | Updated: Aug 6, 2019 21:25
I’ve been seeing a lot of .URL will be deprecated... warnings in my Hugo compilations lately, and just now figured out a slick replacement for it: canonifyURLs = true. The documentation for this parameter says… By default, all relative URLs encountered in the input are left unmodified, e.g. /css/foo.css would stay as /css/foo.css. The canonifyURLs field in your site config has a default value of false. By setting canonifyURLs to true, all relative URLs would instead be canonicalized using baseURL. For example, assuming you have baseURL = https://example. ...
Adding a LastMod Date 1 min read Aug 2, 2019 | Updated: Aug 6, 2019 15:02
So, Hugo supports the use of front matter “date” variables including: date, publishDate and lastmod. I won’t explain the details of each variable because the aforementioned resource has a nice, concise explanation of them all. Until recently this blog only dealt with the “date” field since I used to have Atom configured to automatically update that field for me when I save changes to a file. However, Hugo treats “date” more like the date of publication (publishDate) than the last modification (lastmod) date, so things got a little screwy if/when I edited an old post. ...
A Blog is Born 2 min read Nov 18, 2018
Have you ever wondered how a blog is born? The story behind this blog begins with my interest in stepping back from the CMS world, primarily Drupal, to discover the joys of static site generation. The journey begins in earnest at the 2016 DLF Forum: Milwaukee on the eve of the United States’ 2016 national election, when all the buzz that wasn’t political, was about building static web sites, and Jekyll. A few weeks after the DLF Forum this server was born, thanks to the my colleagues in the Grinnell College (GC) Libraries, and Grinnell’s Information Technology Services (ITS) department. ...