Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 02:41
    moorereason opened #9928
  • 02:16
    github-actions[bot] locked #8564
  • 02:16
    github-actions[bot] commented #8564
  • 00:21
    stackkrocket commented #9620
  • May 25 23:51
    incognitozen commented #9861
  • May 25 22:20
    hsn10 commented #9915
  • May 25 22:19
    hsn10 commented #9915
  • May 25 22:05
    david-imola closed #1353
  • May 25 22:04
    david-imola commented #1353
  • May 25 22:04
    github-actions[bot] commented #1353
  • May 25 22:04
    CLAassistant commented #1353
  • May 25 22:04
    david-imola opened #1353
  • May 25 21:07
    jpmcb labeled #1710
  • May 25 21:07
    jpmcb labeled #1710
  • May 25 21:04
    jpmcb labeled #1709
  • May 25 21:04
    jpmcb labeled #1709
  • May 25 20:21
    gauntface commented #9636
  • May 25 19:42
    PapaCharlie commented #1626
  • May 25 19:26
    midzer commented #9861
  • May 25 19:22
    bep closed #9927
any idea how to use plantuml in hugo?
Soni L.
can we get an IRC yet?
Ross Moroney
hey guys, am getting an issue when using hugo-theme-learn, when I deploy the project, I am getting escaped html where I have {{% children depth="3" showhidden="false" %}}
anyone experienced this issue before?
tadziz Hello. Is there any Hugo themes expert who is selling services on fiverr? :)
Bjørn Erik Pedersen
You want a Hugo expert for 5 dollars?
tadziz Am, if i can find for 5$, then yes, usually they are more expensive on fiverr
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