I am new to HUGO Static Site Generator ( http://gohugo.io/ ). I am using a Hugo server locally available as localhost: 1313. I am trying to link pages in two different sections. My file " feature.md
" needs a link to " grid_modules.md
" and vice versa. The following is the directory structure for both files on the Hugo-generated site.
~/mysite/content/about/feature.md
~/mysite/content/modules/grid_modules.md
What is the best way to link both pages together? I am trying to do the following:
In feature.md
:
" [grid_modules] (../modules/grid_modules)
"
If I try to access this link, I get an error in " localhost:1313/about/modules/grid_modules
" which, as I know, is incorrect.
What am I missing in the links? Why I do not get a " localhost:1313/modules/grid_modules
" instead.
Adele source
share