forked from google/docsy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: hugo serve does not serve font awesome anymore (google#1281)
- Loading branch information
Showing
1 changed file
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,42 @@ | ||
[module] | ||
_merge = "deep" | ||
# work around https://github.com/golang/go/issues/37397 | ||
[[module.mounts]] | ||
source = "assets/bootstrap/scss/_vendor" | ||
target = "assets/vendor/bootstrap/scss/vendor" | ||
# mount asserts directory | ||
[[module.mounts]] | ||
source = "assets" | ||
target = "assets" | ||
# mount i18n directory | ||
[[module.mounts]] | ||
source = "i18n" | ||
target = "i18n" | ||
# mount layouts directory | ||
[[module.mounts]] | ||
source = "layouts" | ||
target = "layouts" | ||
# mount static directory | ||
[[module.mounts]] | ||
source = "static" | ||
target = "static" | ||
# Dependencies are brought in as modules | ||
# and mount points are declared | ||
[[module.imports]] | ||
path = "github.com/twbs/bootstrap" | ||
disable = false | ||
[[module.imports.mounts]] | ||
source = "scss" | ||
target = "assets/vendor/bootstrap/scss" | ||
[[module.imports.mounts]] | ||
source = "dist/js" | ||
target = "assets/vendor/bootstrap/dist/js" | ||
[[module.imports]] | ||
path = "github.com/FortAwesome/Font-Awesome" | ||
disable = false | ||
[[module.imports.mounts]] | ||
source = "scss" | ||
target = "assets/vendor/Font-Awesome/scss" | ||
[module] | ||
_merge = "deep" | ||
# work around https://github.com/golang/go/issues/37397 | ||
[[module.mounts]] | ||
source = "assets/bootstrap/scss/_vendor" | ||
target = "assets/vendor/bootstrap/scss/vendor" | ||
# mount asserts directory | ||
[[module.mounts]] | ||
source = "assets" | ||
target = "assets" | ||
# mount i18n directory | ||
[[module.mounts]] | ||
source = "i18n" | ||
target = "i18n" | ||
# mount layouts directory | ||
[[module.mounts]] | ||
source = "layouts" | ||
target = "layouts" | ||
# mount static directory | ||
[[module.mounts]] | ||
source = "static" | ||
target = "static" | ||
# Dependencies are brought in as modules | ||
# and mount points are declared | ||
[[module.imports]] | ||
path = "github.com/twbs/bootstrap" | ||
disable = false | ||
[[module.imports.mounts]] | ||
source = "scss" | ||
target = "assets/vendor/bootstrap/scss" | ||
[[module.imports.mounts]] | ||
source = "dist/js" | ||
target = "assets/vendor/bootstrap/dist/js" | ||
[[module.imports]] | ||
path = "github.com/FortAwesome/Font-Awesome" | ||
disable = false | ||
[[module.imports.mounts]] | ||
source = "scss" | ||
target = "assets/vendor/Font-Awesome/scss" | ||
[[module.imports.mounts]] | ||
source = "webfonts" | ||
target = "static/webfonts" |