chore: Separating hugo module to it's own file

This commit is contained in:
Cristian Ditaputratama 2024-06-05 19:20:49 +07:00
parent 46e34d385d
commit 308cbd527b
Signed by: ditatompel
GPG key ID: 31D3D06D77950979
2 changed files with 37 additions and 56 deletions

View file

@ -11,59 +11,6 @@ enableEmoji: true
permalinks:
blog: /blog/:year/:month/:title
module:
# For some regions can not access the proxy.golang.org, i.e. China.
# See https://hugomods.com/en/blog/2023/04/go-and-hugo-proxy-servers/ for all available proxy servers.
# proxy: https://goproxy.cn,direct
# The order of module is very important, precedence from top to bottom.
imports:
# gallery modules.
- path: github.com/hbstack/gallery
- path: github.com/hbstack/gallery/modules/breadcrumb
# syntax highlighting, see https://hbstack.dev/en/docs/modules/syntax-highlighting/.
# - path: github.com/hbstack/syntax-highlighting/styles/github-dark
# icons modules
- path: github.com/hugomods/icons/vendors/font-awesome
# - path: github.com/hugomods/icons/vendors/mdi
# - path: github.com/hugomods/icons/vendors/simple-icons
# - path: github.com/hugomods/icons/vendors/tabler
# - path: github.com/hugomods/icons/vendors/feather
# blog comments engine
- path: github.com/hbstack/blog/modules/giscus # (upstream default)
# - path: github.com/hbstack/blog/modules/disqus
# - path: github.com/hbstack/blog/modules/utterances
# blog table of contents scrollspy
- path: github.com/hbstack/blog/modules/toc-scrollspy
# blog content panel
- path: github.com/hbstack/blog/modules/content-panel
# docs comments engine
- path: github.com/hbstack/docs/modules/giscus # (upstream default)
# - path: github.com/hbstack/docs/modules/utterances
# - path: github.com/hbstack/docs/modules/disqus
# docs table of contents scrollspy
- path: github.com/hbstack/docs/modules/toc-scrollspy
# docs content panel
- path: github.com/hbstack/docs/modules/content-panel
# other modules
# - path: github.com/hugomods/google-analytics
- path: github.com/hugomods/google-adsense
# recommended modules
# check which modules were imported by recommended module by "hugo mod graph | grep recommended".
# see also https://hbstack.dev/en/docs/modules/meta/.
# to remove unused modules, you need to replace the recommended module with modules your need.
- path: github.com/hbstack/meta/recommended
outputs:
home:
- HTML

View file

@ -0,0 +1,34 @@
imports:
# gallery modules.
- path: github.com/hbstack/gallery
- path: github.com/hbstack/gallery/modules/breadcrumb
# syntax highlighting, see https://hbstack.dev/en/docs/modules/syntax-highlighting/.
# - path: github.com/hbstack/syntax-highlighting/styles/github-dark
# icons modules
- path: github.com/hugomods/icons/vendors/font-awesome
# - path: github.com/hugomods/icons/vendors/mdi
# - path: github.com/hugomods/icons/vendors/simple-icons
# - path: github.com/hugomods/icons/vendors/tabler
# - path: github.com/hugomods/icons/vendors/feather
# blog table of contents scrollspy
- path: github.com/hbstack/blog/modules/toc-scrollspy
# blog content panel
- path: github.com/hbstack/blog/modules/content-panel
# docs comments engine
- path: github.com/hbstack/docs/modules/giscus # (upstream default)
# - path: github.com/hbstack/docs/modules/utterances
# - path: github.com/hbstack/docs/modules/disqus
# - path: github.com/hugomods/google-analytics
- path: github.com/hugomods/google-adsense
# recommended modules
# check which modules were imported by recommended module by "hugo mod graph | grep recommended".
# see also https://hbstack.dev/en/docs/modules/meta/.
# to remove unused modules, you need to replace the recommended module with modules your need.
- path: github.com/hbstack/meta/recommended