Replies: 3 comments 2 replies
-
I found a solution, but IMO is not a perfect one. Example of website, combining two projects. Looking at hugo.yml workflow, there are 2 execution steps: - name: Build Content
env:
HUGO_ENV: production
HUGO_ENVIRONMENT: production
TZ: America/New_York
run: |
hugo --gc --minify -s ./docs
hugo --gc --minify -s ./k3s-cluster -d "$(pwd)/docs/public/k3s-cluster" The key is to add the full path, otherwise the My goal is to use one Hextra module, then define two |
Beta Was this translation helpful? Give feedback.
-
I've made some improvements to the configuration, now I have a global Hugo.yaml and each directory contains only their specific settings. |
Beta Was this translation helpful? Give feedback.
-
Final solution was to create a |
Beta Was this translation helpful? Give feedback.
-
I have my website deployed with Github Pages, using Hextra. My goal is to combine the content of
./docs
and/k3s-cluster
into./docs/public
. The output is totally different, because eachhugo.yaml
has settings that cannot be combined. For example, themenu.main
is different in eachhugo.yaml
configuration file. Ideally, I would like to use a globalhugo.yaml
, and in each directory to have just the customized settings.Running the following commands does not generates the content in
./docs/public/k3s-cluster
, I'm not sure what am I missing:Beta Was this translation helpful? Give feedback.
All reactions