DEV DISCUSSIONS ONLY ... refer to https://gohugo.io for docs and https://discourse.gohugo.io for support and usage questions
bep on stable
releaser: Prepare repository fo… tpl/crypto: Add example for FNV… github: Add permissions to test… and 25 more (compare)
bep on master
releaser: Add release notes for… releaser: Bump versions for rel… common/hugo: Fix version logic … (compare)
bep on release-0.99.0
common/hugo: Fix version logic … (compare)
dependabot[bot] on github_actions
Bump golangci/golangci-lint-act… (compare)
bep on release-0.99.0
releaser: Add release notes for… releaser: Bump versions for rel… releaser: Prepare repository fo… (compare)
bep on v0.99.0
releaser: Add release notes for… releaser: Bump versions for rel… (compare)
bep on release-0.99.0
dependabot[bot] on go_modules
build(deps): bump github.com/be… (compare)
{{ 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.
.URL
but menuentry $.URL
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
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
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.
Error: "/workspace/themes/LoveIt/layouts/shortcodes/admonition.html:3:1": parse failed: template: shortcodes/admonition.html:3: function "merge" not defined