Questions tagged [hugo]
Hugo is a very fast static site generator written in Go. Please refer to https://gohugo.io/documentation/ or https://discourse.gohugo.io/ before posting questions here.
hugo
1,342
questions
0
votes
1
answer
37
views
How to decompose JavaScript in hugo js build
I make website using Hugo and p5
On one page I have several skethes with p5 canvas.
So something like this
sketch_1.js
import p5 from 'js/libs/p5.min.js';
import math from 'js/libs/math.js';
{
new ...
1
vote
1
answer
30
views
How to Add Social Icons to About Page and/or Footer using FixIt theme?
Am new to Hugo and am trying to place Social Icons (GitHub, LinkedIn & Footer) to a specific page (e.g. About page or Footer).
Using: hugo v0.128.2 and the FixIt 2 theme.
Inside my hugo.toml file (...
0
votes
0
answers
19
views
Docsy edit link are generate with local absolute path
I have install hugo v0.128.2 and Docsy example as a template (last version) on windows 11.
In doc section the edit link is refered the github repo + the local absolute path instead of related path in ...
1
vote
2
answers
30
views
Embeding a multi line markdown variable in a html shortcode
I'm trying to display some information about a person including Picture & Biography. The biography comes from a user controlled source that accept markdown. I managed to print multiline input ...
1
vote
1
answer
20
views
How to Resolve Image Caching Issues in Hugo Sites? -It throws "error calling fingerprint: <nil> can not be transformed" error
I built a website using Hugo, but I've been facing persistent image caching problems. Every time I update an image, I need to ask users to clear their browser cache to see the new images, which is not ...
1
vote
1
answer
30
views
Lunr.js with offline search is not working
I am trying to enable Lunr.js offline search in my hugo site with docsy theme.
I have enabled the following in my config.toml file
# Enable Lunr.js offline search
offlineSearch = true
...
0
votes
0
answers
25
views
Git-cliff with Hugo hosted at GitLab pages
I would like to implement an automated changelog with git-cliff
https://github.com/orhun/git-cliff
https://git-cliff.org
The changelog is to be integrated into a Hugo project which is to be hosted ...
-1
votes
1
answer
32
views
How to build custom skill blocks in hugoblox
I am creating a group web page using https://hugoblox.com/templates/details/research-group/
I want the new skills (Teaching) to be added in individual profile. So, I followed https://bootstrap....
3
votes
0
answers
44
views
How to correct a condition according to site lang with Hugo cms?
Hello everyone and thank you for taking the time to help me.
I need to do a condition according to the language of the website.
In the following partial, I need to display an aria label according to ...
1
vote
1
answer
37
views
Shipping a full custom theme for Hugo-blox site
I've been working through this tutorial on how to set up a Hugo website. But I think the wochemy theme install must've changed a bit since it was written as i'm struggling to find some of the folders ...
-1
votes
1
answer
31
views
Ananke Website Theme in Hugo, failed to load modules
just want to ask about this problem, im having a hard time setting up my local host. can anyone know how to fix this? whenever i type ./hugo server, i receive this error although go.mod file is ...
0
votes
0
answers
35
views
Custom authentication using Decap CMS
I am trying to build a static site generator similar to this
I want to use my own custom auth in my Hugo + Decap setup. Also how do I make sure that the changes in admin panel go to my Azure devops. ...
2
votes
1
answer
41
views
With Hugo, can we use Markdown file in a HTML file?
I have index.html and I want to have its content as MD files content.md.
There are also blurt answer on how to do it such as this one but they throw an error as well it doesn't feel right since the ...
0
votes
1
answer
57
views
HUGO content is not rendering [closed]
This is my first time using Hugo. My problem is that the content i put into the .md file is not showing on the targed page. I've checked the path and according to the HUGO-Docs it is all set up right.
...
1
vote
1
answer
52
views
Hugo Website pages visible when locally served but not through github pages
I'm a relative novice using hugo, and I recently used the blogdown package to create a hugo website. I'm using the academic theme, which I forked from this github repository.
While creating my content,...