Skip to main content
0 votes
0 answers
19 views

How can I fix the kerning of text generated by GoAT (Go Ascii Tool)

I am using GoAT within hugo to render diagrams. The following diagram: .------------------------------------. | .------------------------...
user82928's user avatar
  • 877
1 vote
1 answer
18 views

Hugo site on GitLab Pages – sitemap.xml shows gitlab.io domain instead of custom domain

The site works fine on my custom domain (e.g. https://www.example.com/), but in the generated sitemap.xml (and also in RSS feeds) the URLs still point to the GitLab Pages default URL (https://project-...
Udi's user avatar
  • 30.8k
0 votes
0 answers
33 views

Deploying Hugo Site to Azure Static Web Apps using Github Actions fails. Error "Oryx could not find a 'build' or 'build:azure' script"

I have created a Hugo static app, and am attempting to deploy it to an Azure Static Web App, using the Github action created by Azure when creating the resource. I am following the tutorial at https://...
Leofyris's user avatar
0 votes
0 answers
19 views

Can't load .yml files from the data folder to a template

My Goal is to use a template (card_gallery.html) to display different content depending on the specific page using the template. My info about what should be on each card is stored in a data structure ...
NinjaOtt3r's user avatar
0 votes
1 answer
42 views

Setting theme via config Vs. --theme (New template system)

I have this in hugo.toml theme="r-hugo-theme" and this folder structure: I'm trying to follow the new template system: https://gohugo.io/templates/new-templatesystem-overview/ I get the ...
pleasebenice's user avatar
0 votes
0 answers
31 views

Hugo i18n translation

In hugo, We can specify i18n translation keys for specific edition, but if the key is not present in the specific lang like es-xl.yaml, it should take the translation available from the default lang ...
Kathiresh P's user avatar
0 votes
1 answer
152 views

How to use page width in Hugo template?

I am using Hugo Universal theme, but saw that code in many other themes, too. To lay out a "table" of features, they use [params.features] cols = 2 # Default: 3, Available values 2,3,4,6 ...
Vlad Feinstein's user avatar
0 votes
0 answers
17 views

{{<columns>}} does not display images - it just renders the image tag

I have the following in my Hugo site: {{< columns >}} The top-right corner of the home page shows your email address and can be used to access your profile. <---> ![email-address](top-...
mikeb's user avatar
  • 11.5k
0 votes
0 answers
38 views

How can I enable utterances in theme?

I followed the Blowfish documentation and tried to use Utterances for comments. However, after running hugo server, I received the following warning: WARN [BLOWFISH] Comments are enabled for post/fb-...
Gou935's user avatar
  • 1
0 votes
0 answers
67 views

My Hugo site does not show my custom index.html page

I got this weird problem. Locally, Hugo shows the default index.html page, and whenever I may an edit to my custom index.html page (any edit, even adding a space, literally), a refresh is triggered, ...
meniman98's user avatar
  • 342
1 vote
1 answer
74 views

Bash script to insert/update nested values in hugo.toml — not working as expected

I'm trying to write a Bash script that updates the hugo.toml config file of a Hugo static site to insert a slogan parameter in the [languages.xx.params] section of each language. Goal: For each ...
WilOnWeb's user avatar
0 votes
0 answers
49 views

HTML tags are shown on homepage

I installed Hugo with the Docsy theme. Docsy is installed as a Hugo module. When opening the homepage, the title "Welcome" and some HTML code are shown <a class="btn btn-link ...
Bilcuzal's user avatar
0 votes
1 answer
49 views

Hugo on github pages have wrong image url

I made a site with Hugo and deployed to Github pages but the image path wrong. Repository: hugo_akinator Dir: ├── content │ ├── _index.md │ ├── cards │ │ ├── index.md │ │ ├── card1 │ │ ...
ken3's user avatar
  • 1
0 votes
1 answer
135 views

How to check for non-empty string?

In Hugo, how do I check that an input string should not be empty? I've tried the following approaches: Check for truthy {{if $foo }} <!-- Show something --> {{ end }} Using the len function {{...
Mig82's user avatar
  • 5,596
1 vote
0 answers
117 views

Decap CMS OAuth Redirect Issue - Redirecting to Homepage Instead of Admin Page After GitLab Authorization

I'm experiencing an issue with Decap CMS OAuth integration. Here's the situation: I have successfully set up Decap CMS with GitLab authentication. When I authorize using GitLab, I'm correctly ...
dnyesil's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
90