I am new to HUGO (http://gohugo.io/) static site generator. I am running Hugo server locally accessible as localhost:1313. I am trying to link pages in two different sections. My "feature.md
" file need a link to "grid_modules.md
" and vice versa. Following is the directory structure for both files in hugo generated site.
~/mysite/content/about/feature.md
~/mysite/content/modules/grid_modules.md
What is the best way to link both pages together? What I am trying is the following
In feature.md
:
"[grid_modules] (../modules/grid_modules)
"
If I try to access this link, I get an error at "localhost:1313/about/modules/grid_modules
" which I know is wrong location.
What I am missing in linking? Why I am not getting "localhost:1313/modules/grid_modules
" instead.