|
You are here |
zola.discourse.group | ||
| | | | |
matttproud.com
|
|
| | | | | I am using Hugo's uglyURLs feature to generate path names with file type suffixes. It may sound weird to do that in 2024; but if this is to be a static site, I want it to be an homage to 1990-2000s-era World Wide Web. The only problem is that Hugo's menu construct for pageRef = '/' generates a href value of href="/", not href="/index.html". This pageRef = '/' is used to designate your Hugo project's root directory. | |
| | | | |
discourse.gohugo.io
|
|
| | | | | I am struggling with an empty response when I call .Site.Sections. I call this in /layouts/index.html. My Sections are under the content dir (directory target_groups en working_methods). When I save a file in one of my ... | |
| | | | |
logr.cogley.info
|
|
| | | | | Was pleasantly suprised at how easy it is to get syntax highlighting going in Hugo, since its inclusion of the fast Golang-based «Chroma» library, and even making it backward compatible with most pygments settings. My config.toml contains the following: 1 2 3 4 pygmentsOptions = "linenos=table" pygmentsCodeFences = "true" pygmentsCodefencesGuessSyntax = "true" pygmentsStyle = "tango" ... and to get it to work you just use a code fence (three backticks) specifying the language like: | |
| | | | |
phse.net
|
|
| | | Designer and Front-end Developer. I help teams bring design practice into alignment with business goals. I'm also an expert in usability, HTML, CSS, and other front-end technologies. | ||