hugo-creative-portfolio-theme
hugo-creative-portfolio-theme copied to clipboard
How to change url "portfolio/" to "/"
Hello,
this theme is so beautiful for my visual project portfolio.
Everything is worked, but I can't to change "portfolio/" to "/".
For example I want my website to be http://domain.com/
than "http://domain.com/portfolio/" .
Is this possible?
Thank you.
Have you found a solution? I'm having the same issue. If I find something, I'll write it here.
EDIT: #46 is about this issue.
+1
I am also looking for a solution
Solution: config.toml:
[[params.navlinks]]
name = "Home"
url = "/"
home = true
Themes/hugo-c-p-f-theme/layouts/_default/list.html
{{ define "main" }}
{{ partial "portfolio.html" . }}
{{ end }}
Remove content/portfolios folder and move all content to content folder
Solution: config.toml:
[[params.navlinks]] name = "Home" url = "/" home = true
Themes/hugo-c-p-f-theme/layouts/_default/list.html
{{ define "main" }} {{ partial "portfolio.html" . }} {{ end }}
Remove content/portfolios folder and move all content to content folder
This does not work, it produces a continuous refresh loop.
I'm really late to the party but I successfully deleted the '/portfolio' and displayed items on the main page, here is the commit with how to do it: https://github.com/AJuliette/portfolio/commit/2fa8144c3bbd6ac36c6e65490bfe572f21a309d9
I'm really late to the party but I successfully deleted the '/portfolio' and displayed items on the main page, here is the commit with how to do it: AJuliette/portfolio@2fa8144
I'm done with it! Thank you very much! You can see it here: https://www.cat-fish.net