Questions tagged [hugo-theme]
20 questions
2
votes
1 answer
How to get Google Analytics GA4 to work with Hugo
I have a website that uses Hugo, in particular the hugo-renga theme (https://github.com/nanxstats/hugo-renga/blob/master/exampleSite/config.toml). In the past, Google Analytics has worked perfectly. However, I am trying to switch to Google Analytics…

bill999
- 2,147
- 8
- 51
- 103
2
votes
1 answer
How to list sub folder of section on hugo
How to list the subfolders of sections on an HTML page in Hugo for now I use the list.html file of the section

Nedjma Média
- 59
- 2
2
votes
1 answer
Integrating code via partials on a Hugo site not working
I am running an open source comment engine on my server which I want to integrate to my Hugo site.
After doing all the listed things below, the comment section is not visible, and only the heading appears.
What are the possible reasons for this and…

dummytokken
- 25
- 5
2
votes
1 answer
How do I serve a Hugo theme exampleSite?
I'm coming from using Jekyll as a Static Site Generator. Content and themes are normally kept in the same directory/git repo.
I'm trying to set up a Hugo site, using the bare-bones theme Hugo Xmin. It contains the standard directory exampleSite.
How…

Bastiaan Quast
- 2,802
- 1
- 24
- 50
1
vote
1 answer
Querying Nested Params in Hugo
I have the following configuration in my Hugo.toml:
[[params.pricing]]
PricingTitle = "Starter"
PricingRate = "27"
ButtonCaption = "Get Early Access"
[[features]]
Description = "First Lorem ipsum is common text"
…

Dchucks
- 1,189
- 5
- 22
- 48
1
vote
2 answers
Hugo Image Set Path
I'm new to Hugo, and having some trouble customizing a theme. This theme https://github.com/jpanther/congo takes advantage of Hugo Page Bundles to match a featured image string.
I would like to re-purpose this "featured:" field from the frontmatter…

sosukeinu
- 379
- 4
- 16
1
vote
1 answer
Hugo: Override single block in theme layout
I'm using a theme ( https://github.com/frjo/hugo-theme-zen ) which in it's baseof.html has {{- block "head" . }}{{ end }} and this block is not defined in any layout. Now I want to extend the theme by adding content in the head block.
My initial…

Octetz
- 159
- 8
1
vote
1 answer
How to change the background color for inline codes and code chunks in Hugo-apero blogdown
Recently, I would like to make some changes with my personal website, made with Hugo Apéro and blogdown, and what I would like to do initially is to change the the background color for inline codes and code chunks. Based on my web search, I found…

mzkrc
- 219
- 2
- 7
1
vote
0 answers
Issue with Hugo theme when creating a website using blogdown
I am trying to create a website using blogdown package in R. I used the hugo theme hugo-coder. The repo is here - https://github.com/luizdepra/hugo-coder. Everything works as expected except for one issue. When I write a blog in rmarkdown file and…

Sharif
- 163
- 1
- 9
1
vote
1 answer
Set a localized slug also for the pages belonging to default language in Hugo
I have two languages defined on the Hugo site. By default, Hugo doesn't add a language prefix to the pages that belong to the default language.
In my case, I would also like to prefix the pages for the default language with the language prefix. And…
user171453
1
vote
1 answer
Hugo documentation SSG: couldn't include html files via iFrame (getting 404 error)
We have a project to create frontend components built with SCSS and TS. Components can be changed per theme. For this we create a separate CSS & JS file for each theme.
We would like to present the components in a Bootstrap-like documentation. For…

Rahman Saleh
- 1,038
- 1
- 14
- 20
1
vote
1 answer
hugo: static site not fully generated in public dir
I'm new to hugo. I'm trying to generate the static version of my site.
I can run hugo server without any issue, the site shows up correctly in the browser.
But when I run hugo, the site shows up but without any of the CSS style.
The test site is…

Erwan
- 1,385
- 1
- 12
- 22
0
votes
0 answers
Hugo website deployment to vercel, issue with submodule
I am trying to deploy a Hugo static website to vercel via gitlab and having issues with theme submodule installation. Locally it is installed via git submodule add https://github.com/dsrkafuu/hugo-theme-fuji.git themes/fuji and it works.
When doing…

dmayilyan
- 3
- 3
0
votes
0 answers
In Hugo/blogdown academic theme: How does one show full lists of posts, publications, and talks?
How does one display the whole list of publications, talks, etc. shown in the latest yaml based hugo/blogdown academic-theme? instead of default = abbreviated list of five publications with a link to "show all publications".
In earlier versions…

shizzle
- 89
- 11
0
votes
0 answers
Hugo Megakit theme | How to realise dropdown menu?
I'm struggling to build my website with Hugo. Most of it is clear, but I can't figure out how to make a dropdown menu. I am using theme Megakit and I found another version here, which has some small features I like to incorporate.
Bonusquestion
How…

Schaep
- 1
- 1