Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:28
    moorereason commented #6599
  • 04:52
    iu4u57k3 commented #6599
  • 04:45
    iu4u57k3 commented #6599
  • 04:40
    kgvs opened #6608
  • 04:29
    moorereason commented #6599
  • 04:04
    iu4u57k3 commented #6599
  • 03:48
    kgvs opened #6607
  • 03:46
    kgvs closed #6605
  • 03:30
    wuhuanhost edited #6606
  • 03:28
    wuhuanhost opened #6606
  • 03:05
    kgvs opened #6605
  • Dec 10 23:19
    mismith0227 commented #781
  • Dec 10 23:18
    lburgazzoli commented #801
  • Dec 10 23:10
    neuwirthe commented #6161
  • Dec 10 22:51
    bep opened #6604
  • Dec 10 22:48

    bep on master

    markup: Add typographic chars f… (compare)

  • Dec 10 22:48
    bep closed #6603
  • Dec 10 22:48
    bep closed #6592
  • Dec 10 21:56
    zzossig commented #72
  • Dec 10 21:35
    bep demilestoned #6603
Tony Alves
@talves
@matrixbot Go here and get a real expert that can add value. https://discourse.gohugo.io/c/services
Mark Carpenter Jr
@mcarpenterjr
Hey anyone happen to know what version mermaid is?
RHEV
@NoahWilcox
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
@bep
You can set it in config.toml -- but the reason is SPEED. You (or I) don't want it during development.
Siddharth Shanbhogue
@siddharthx64_twitter
Hi! Can someone tell me what theme was used in the Hugo Main site Page?
Vijayabharathi
@vijayabharathib
@siddharthx64_twitter looking at the source repo, this is the theme https://github.com/gohugoio/gohugoioTheme
JSailo
@writarium
Hello everyone! Is there a repo just for the documentation? Not the whole hugo site but just the documentation?
Bjørn Erik Pedersen
@bep
The hugoDocs repo is the gohugo.io site.
-_-
@boarders___twitter
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?
iu4u57k3
@iu4u57k3
{{ 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>
                </li>
                {{ 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
iu4u57k3
@iu4u57k3
Is there a guide on how to handle this deprecation?
.URL is not deprecated for navigation.menuEntry then why it shows deprecation warning?
iu4u57k3
@iu4u57k3
Another thing i noticed if you have <!--{{ .Hugo.Generator }}-->, it is commented out still outputs a warning that tells to not use .Hugo
matrixbot
@matrixbot
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
@roipeker
Hello everyone
Roi Peker
@roipeker
Someone used gohugo just for a rest api?
prog20901
@prog20901
https://lunrjs.com/example/ is access denied error....Not working which is reffered in hugo link - https://www.npmjs.com/package/hugo-lunr
matrixbot
@matrixbot
Wylel prog20901 (Gitter): I think you might need to report/ask that to the maintainer of that package
prog20901
@prog20901

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

https://www.npmjs.com/package/hugo-lunr
https://gohugo.io/tools/search/#readout


prog20901
@prog20901
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...
qiaolingling112
@qiaolingling112
这个模板可以免费使用吗
Jan Klass
@Kissaki
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
@Kissaki
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
@sysfuckdiscover_twitter
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
@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
@napcs
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
prog20901
@prog20901
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
wolfofbitcoins
@Wolf_Of_BTC_twitter
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!
prog20901
@prog20901
i want a beautiful responsive HTML datatable with search for static data which works offline. Can anyone help me with a good reference?
John
@jallbrit
how can i prevent hugo from automatically wrapping images in a <p> element?
iu4u57k3
@iu4u57k3

https://github.com/dirkolbrich/hugo-theme-tailwindcss-starter

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.