The referenced image (`publysher/hugo`) is outdated, leading to the following error: `Current theme does not support Hugo version 0.22.1. Minimum version required is 0.24.1`. The current version of hugo is 0.26. I forked the publysher repo, bumped it to 0.26 and pushed it to my Docker hub (monachus is my username on Docker Hub).
I'm an engineer at Rancher Labs and an active user of Gitlab. I've enabled notifications for Hugo releases, so as they come out, I'll tag and release an updated Docker image. I'm happy to be the target repo for this piece of documentation.
- changes the link to asciidoc from the python tool to the ruby and .js processor.
Asciidoctor extends the language much more than the python implementation, and if folks click on the python link they will likely run into processor issues when Asciidoctor attempts to process the .adoc files.
There is no information on how you can add custom metadata to your
taxonomy terms. What you need to do is add front matter data in the file
/content/<TAXONOMY>/<TERM>/_index.md
Then you will be able to access the taxonomy term as a page in a
taxonomy terms template.
That is why I added instructions in /content-management/taxonomies on
how to add custom metadata. And in /templates/taxonomy-templates/ I
added an example on how you can display that metadata in the taxonomy
terms template.
I think that would be enough to guide the user in how to add custom
metadata to their taxonomy terms.
* docs: Add note to install Testify
The Hugo Contributor Guide (Development) instructs users to run "go test ./..." and ensure it passes before moving on. However Hugo requires the Testify package for testing, and running the go test command without Testify results in 'cannot find package' errors and failing tests. It's hard to understand what to do next for users not familiar with Go dependencies. This commit adds a note to the contributor guide instructing users to get Testify if they don't already have it installed. Running the 'go get' command added here results in passing tests in the next step of the contributor guide.
* Fix typo https:// in go get command
This works for the `title` func and the other places where Hugo makes title case.
* AP style (new default)
* Chicago style
* Go style (what we have today)
Fixes#989