# Uncategorized

**URL:** https://discourse.gohugo.io/c/uncategorized/1.md

[Latest](https://discourse.gohugo.io/latest.md) · [Categories](https://discourse.gohugo.io/categories.md) · [Tags](https://discourse.gohugo.io/tags.md)

---

## [About the Uncategorized category](https://discourse.gohugo.io/t/about-the-uncategorized-category/51580)

<div class="topic-metadata">

**Author:** [@system](https://discourse.gohugo.io/u/system)\
**Replies:** 0

</div>

---

## [Use goldmark-mathjax extension](https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721)

<div class="topic-metadata">

**Author:** [@hadley](https://discourse.gohugo.io/u/hadley)\
**Replies:** 29\
**Last updated:** [March 29, 2026, 2:17pm UTC](https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721 "2026-03-29T14:17:44Z")

</div>

I’d like to use the goldmark-mathjax extension on my site, but I’m not sure where to start on installing it — I presumably have to install the extension and somehow tell hugo how to find it, but I have no idea where to s…

---

## [Relative image links with page bundles broken on main page](https://discourse.gohugo.io/t/relative-image-links-with-page-bundles-broken-on-main-page/18785)

<div class="topic-metadata">

**Author:** [@agargara](https://discourse.gohugo.io/u/agargara)\
**Replies:** 11\
**Last updated:** [June 10, 2025, 8:53pm UTC](https://discourse.gohugo.io/t/relative-image-links-with-page-bundles-broken-on-main-page/18785 "2025-06-10T20:53:52Z")

</div>

I’m using page bundles, with a directory structure like this: content/ ├── about │ ├── index.md ├── posts │ ├── my-post │ │ ├── content1.md │ │ ├── content2.md │ │ ├── image1.jpg │ │ ├── image2.png │…

---

## [Cloudflare Blog: rebuild of Dev docs (including Hugo)](https://discourse.gohugo.io/t/cloudflare-blog-rebuild-of-dev-docs-including-hugo/38824)

<div class="topic-metadata">

**Author:** [@bwintx](https://discourse.gohugo.io/u/bwintx)\
**Replies:** 8\
**Last updated:** [December 26, 2024, 4:57pm UTC](https://discourse.gohugo.io/t/cloudflare-blog-rebuild-of-dev-docs-including-hugo/38824 "2024-12-26T16:57:26Z")

</div>

Plenty in here about the switch from Gatsby back to Hugo.

---

## [Blank Page on Editing Posts in Penmark CMS with Hugo Integration](https://discourse.gohugo.io/t/blank-page-on-editing-posts-in-penmark-cms-with-hugo-integration/52396)

<div class="topic-metadata">

**Author:** [@georgekunchattil](https://discourse.gohugo.io/u/georgekunchattil)\
**Replies:** 1\
**Last updated:** [November 12, 2024, 1:14pm UTC](https://discourse.gohugo.io/t/blank-page-on-editing-posts-in-penmark-cms-with-hugo-integration/52396 "2024-11-12T13:14:35Z")

</div>

Hi everyone, I have integrated ‘Penmark CMS’ with Hugo project using Github credentials. When I try to edit content of Hugo post using ‘Penmark CMS’, I am getting a blank screen Reference screenshots Hugo Post: Hugo-…

---

## [Where will gohugo.io go?](https://discourse.gohugo.io/t/where-will-gohugo-io-go/51861)

<div class="topic-metadata">

**Author:** [@vdid](https://discourse.gohugo.io/u/vdid)\
**Replies:** 8\
**Last updated:** [October 10, 2024, 1:49am UTC](https://discourse.gohugo.io/t/where-will-gohugo-io-go/51861 "2024-10-10T01:49:52Z")

</div>

Once IO is removed, the IANA will refuse to allow any new registrations with a .io domain. It will also automatically begin the process of retiring existing ones. (There is no official count of the number of extant .io …

---

## [Hugo Probably Isn't For You](https://discourse.gohugo.io/t/hugo-probably-isnt-for-you/51105)

<div class="topic-metadata">

**Author:** [@kiantop](https://discourse.gohugo.io/u/kiantop)\
**Replies:** 7\
**Last updated:** [August 12, 2024, 4:00pm UTC](https://discourse.gohugo.io/t/hugo-probably-isnt-for-you/51105 "2024-08-12T16:00:33Z")

</div>

I just came across this article when hunting for an SSG for my WP blog. I would like to hear others’ experiences

---

## [Hugo themes overview not barrier-free for the visually disabled](https://discourse.gohugo.io/t/hugo-themes-overview-not-barrier-free-for-the-visually-disabled/50296)

<div class="topic-metadata">

**Author:** [@Sven\_Michael\_Klose](https://discourse.gohugo.io/u/Sven_Michael_Klose)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 7:27am UTC](https://discourse.gohugo.io/t/hugo-themes-overview-not-barrier-free-for-the-visually-disabled/50296 "2024-07-02T07:27:03Z")

</div>

Hi there! The preview images of the themes cannot be scaled. That’s bad for people who are “almost blind” compared to general population. Results in unnerving clicking around on the page and the loading times aren’t app…

---

## [Shouldn't \`.PageRef\` links have a trailing slash?](https://discourse.gohugo.io/t/shouldnt-pageref-links-have-a-trailing-slash/50010)

<div class="topic-metadata">

**Author:** [@adrian5](https://discourse.gohugo.io/u/adrian5)\
**Replies:** 2\
**Last updated:** [May 24, 2024, 6:10pm UTC](https://discourse.gohugo.io/t/shouldnt-pageref-links-have-a-trailing-slash/50010 "2024-05-24T18:10:12Z")

</div>

I found a lot of posts by people trying to get rid of trailing slashes, but I seem to have the opposite problem. The docs write the pageRef property without trailing slash, as below: menus.toml \[\[nav\]\] name = "Home" …

---

## [Hugo editor dashboard (markdown creator)](https://discourse.gohugo.io/t/hugo-editor-dashboard-markdown-creator/49824)

<div class="topic-metadata">

**Author:** [@vosto](https://discourse.gohugo.io/u/vosto)\
**Replies:** 0\
**Last updated:** [May 15, 2024, 9:54am UTC](https://discourse.gohugo.io/t/hugo-editor-dashboard-markdown-creator/49824 "2024-05-15T09:54:19Z")

</div>

I’ve put together a minimalist YAML Frontmatter Markdown Editor for Hugo Static Site Generator. It is a client-side JavaScript app to write YAML frontmatter and Markdown content files. You can customize it and integrate …

---

## [Emote: new free comment system](https://discourse.gohugo.io/t/emote-new-free-comment-system/49271)

<div class="topic-metadata">

**Author:** [@LITUATUI](https://discourse.gohugo.io/u/LITUATUI)\
**Replies:** 10\
**Last updated:** [April 17, 2024, 3:57pm UTC](https://discourse.gohugo.io/t/emote-new-free-comment-system/49271 "2024-04-17T15:57:20Z")

</div>

Hi guys! I just got an email from Ezoic announcing a new free comment system called Emote. It’s free and seems to be able to import comments from WordPress and Disqus. Emote Is Free For All Websites Introducing Emote …

---

## [Hugo + Baserow](https://discourse.gohugo.io/t/hugo-baserow/48531)

<div class="topic-metadata">

**Author:** [@dilgreen](https://discourse.gohugo.io/u/dilgreen)\
**Replies:** 1\
**Last updated:** [February 27, 2024, 3:17pm UTC](https://discourse.gohugo.io/t/hugo-baserow/48531 "2024-02-27T15:17:45Z")

</div>

Nothing revolutionary, but I just set up a Hugo + Baserow.io connection which is nice. (Baserow is an open source airtable-a-like, which very helpfully builds a specific API document for the data structures you make the…

---

## [Suggested additional documentation](https://discourse.gohugo.io/t/suggested-additional-documentation/48517)

<div class="topic-metadata">

**Author:** [@ZhangChengLin](https://discourse.gohugo.io/u/ZhangChengLin)\
**Replies:** 1\
**Last updated:** [February 27, 2024, 2:08am UTC](https://discourse.gohugo.io/t/suggested-additional-documentation/48517 "2024-02-27T02:08:07Z")

</div>

If you change defaultContentLanguageInSubdir to true, when visiting the German language site: {{ .Site.LanguagePrefix }} → /de Lang (string) The language tag as defined by RFC 5646. {{ .Site.Language.Lang }} …

---

## [Are hugo themes full hugo projects in itself?](https://discourse.gohugo.io/t/are-hugo-themes-full-hugo-projects-in-itself/46911)

<div class="topic-metadata">

**Author:** [@andrebuse](https://discourse.gohugo.io/u/andrebuse)\
**Replies:** 2\
**Last updated:** [November 1, 2023, 12:20pm UTC](https://discourse.gohugo.io/t/are-hugo-themes-full-hugo-projects-in-itself/46911 "2023-11-01T12:20:26Z")

</div>

\[This is more out of curiosity, everything works fine so I didn’t put it in the support category\] I am creating my own theme. I noticed that the skeleton created by hugo new theme contains a hugo.toml and also some plac…

---

## [How can i get code annotations？](https://discourse.gohugo.io/t/how-can-i-get-code-annotations/46843)

<div class="topic-metadata">

**Author:** [@BYTX-zyh](https://discourse.gohugo.io/u/BYTX-zyh)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 4:09pm UTC](https://discourse.gohugo.io/t/how-can-i-get-code-annotations/46843 "2023-10-27T16:09:37Z")

</div>

I now try to create my theme,and i saw mkdocs-material code annotations here : Code blocks - Material for MkDocs , how can i active this function in my site? is there some js plugin or other way?

---

## [Canonical exemplar of the generation of webappmanifest?](https://discourse.gohugo.io/t/canonical-exemplar-of-the-generation-of-webappmanifest/46822)

<div class="topic-metadata">

**Author:** [@Wolfspyre](https://discourse.gohugo.io/u/Wolfspyre)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 6:27pm UTC](https://discourse.gohugo.io/t/canonical-exemplar-of-the-generation-of-webappmanifest/46822 "2023-10-26T18:27:27Z")

</div>

on the output-formats page of the hugo documentation, there’s reference to Hugo’s ability to emit webappmanifest content. yet, if one searches for webmanifest or webappmanifest in the ‘search the docs’ section, no re…

---

## [Adding schema from data files](https://discourse.gohugo.io/t/adding-schema-from-data-files/46833)

<div class="topic-metadata">

**Author:** [@blubee](https://discourse.gohugo.io/u/blubee)\
**Replies:** 5\
**Last updated:** [October 26, 2023, 6:14pm UTC](https://discourse.gohugo.io/t/adding-schema-from-data-files/46833 "2023-10-26T18:14:32Z")

</div>

I use youtube api to get videoObject schema data and save it in data/videos {{ $regularPages := .Site.RegularPages }} {{ $currentPageURL := .Permalink }} {{ $videoData := .Site.Data.videos }} {{ $matchedData := dict }…

---

## [Wildcard match for folders in Hugo Resources?](https://discourse.gohugo.io/t/wildcard-match-for-folders-in-hugo-resources/46823)

<div class="topic-metadata">

**Author:** [@bootyocean18](https://discourse.gohugo.io/u/bootyocean18)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 12:37am UTC](https://discourse.gohugo.io/t/wildcard-match-for-folders-in-hugo-resources/46823 "2023-10-26T00:37:49Z")

</div>

I have my image assets divided thus: /assets/ - /images/ -- /articles/ -- /answers -- /podcast/ All three of these content types - answers, podcasts, and articles - use categories. On the categories list page, I have …

---

## [Which editor do you use to write Markdown content to publish in Hugo sites?](https://discourse.gohugo.io/t/which-editor-do-you-use-to-write-markdown-content-to-publish-in-hugo-sites/46681)

<div class="topic-metadata">

**Author:** [@vikramaruchamy](https://discourse.gohugo.io/u/vikramaruchamy)\
**Replies:** 14\
**Last updated:** [October 23, 2023, 2:50am UTC](https://discourse.gohugo.io/t/which-editor-do-you-use-to-write-markdown-content-to-publish-in-hugo-sites/46681 "2023-10-23T02:50:43Z")

</div>

poll

---

## [请问mac版本的如何更新最新版本？](https://discourse.gohugo.io/t/mac/46767)

<div class="topic-metadata">

**Author:** [@yydschen](https://discourse.gohugo.io/u/yydschen)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 12:48am UTC](https://discourse.gohugo.io/t/mac/46767 "2023-10-23T00:48:54Z")

</div>

Mac下直接使用 Homebrew 安装 \`\`\` brew install hugo 那又更新最新版本呢？

---

## [About the @GoHugoIo Twitter/x account](https://discourse.gohugo.io/t/about-the-gohugoio-twitter-x-account/46395)

<div class="topic-metadata">

**Author:** [@bep](https://discourse.gohugo.io/u/bep)\
**Replies:** 12\
**Last updated:** [October 10, 2023, 2:37pm UTC](https://discourse.gohugo.io/t/about-the-gohugoio-twitter-x-account/46395 "2023-10-10T14:37:31Z")

</div>

If you wonder why Hugo’s Twitter account has gone quiet: Musk has made some changes to the security delegation setup which means that we don’t have access to that anymore … I have done some detective work to try to fin…

---

## [Issue with website based on PaperMod](https://discourse.gohugo.io/t/issue-with-website-based-on-papermod/46521)

<div class="topic-metadata">

**Author:** [@Dumbledoge](https://discourse.gohugo.io/u/Dumbledoge)\
**Replies:** 3\
**Last updated:** [October 3, 2023, 9:44pm UTC](https://discourse.gohugo.io/t/issue-with-website-based-on-papermod/46521 "2023-10-03T21:44:25Z")

</div>

Hi! I am having weird issues with by website based on the PaperMod theme. Previous, I had a website the the following website structure: Content folder: ├── content │ ├── about │ │ └── index.md │ ├── contact │ │…

---

## [Need some guide to create my search page](https://discourse.gohugo.io/t/need-some-guide-to-create-my-search-page/46495)

<div class="topic-metadata">

**Author:** [@DefaultCyberid](https://discourse.gohugo.io/u/DefaultCyberid)\
**Replies:** 4\
**Last updated:** [October 2, 2023, 1:05pm UTC](https://discourse.gohugo.io/t/need-some-guide-to-create-my-search-page/46495 "2023-10-02T13:05:24Z")

</div>

I would like to create a separate search page where the user enters a keyword on any page and then jumps to a page like /search/ or /search.html to display the results. The place where the user’s search behavior occurs m…

---

## [Apply html class to element](https://discourse.gohugo.io/t/apply-html-class-to-element/46456)

<div class="topic-metadata">

**Author:** [@ed.p.may](https://discourse.gohugo.io/u/ed.p.may)\
**Replies:** 3\
**Last updated:** [September 28, 2023, 6:57pm UTC](https://discourse.gohugo.io/t/apply-html-class-to-element/46456 "2023-09-28T18:57:01Z")

</div>

Hi, I am wondering if there is a way to properly assign a custom class to a specific list-item? In my content .md page, I am able to apply a custom class type to an h1 Header using the normal syntax: # An Example {.im…

---

## [Using .Site variables within .md content?](https://discourse.gohugo.io/t/using-site-variables-within-md-content/46407)

<div class="topic-metadata">

**Author:** [@ed.p.may](https://discourse.gohugo.io/u/ed.p.may)\
**Replies:** 2\
**Last updated:** [September 25, 2023, 8:54pm UTC](https://discourse.gohugo.io/t/using-site-variables-within-md-content/46407 "2023-09-25T20:54:59Z")

</div>

Hi, I wonder if someone might let me know if I am approaching this correctly or not? I have many short text variables which I would like to make accessible throughout my site so that they can be updated within all conte…

---

## [How to set module version number for a custom Hugo theme?](https://discourse.gohugo.io/t/how-to-set-module-version-number-for-a-custom-hugo-theme/46399)

<div class="topic-metadata">

**Author:** [@rlskoeser](https://discourse.gohugo.io/u/rlskoeser)\
**Replies:** 2\
**Last updated:** [September 25, 2023, 4:05pm UTC](https://discourse.gohugo.io/t/how-to-set-module-version-number-for-a-custom-hugo-theme/46399 "2023-09-25T16:05:37Z")

</div>

I have a custom Hugo theme and I’ve successfully made it installable as a module, but I can’t figure out how to specify the version number; the hugo documentation for creating new themes and using modules doesn’t provide…

---

## [\-C "run as if hugo was started in given path" (equivalent to git -C)](https://discourse.gohugo.io/t/c-run-as-if-hugo-was-started-in-given-path-equivalent-to-git-c/46364)

<div class="topic-metadata">

**Author:** [@razpux](https://discourse.gohugo.io/u/razpux)\
**Replies:** 2\
**Last updated:** [September 23, 2023, 1:51pm UTC](https://discourse.gohugo.io/t/c-run-as-if-hugo-was-started-in-given-path-equivalent-to-git-c/46364 "2023-09-23T13:51:30Z")

</div>

What do you think about adding a new flag for hugo to simplify building the site from command line? It’s an equivalent of git -C. It would allow you to run hugo irrespective of your current location. Instead of writing …

---

## [Parse and read content of hugosite with golang and hugolib](https://discourse.gohugo.io/t/parse-and-read-content-of-hugosite-with-golang-and-hugolib/46359)

<div class="topic-metadata">

**Author:** [@Olopost](https://discourse.gohugo.io/u/Olopost)\
**Replies:** 1\
**Last updated:** [September 23, 2023, 10:20am UTC](https://discourse.gohugo.io/t/parse-and-read-content-of-hugosite-with-golang-and-hugolib/46359 "2023-09-23T10:20:12Z")

</div>

Hello everyone, I want to build a small indexer with bleve to index and search content in my hugosite. That’s work note mainly and I can’t use external service and elasticsearch take a lot of resource. I want to build …

---

## [“Read more” for {{ .Content }}](https://discourse.gohugo.io/t/read-more-for-content/46135)

<div class="topic-metadata">

**Author:** [@Fastidious](https://discourse.gohugo.io/u/Fastidious)\
**Replies:** 6\
**Last updated:** [September 19, 2023, 12:22pm UTC](https://discourse.gohugo.io/t/read-more-for-content/46135 "2023-09-19T12:22:02Z")

</div>

Is there a “read more” for {{ .Content }}? That is, a way to “break” a long post (without using {{ .Summary }}).

---

## [Wikimedia/fandom -like theme with infobox](https://discourse.gohugo.io/t/wikimedia-fandom-like-theme-with-infobox/46235)

<div class="topic-metadata">

**Author:** [@jeremyhager](https://discourse.gohugo.io/u/jeremyhager)\
**Replies:** 0\
**Last updated:** [September 15, 2023, 10:01pm UTC](https://discourse.gohugo.io/t/wikimedia-fandom-like-theme-with-infobox/46235 "2023-09-15T22:01:58Z")

</div>

Hi there - I’ve done some searching and found that the closest thing I can find for an infobox like with wikimedia is this post: MediaWiki Template However, the person didn’t post (much) code. I also looked through the …

[Next page](https://discourse.gohugo.io/c/uncategorized/1.md?page=1)
