Am trying to publish hugo in
/blog subdirectory of my domain. Have tried using
baseurl as siteurl.com/blog with build command as
hugo -b siteurl.com/blog and publish directory as
public/blog which generated 404 error on the site.
I intend to use
/ /landing/index.html 200 redirect to make a landing page but currently stuck at deploying the site. I can deploy it in
baseurl easily and its working.
I thought of something like
hugo && mv /* /blog/ && cd /blog/landing/ && mv /blog/landing/* /
but doesn’t seem like a legit way of doing it.
Any help is appreciated, but please don’t link me to Hugo’s documentation where they just say change