Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 00:01
    jmooring commented #9204
  • Jan 26 23:16
    CLAassistant commented #9430
  • Jan 26 23:12
    CLAassistant commented #9430
  • Jan 26 23:12
    Ephex2 opened #9430
  • Jan 26 23:11
    Ephex2 commented #9380
  • Jan 26 22:13
    michaeltlombardi commented #7368
  • Jan 26 20:25
    bojanvidanovic commented #8343
  • Jan 26 19:50
    jacobian commented #8343
  • Jan 26 19:32

    bep on master

    Fix duplicate mount sources Fi… (compare)

  • Jan 26 19:32
    bep closed #9428
  • Jan 26 19:32
    bep closed #9426
  • Jan 26 19:05
    jmooring closed #9429
  • Jan 26 19:05
    jmooring commented #9429
  • Jan 26 18:57
    dbrat43 opened #9429
  • Jan 26 18:48
    bep commented #9428
  • Jan 26 18:47
    bep review_requested #9428
  • Jan 26 18:47
    bep ready_for_review #9428
  • Jan 26 18:46
    bep synchronize #9428
  • Jan 26 18:44
    bep converted_to_draft #9428
  • Jan 26 18:43
    bep review_request_removed #9428
Tony Alves
@matrixbot Go here and get a real expert that can add value. https://discourse.gohugo.io/c/services
Mark Carpenter Jr
Hey anyone happen to know what version mermaid is?
Is there a reason the --minify tag isn't defaulted when building? I understand some people may be using gulp, or a similar preprocessor to do this, but I would assume the majority of people would benefit from adding minification by default.
Bjørn Erik Pedersen
You can set it in config.toml -- but the reason is SPEED. You (or I) don't want it during development.
Siddharth Shanbhogue
Hi! Can someone tell me what theme was used in the Hugo Main site Page?
@siddharthx64_twitter looking at the source repo, this is the theme https://github.com/gohugoio/gohugoioTheme
Hello everyone! Is there a repo just for the documentation? Not the whole hugo site but just the documentation?
Bjørn Erik Pedersen
The hugoDocs repo is the gohugo.io site.
Hi I have a site that works fine if I do hugo server but when I build a static site with just hugo it doesn't seem to use the theme, is there something I am missing about what I should do when building the static site?
{{ range .Site.Menus.main }}
                {{ if eq $.URL .Permalink }}
                <li class="nav-item active">
                {{ else }}
                <li class="nav-item">
                {{ end }}
                    <a class="nav-link" href="{{ .Permalink | absURL }}">{{ .Name }}</a>
                {{ end }}

Using $.URL for menu entry gives false warning, Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.

It's a bug i guess.

because I'm not using Page's .URL but menuentry $.URL
Is there a guide on how to handle this deprecation?
.URL is not deprecated for navigation.menuEntry then why it shows deprecation warning?
Another thing i noticed if you have <!--{{ .Hugo.Generator }}-->, it is commented out still outputs a warning that tells to not use .Hugo
Wylel Hey all, i am new to Hugo and running into an issue. I made a test site, worked well, then I decided to create a new one that I am going to develop. The new one is having an issue where the /posts/ directory is not accessable. If I go to it on the webserver (after deploy) it gives a 403 error, and one local (hugo server -D) it just shows a blank white page, but other pages (not in posts) works fine.
Wylel I am using the hello-friend-ng theme
Roi Peker
Hello everyone
Roi Peker
Someone used gohugo just for a rest api?
https://lunrjs.com/example/ is access denied error....Not working which is reffered in hugo link - https://www.npmjs.com/package/hugo-lunr
Wylel prog20901 (Gitter): I think you might need to report/ask that to the maintainer of that package

How to bring these in Hugo static site?

Need help on how to add the following features to hogo static for site search

a) type-ahead with no of matches found before search
c) highlighting the search word in found document or notes or text
d) easy navigation with next, previous, goto exact match button as well as
keyboard shortcuts
e) search only in titles or inside content
f) search results in less than a second
lunr or elastic search demo or showcase to customize.

Basically planning to built a cross platform search static engine...

In this way, the user just needs the browser no installation is required......

