I have a multilingual site.
I would like when clicking on link
<a href='{{ "/tours/classic/" | relLangURL }}'>{{ i18n "klasicnaTura" }}</a>
To display content from my content/tours/classic
folder as a single page content.
But I am getting 404 page not found
error. It seems like it cant recognize content in my content folder.
My _default/baseof.html
looks like this:
<!DOCTYPE html>
<html lang="en">
{{ partial "homepage/header" . }}
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="300">
{{ block "main" .}}
{{end}}
{{ partial "homepage/footer.html" . }}
{{ partial "homepage/js_scripts.html" . }}
</body>
</html>
then _default/list.htm
i just put this part and same for _default/single.htm
:
{{ .Content }}
I am not sure why my content folder is not being displayed.