mirror of
https://github.com/ditatompel/insights.git
synced 2025-01-08 03:12:06 +07:00
chore: Separating hugo module to it's own file
This commit is contained in:
parent
46e34d385d
commit
308cbd527b
2 changed files with 37 additions and 56 deletions
|
@ -11,71 +11,18 @@ 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
|
||||
- Offline # required by PWA module for displaying the offline pages.
|
||||
- Offline # required by PWA module for displaying the offline pages.
|
||||
- RSS
|
||||
- SearchIndex # required by search module.
|
||||
- SearchIndex # required by search module.
|
||||
- WebAppManifest # required by PWA module to make your site installable.
|
||||
|
||||
rssLimit: 9
|
||||
|
||||
taxonomies:
|
||||
authors: authors # multiple authors.
|
||||
authors: authors # multiple authors.
|
||||
tags: tags
|
||||
categories: categories
|
||||
series: series
|
||||
|
|
34
config/_default/module.yaml
Normal file
34
config/_default/module.yaml
Normal 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
|
Loading…
Reference in a new issue