Can you explain how the Hugo site generation works? #124
-
Hello there! Please check this out for reference:
https://github.com/ModiiMedia/contentful-hugo It's extremely flexible to create Hugo sites with leaf and branch page bundles. Can you have a Hugo site at the root of a domain, the API at a subdomain and the admin panel at a subdirectory or subdomain? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have the hugo compiler integrated in daptin. To use it what you need to do it create a subsite entry of type "hugo" and upload the appropriate hugo directory structure on the backing store (you can easily start with localhost disk backed store) of the subsite. Daptin will compile the hugo template with the content in the directory and expose the compiled site on the domain/subpath which you have configured in the subsite. You will also be able to live edit the content/template directly through apis and update the whole site on run time. |
Beta Was this translation helpful? Give feedback.
Hi @endlessuniverse
I have the hugo compiler integrated in daptin. To use it what you need to do it create a subsite entry of type "hugo" and upload the appropriate hugo directory structure on the backing store (you can easily start with localhost disk backed store) of the subsite.
Daptin will compile the hugo template with the content in the directory and expose the compiled site on the domain/subpath which you have configured in the subsite. You will also be able to live edit the content/template directly through apis and update the whole site on run time.