-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mount.disableWatch config option #12589
Comments
Although I haven't given it a lot of thought, I haven't come up with any exciting use cases for defer blocks either with or without mounting the public directory to something. I know that #8077 was one of the motivators for defer blocks, but that was before we introduced To your original questions...
Not yet.
No. |
I think I would rather call it "an example use" for defer blocks. Back links isn't something I'm terribly exited about, but to be effective at scale, it needs some "first class" support in Hugo. As to As to this particular issue, I'm having trouble finding useful examples, so I'll let it linger. |
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
Closes gohugoio#8086 Closes gohugoio#12589
https://gohugo.io/hugo-modules/configuration/#module-configuration-mounts
This idea came when working on #8086.
We need to think a little before doing this, but it would probably be really useful and mind-twisting if I could do:
And then in a template:
@jmooring do you
I have quickly tested it, and the only issue I have seen is that the mount setup checks to see of
source
exist before it mounts it, but that's fixable.The text was updated successfully, but these errors were encountered: