JupiterBroadcasting / jupiterbroadcasting.com

JupiterBroadcasting.com, hugo-based and community-driven!
https://jupiterbroadcasting.com
102 stars 49 forks source link

Symlinks breaking on Windows dev environment #302

Open elreydetoda opened 2 years ago

elreydetoda commented 2 years ago

Could this not be achieved using aliases instead? Symlinks don't work at all on Windows, so cloning the site there will lead to very strange build issues.

https://gohugo.io/content-management/urls/#aliases

Originally posted by @RealOrangeOne in https://github.com/JupiterBroadcasting/jupiterbroadcasting.com/issues/121#issuecomment-1218133611

StefanS-O commented 2 years ago

Or module mounts:

https://gohugo.io/hugo-modules/configuration/#module-config-mounts

# Module mounts
[module]
#[[module.mounts]]
#  source = 'sites/coder-radio/content'
#  target = 'content'
# currently it prevents us from mounting sites/coder-radio/content directly
# https://github.com/gohugoio/hugo/issues/7123
[[module.mounts]]
  source = 'sites/jblive/content'
  target = 'content'
gerbrent commented 2 years ago

From what I gather, this is a development environment topic, yes? Also, I see some coder-radio sub-site references there, did we miss some in the solving of #277 ?

Trying to sort this issue a little, so if you feel some tags would help or an edit of the title please feel free!

elreydetoda commented 2 years ago

From what I gather, this is a development environment topic, yes?

Yes, I think that'd be an appropriate label

Also, I see some coder-radio sub-site references there, did we miss some in the solving of https://github.com/JupiterBroadcasting/jupiterbroadcasting.com/pull/277 ?

I don't think so, this is the link to the most recent config.toml file: https://github.com/JupiterBroadcasting/jupiterbroadcasting.com/blob/8c174b85b299b1cf5de55e20f65a3280eebfc9ed/config.toml and I Ctrl+f'ed the page and didn't find a mention of it.