mirror of
https://github.com/ditatompel/insights.git
synced 2025-01-08 03:12:06 +07:00
chore: Use hugo v0.133.0
This commit is contained in:
parent
2b6e862c9a
commit
85735b359e
4 changed files with 47 additions and 40 deletions
2
.github/workflows/production.yaml
vendored
2
.github/workflows/production.yaml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
|||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "0.126.3"
|
||||
hugo-version: "0.133.0"
|
||||
extended: true
|
||||
|
||||
- name: Cache Hugo modules
|
||||
|
|
2
.github/workflows/staging.yaml
vendored
2
.github/workflows/staging.yaml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "0.126.3"
|
||||
hugo-version: "0.133.0"
|
||||
extended: true
|
||||
|
||||
- name: Cache Hugo modules
|
||||
|
|
75
README.md
75
README.md
|
@ -24,49 +24,50 @@ npm run prod
|
|||
```
|
||||
|
||||
## Original upstream section
|
||||
|
||||
### Documentations
|
||||
|
||||
| English | 简体中文 |
|
||||
| ------- | -------- |
|
||||
| English | 简体中文 |
|
||||
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
|
||||
| [Prerequisites](https://hbstack.dev/en/docs/getting-started/prerequisites/) | [先决条件](https://hbstack.dev/zh-hans/docs/getting-started/prerequisites/) |
|
||||
| [Installation](https://hbstack.dev/en/docs/getting-started/installation/) | [安裝](https://hbstack.dev/zh-hans/docs/getting-started/installation/) |
|
||||
| [Configuration](https://hbstack.dev/en/docs/configuration/) | [配置](https://hbstack.dev/zh-hans/docs/configuration/) |
|
||||
| [Content](https://hbstack.dev/en/docs/content/) | [内容](https://hbstack.dev/zh-hans/docs/content/) |
|
||||
| [Deployment](https://hbstack.dev/en/docs/deployment/) | [部署](https://hbstack.dev/zh-hans/docs/deployment/) |
|
||||
| [Modules](https://hbstack.dev/en/docs/modules/) | [模块](https://hbstack.dev/zh-hans/docs/modules/) |
|
||||
| [Installation](https://hbstack.dev/en/docs/getting-started/installation/) | [安裝](https://hbstack.dev/zh-hans/docs/getting-started/installation/) |
|
||||
| [Configuration](https://hbstack.dev/en/docs/configuration/) | [配置](https://hbstack.dev/zh-hans/docs/configuration/) |
|
||||
| [Content](https://hbstack.dev/en/docs/content/) | [内容](https://hbstack.dev/zh-hans/docs/content/) |
|
||||
| [Deployment](https://hbstack.dev/en/docs/deployment/) | [部署](https://hbstack.dev/zh-hans/docs/deployment/) |
|
||||
| [Modules](https://hbstack.dev/en/docs/modules/) | [模块](https://hbstack.dev/zh-hans/docs/modules/) |
|
||||
|
||||
### Features
|
||||
|
||||
- **Fast** and **SEO** friendly: [PageSpeed Insight](https://pagespeed.web.dev/analysis?url=https://theme.hbstack.dev/en/) scored perfect :100: in all four metrics on mobile and desktop.
|
||||
- **Multi-purpose**: blog, project documentations, digital garden, gallery, landing pages and so on.
|
||||
- **Responsive**: mobile first, built on top of Bootstrap v5.3.
|
||||
- :ice_cube: **Modular** and **flexible**: extend features via various modules.
|
||||
- :first_quarter_moon: **Dark mode**: light, dark or auto (follow system).
|
||||
- :mag: **Search**: powerful client side *fuzzy* search that allows *filtering* and *sorting* of results, as well as searching from all multilingual sites.
|
||||
- **PurgeCSS**: remove unused CSS.
|
||||
- :rocket: **PWA**:
|
||||
- Installable: add site to home screen.
|
||||
- Offline available: offline page and offline image.
|
||||
- Allow precaching resources, such as CSS, JS and fonts.
|
||||
- **Advanced**:
|
||||
- Custom SCSS [variables](https://github.com/hbstack/theme/blob/main/assets/hb/modules/custom/scss/variables.tmpl.scss) and [style](https://github.com/hbstack/theme/blob/main/assets/hb/modules/custom/scss/index.scss).
|
||||
- Custom [JavaScript](https://github.com/hbstack/theme/blob/main/assets/hb/modules/custom/js/index.ts).
|
||||
- Custom HTML markup:
|
||||
- [Before the end of `<head>`](https://github.com/hbstack/theme/blob/main/layouts/partials/hugopress/modules/hb-custom/hooks/head-end.html)
|
||||
- [Before the end of `<body>`](https://github.com/hbstack/theme/blob/main/layouts/partials/hugopress/modules/hb-custom/hooks/body-end.html)
|
||||
- :framed_picture: **Images Processing**: process images via URL query string and fragment, such as alignment, resizing, cropping and so on, friendly to Markdown.
|
||||
- :computer: **Code block panel**: expand toggle, code copy button, line number toggle and wrap toggle.
|
||||
- **Menus**: supports header menus and footer menus.
|
||||
- Related posts slide.
|
||||
- :framed_picture: Image viewer: zoom in/out image.
|
||||
- :card_index_dividers: **Archives**: group by year and month.
|
||||
- :memo: **Multiple authors**: articles can be co-authored.
|
||||
- :globe_with_meridians: **Multilingual**.
|
||||
- :arrow_left: **RTL**: supports Right-to-Left languages.
|
||||
- :arrow_up: Back/Return to top button.
|
||||
- Social links: supports header and footer social links.
|
||||
- Content: supports KaTex (math), Mermaid (diagrams) and Bootstrap shortcodes.
|
||||
- ...
|
||||
- **Fast** and **SEO** friendly: [PageSpeed Insight](https://pagespeed.web.dev/analysis?url=https://theme.hbstack.dev/en/) scored perfect :100: in all four metrics on mobile and desktop.
|
||||
- **Multi-purpose**: blog, project documentations, digital garden, gallery, landing pages and so on.
|
||||
- **Responsive**: mobile first, built on top of Bootstrap v5.3.
|
||||
- :ice_cube: **Modular** and **flexible**: extend features via various modules.
|
||||
- :first_quarter_moon: **Dark mode**: light, dark or auto (follow system).
|
||||
- :mag: **Search**: powerful client side _fuzzy_ search that allows _filtering_ and _sorting_ of results, as well as searching from all multilingual sites.
|
||||
- **PurgeCSS**: remove unused CSS.
|
||||
- :rocket: **PWA**:
|
||||
- Installable: add site to home screen.
|
||||
- Offline available: offline page and offline image.
|
||||
- Allow precaching resources, such as CSS, JS and fonts.
|
||||
- **Advanced**:
|
||||
- Custom SCSS [variables](https://github.com/hbstack/theme/blob/main/assets/hb/modules/custom/scss/variables.tmpl.scss) and [style](https://github.com/hbstack/theme/blob/main/assets/hb/modules/custom/scss/index.scss).
|
||||
- Custom [JavaScript](https://github.com/hbstack/theme/blob/main/assets/hb/modules/custom/js/index.ts).
|
||||
- Custom HTML markup:
|
||||
- [Before the end of `<head>`](https://github.com/hbstack/theme/blob/main/layouts/partials/hugopress/modules/hb-custom/hooks/head-end.html)
|
||||
- [Before the end of `<body>`](https://github.com/hbstack/theme/blob/main/layouts/partials/hugopress/modules/hb-custom/hooks/body-end.html)
|
||||
- :framed_picture: **Images Processing**: process images via URL query string and fragment, such as alignment, resizing, cropping and so on, friendly to Markdown.
|
||||
- :computer: **Code block panel**: expand toggle, code copy button, line number toggle and wrap toggle.
|
||||
- **Menus**: supports header menus and footer menus.
|
||||
- Related posts slide.
|
||||
- :framed_picture: Image viewer: zoom in/out image.
|
||||
- :card_index_dividers: **Archives**: group by year and month.
|
||||
- :memo: **Multiple authors**: articles can be co-authored.
|
||||
- :globe_with_meridians: **Multilingual**.
|
||||
- :arrow_left: **RTL**: supports Right-to-Left languages.
|
||||
- :arrow_up: Back/Return to top button.
|
||||
- Social links: supports header and footer social links.
|
||||
- Content: supports KaTex (math), Mermaid (diagrams) and Bootstrap shortcodes.
|
||||
- ...
|
||||
|
||||
### Screenshot
|
||||
|
||||
|
|
6
go.sum
6
go.sum
|
@ -24,6 +24,7 @@ github.com/hbstack/blog v0.37.0 h1:+zuGY2pc35R2a8uj+6iKAQaz19Xts6IsAntF4Vl3IW8=
|
|||
github.com/hbstack/blog v0.37.0/go.mod h1:9yZB+gkRkINisP5uWk5CllGJ4bv211KjkHdsTtvEdjM=
|
||||
github.com/hbstack/blog v0.37.1 h1:PbOFTfoWS6xvmo+s1ZkIti/X28afD7zdPiWhe2dJgdI=
|
||||
github.com/hbstack/blog v0.37.1/go.mod h1:X4Wo3ClIdrMNXiZ7JbI65pKLNCVt5HJeidFMSIFIwb8=
|
||||
github.com/hbstack/blog v0.37.2 h1:ej58w/mfY08X8AwLlVNQIwRhTfvGeGyy7WuIn9H9tUw=
|
||||
github.com/hbstack/blog v0.37.2/go.mod h1:ivXn9g7VMsTmlbkrBsY6rA/+8KWESGXZI60CTTCBLyw=
|
||||
github.com/hbstack/blog/modules/breadcrumb v0.1.23 h1:MgUR88vv4cs/M1/cVBKUInFw3DcRw0W2AlmmcdhxewY=
|
||||
github.com/hbstack/blog/modules/breadcrumb v0.1.23/go.mod h1:smQySqXDtUv2pP7bb+XBr+QGNFxhDGN0fLmQkOIWa5g=
|
||||
|
@ -93,6 +94,7 @@ github.com/hbstack/header v0.14.5 h1:TGjaudDop6df38A0K8hjMOdmcD1WpUN03xenpgR7tJw
|
|||
github.com/hbstack/header v0.14.5/go.mod h1:W7eolpYJctsTD8GVFEj09Ogbqqy8OAqcxBEbW3ZTYIg=
|
||||
github.com/hbstack/header v0.14.6 h1:HyRbRtn8ckakpW+TRwYzYXXLfYbx3+pt50uacE7qgnA=
|
||||
github.com/hbstack/header v0.14.6/go.mod h1:L/d+aYCUxWqzvdGzsVUI8hWJNESs1qw4emI4Gobvda4=
|
||||
github.com/hbstack/header v0.15.0 h1:HEeag8NJHgA3mBh2ryjc+7wcZYHxJmoZoVdvk5mmBAU=
|
||||
github.com/hbstack/header v0.15.0/go.mod h1:L/d+aYCUxWqzvdGzsVUI8hWJNESs1qw4emI4Gobvda4=
|
||||
github.com/hbstack/header/modules/language-picker v0.1.26 h1:iu/PtI6ckZt/6o7ekzcpFZYZEwRsNM/rxRuqRrAr0m0=
|
||||
github.com/hbstack/header/modules/language-picker v0.1.26/go.mod h1:/U3czl4OdnIVkThN1hb1r0HCElgeCr4rZx0Rl/TCGME=
|
||||
|
@ -151,6 +153,7 @@ github.com/hugomods/bootstrap v0.22.3 h1:q/lqm4rx0TefUALFFD54j19y7uu3toqYCOAWSte
|
|||
github.com/hugomods/bootstrap v0.22.3/go.mod h1:OpcaTH8dMsWqCeSSJ8IGqjEvK2zghLm8wD8ka3d33jc=
|
||||
github.com/hugomods/code-block-panel v0.7.0 h1:7y8wbXMPvaFpqNIRUb8ykOQtz+E8lVcYd3yWGv2gMGw=
|
||||
github.com/hugomods/code-block-panel v0.7.0/go.mod h1:3J9yUxaShbhYvFFZbGVHcBoHPl6TUKLL3f2fTsnVNNg=
|
||||
github.com/hugomods/code-block-panel v0.7.1 h1:WP3xzQC++Bh5SiSke0csO0H1O4G6VejwdPazHD9DY5o=
|
||||
github.com/hugomods/code-block-panel v0.7.1/go.mod h1:3J9yUxaShbhYvFFZbGVHcBoHPl6TUKLL3f2fTsnVNNg=
|
||||
github.com/hugomods/font-awesome v6.5.2+incompatible h1:sDSRuMLUK7N7u/PTpNngqoqbfUI/UP9Rcb+885kV4Wk=
|
||||
github.com/hugomods/font-awesome v6.5.2+incompatible/go.mod h1:C2wW6xDvHkcMlJMVTPQ+Npt+rO0OGv13xT1iyll2z2Q=
|
||||
|
@ -195,6 +198,7 @@ github.com/hugomods/icons/vendors/simple-icons v1.0.47 h1:4EZMQ0b6+8gNRe2DI/fRnO
|
|||
github.com/hugomods/icons/vendors/simple-icons v1.0.47/go.mod h1:+OxJaLg5ElwlUW/JhUq7IeuXg0tKLoB8MaOhkWQW0Eg=
|
||||
github.com/hugomods/icons/vendors/simple-icons v1.0.48 h1:ioqQdzQV/u99Ub68ED1vHa9O3qMgAo2q8QsyLdhoDCo=
|
||||
github.com/hugomods/icons/vendors/simple-icons v1.0.48/go.mod h1:OW3DGGP2A2ArBfZWjnLsiZShjXr2fltoP57HySYrsTg=
|
||||
github.com/hugomods/icons/vendors/simple-icons v1.0.50 h1:8tJqhTzxgsE2vn+WBVP4JHKFzQk0KP1MKymrB8t2x+0=
|
||||
github.com/hugomods/icons/vendors/simple-icons v1.0.50/go.mod h1:yc7MBoWIZX7Da0f6beE/Ppxmp7/stWqyGZRZMBErVJw=
|
||||
github.com/hugomods/idb-js v0.1.0 h1:mA6hEGtR0aFEdmq9zYMGpfSpCU6SMilx9RzC4uK3DqY=
|
||||
github.com/hugomods/idb-js v0.1.0/go.mod h1:GPfnmr+BQpP4s6Epd4Yu+RlUog8q/Djw8qy8BZFWZ04=
|
||||
|
@ -218,6 +222,7 @@ github.com/hugomods/pwa v0.9.0 h1:bEKFkP7xkow6IadY9hKEwPbdKeLC0XZfVT31gGP7CPc=
|
|||
github.com/hugomods/pwa v0.9.0/go.mod h1:KpYK2Ffn969+Py5SzV3+iXYase4UoUeRAsd9jY7Q2Us=
|
||||
github.com/hugomods/search v0.14.0 h1:mN52YGIaIBr2pv5NWGJiQhAVFt+lOUHDNcpbz9T4CxA=
|
||||
github.com/hugomods/search v0.14.0/go.mod h1:xPnDGjP/HCdEWJrJBwwdI2mEtdxFxp+wHBwSl/r2m00=
|
||||
github.com/hugomods/search v0.14.1 h1:BPwoQU+a6iM2Ab4U0AcPD22Dp+SksSxhbnse/qZRDCM=
|
||||
github.com/hugomods/search v0.14.1/go.mod h1:xPnDGjP/HCdEWJrJBwwdI2mEtdxFxp+wHBwSl/r2m00=
|
||||
github.com/hugomods/seo/modules/alternatives v0.1.1 h1:Y8NdyBhvkSfr43ZKtXvQBgOW9lHL0a6vC1UIZFNbMpo=
|
||||
github.com/hugomods/seo/modules/alternatives v0.1.1/go.mod h1:y/VmIbVDnJWgcbhw0Rp8PP4RtvLhAx+URfvwl5SrWg0=
|
||||
|
@ -250,6 +255,7 @@ github.com/hugomods/simple-icons v13.3.0+incompatible h1:vWCB+FgzAzaL1HtI06kJJK/
|
|||
github.com/hugomods/simple-icons v13.3.0+incompatible/go.mod h1:1Lvymol7AMVY7ji/o88jMoDHHZIJ5Wc+WwNe5hjmk+U=
|
||||
github.com/hugomods/simple-icons v13.4.0+incompatible h1:BO/ox1wfMYZdMc1lYtxov8qDS93Qs4R/7R7rNeb3IG4=
|
||||
github.com/hugomods/simple-icons v13.4.0+incompatible/go.mod h1:1Lvymol7AMVY7ji/o88jMoDHHZIJ5Wc+WwNe5hjmk+U=
|
||||
github.com/hugomods/simple-icons v13.6.0+incompatible h1:jCUVk2YvtknOoHQqMFjDE4Ccmph39RUEn+AmBzngs1I=
|
||||
github.com/hugomods/simple-icons v13.6.0+incompatible/go.mod h1:1Lvymol7AMVY7ji/o88jMoDHHZIJ5Wc+WwNe5hjmk+U=
|
||||
github.com/hugomods/snackbar v0.1.2 h1:SLpfH9jlYwf81epH7DvM2XTZHo+3fXXpk6XKtxmo964=
|
||||
github.com/hugomods/snackbar v0.1.2/go.mod h1:ykFm0IFibeQPuPAm8Gaa27xJS/bNZcSez4omVSl2gQ0=
|
||||
|
|
Loading…
Reference in a new issue