In this way, the application will be purely portable irrespective of OS....

Need couple of ways to customize it as per the needs

I went through the following but not sure...Please help


if somebody is available and able to customize as per requirement and will discuss about the estimate and cost as well...please ping me privately...
Jan Klass
How are images in markdown supposed to be handled?
Page resources seem to be a thing for the html templates.
I want to embed a simple image within the markdown content.
A simple relative URL breaks on a leaf page because the page is generated as a URL path folder, so one level too deep.
relref seems to be for pages, not resources.
It is a one-off image, so I am placing it next to the md file within content.
Jan Klass
reading page bundles docs again looks like I have to create a folder and index.md instead of a example.md with resources in the same folder. I guess what I tried is not a valid/expected use case...
Sysfuck Labs
Not sure if this is the right area to ask but has anyone used this for something to provide report generating? Would this or has this been used for creating static pages that can be used for some sort of final report format that avoids some of the issues with this all being done on the same place analytics and such are done?
From my brief assessment the taxonomy and static page along with some other features make it appear suited but wanted to know if Im missing something or if a use case exists, etc
John Langley
quick question about the handlebars scripting... what's the difference betwee {{ something }} and {{- something -}} ? TIA!
also, any pointers to learn more about that the use of the handlebars style of templating in hugo would be great. (Perhaps it is just go templating? I'm very new to hugo)
Brian Hogan
in a nutshell, {{ something }} prints out a value and can leave space around it, like a newline. {{- something -}} would suppress the newline. Think like an if statement - {{ if }} would leave a blank line in its place. {{ -if -}} would not. It's all about how you want the resulting source code to look. If you're generating a JSON file, then spacing might matter a lot more to you than if it's just HTML
Any Two panel or three panel theme with search....Any example ....with code...
https://watermelondb.now.sh/ and http://table.branham.org/#/main and https://lwbcast.org/Mobile
hello, I would like to build a subscription base website with hugo. Which CMS or API would you recommend (to handle authentification and membership)? Thanks in advance!
i want a beautiful responsive HTML datatable with search for static data which works offline. Can anyone help me with a good reference?
how can i prevent hugo from automatically wrapping images in a <p> element?


Does above hugo tailwind theme calls postcss for building hugo site only once or does it call it every time some change is made, I'm concerned about performance and security issues caused by calling nodejs code from hugo again and again.

Mani Kumar
Hello everyone! I published a package (python) that makes working with Hugo Archetypes much easier.
It supports bulk creation and population of markdown files from a CSV, and many helpful tweaks that work with any Hugo/NPM CLI you're using to make your files
https://medium.com/@helloitsmani/trying-to-speed-up-your-hugo-workflow-with-python-try-hugon-13e81cc32571 also put up some notes here if you'd rather just read it up on medium :)
Sorin Sbarnea
i have some stuff on s3 that I do not want to be removed.
Amith Mathew
I've been playing around and trying to build a deployment pipeline for a hugo site using Google Cloudbuild. I've got a custom "builder" docker image that inherits from Alpine and includes hugo (version 0.61). I use the LoveIt theme, however when trying to build I get a Parse failed error message Error: "/workspace/themes/LoveIt/layouts/shortcodes/admonition.html:3:1": parse failed: template: shortcodes/admonition.html:3: function "merge" not defined
Any pointers on what to look at would be much appreciated!
Sorin Sbarnea
Nobody using S3 with hugo? gohugoio/hugo#6681
Hi, so i have multiples of hugo shortcodes in a page. so each shortcode i need to call rest api. So there are redundant calling on same API already. How can i handle this. I did try put all APIs in one partial but i dont find way to retrieve back the data from shortcode. Kindly help. thanks
Manish Jung thapa
how to get list of tags inside sub content
I hit an interesting situation that unfortunately my Google-fu is not producing any answers on.
I have a static site (Hugo) that I want to also have an "app" embedded in.
If I want to have a react app hanging off that static site, what would be the best approach there? Just do create-react-app within a sub-folder?
Mani Kumar
I would want to ask, how's the app much different from the website? If it's a blog, you could just make it on react/OS frameworks and pull posts from the RSS feed Hugo creates.