hbstack / blog Goto Github PK
View Code? Open in Web Editor NEWHB universal blog module
Home Page: https://hbstack.dev/
License: MIT License
HB universal blog module
Home Page: https://hbstack.dev/
License: MIT License
Discussed in hbstack/theme-cards#307
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are pending. To force PRs open, click the checkbox below.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
).github/workflows/lint.yml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/setup-node v4
.github/workflows/release-please.yml
google-github-actions/release-please-action v4
go.mod
go 1.18
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000
github.com/hbstack/base v0.5.1
github.com/hbstack/carousel v0.2.5
github.com/hbstack/footer v0.4.1
github.com/hbstack/hb v0.12.2
github.com/hbstack/header v0.14.3
github.com/hbstack/pagination v0.7.0
github.com/hbstack/socials v0.14.1
github.com/hugomods/base v0.6.0
github.com/hugomods/gravatar v0.2.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/bootstrap v0.5.6
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/images v0.10.1
github.com/hugomods/seo/modules/base v0.1.1
github.com/hugomods/simple-icons v11.15.0+incompatible
github.com/twbs/bootstrap v5.3.3+incompatible
github.com/twbs/icons v1.11.3
modules/breadcrumb/go.mod
go 1.18
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/breadcrumb v0.6.0
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/content-panel/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/content-panel v0.9.0
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/decap-cms/go.mod
go 1.18
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000
github.com/hbstack/base v0.5.1
github.com/hbstack/blog v0.32.1
github.com/hbstack/carousel v0.2.5
github.com/hbstack/decap-cms v0.3.0
github.com/hbstack/footer v0.4.1
github.com/hbstack/hb v0.12.2
github.com/hbstack/header v0.14.3
github.com/hbstack/pagination v0.7.0
github.com/hbstack/socials v0.14.1
github.com/hugomods/base v0.6.0
github.com/hugomods/decap-cms v0.14.7
github.com/hugomods/gravatar v0.2.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/bootstrap v0.5.6
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/images v0.10.1
github.com/hugomods/seo/modules/base v0.1.1
github.com/hugomods/simple-icons v11.15.0+incompatible
github.com/twbs/bootstrap v5.3.3+incompatible
github.com/twbs/icons v1.11.3
modules/disqus/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/disqus v0.1.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/emote/go.mod
go 1.19
modules/featured-image/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/featured-image v0.2.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/giscus/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/giscus v0.1.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/heading-sign/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hbstack/heading-sign v0.2.0
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/post-authors/go.mod
go 1.19
github.com/hbstack/blog v0.32.1
modules/post-nav/go.mod
go 1.18
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/related-posts/go.mod
go 1.18
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hbstack/slide v0.3.2
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/revision/go.mod
go 1.18
modules/sidebar/posts/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hbstack/slide v0.3.2
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/sidebar/profile/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hbstack/socials v0.14.1
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/bootstrap v0.5.6
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/sidebar/search/go.mod
go 1.18
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000
github.com/hbstack/base v0.5.1
github.com/hbstack/blog v0.32.1
github.com/hbstack/carousel v0.2.5
github.com/hbstack/footer v0.4.1
github.com/hbstack/hb v0.12.2
github.com/hbstack/header v0.14.3
github.com/hbstack/pagination v0.7.0
github.com/hbstack/search v0.2.1
github.com/hbstack/socials v0.14.1
github.com/hugomods/base v0.6.0
github.com/hugomods/fuse-js v0.1.0
github.com/hugomods/gravatar v0.2.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/i18n-js v0.2.1
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/bootstrap v0.5.6
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/images v0.10.1
github.com/hugomods/search v0.13.3
github.com/hugomods/seo/modules/base v0.1.1
github.com/hugomods/simple-icons v11.15.0+incompatible
github.com/krisk/Fuse v7.0.0+incompatible
github.com/twbs/bootstrap v5.3.3+incompatible
github.com/twbs/icons v1.11.3
modules/sidebar/taxonomies/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/social-share-buttons/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hbstack/social-share-buttons v0.2.2
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/staticman/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hbstack/staticman-comments v0.2.1
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/hugomods/snackbar v0.1.2
github.com/twbs/icons v1.11.3
modules/sticky-till-the-end/go.mod
go 1.19
modules/toc-scrollspy/go.mod
go 1.18
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/hb v0.12.2
github.com/hbstack/header v0.14.3
github.com/hbstack/toc-scrollspy v0.1.0
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/twbs/icons v1.11.3
modules/twikoo/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/hugomods/twikoo v0.1.0
github.com/twbs/icons v1.11.3
modules/utterances/go.mod
go 1.19
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200
github.com/hbstack/blog v0.32.1
github.com/hbstack/footer v0.4.1
github.com/hbstack/header v0.14.3
github.com/hugomods/base v0.6.0
github.com/hugomods/hugopress v0.2.3
github.com/hugomods/icons v0.6.3
github.com/hugomods/icons/vendors/simple-icons v1.0.39
github.com/hugomods/seo/modules/base v0.1.1
github.com/hugomods/utterances v0.1.0
github.com/twbs/icons v1.11.3
package.json
stylelint-scss ^6.0.0
@typescript-eslint/eslint-plugin ^7.0.0
@typescript-eslint/parser ^7.0.0
eslint ^9.0.0
prettier-plugin-go-template ^0.0.15
stylelint ^16.0.0
stylelint-config-standard-scss ^13.0.0
typescript ^5.0.0
By default, params.hb.blog.paginate
value is 9
. I've changed it to 12
so that it can be displayed nicely with 2, 3, 4 columns.
That value is respected in 'default view' which displays 'posts'. But it is ignored in Categories, Series, Tags view and they always paginates 9 posts in a page.
I couldn't find any documentation about setting their paginate
value, so I presume this is a unintended bug.
You can inspect my blog for example. It displays 12 posts in 'page view', but in category view, series view, tag view(Sorry, this tag doesn't have enough posts about it), they don't align with 'page view'.
In page view, posts are displayed with 3x4. In other view, posts are displayed with 2x5.
here is an example, which should make hbstack really stands out. Thank you.
https://gronskiy.com/tags/web/
npm run dev
dev
hugo server --gc --disableFastRender --enableGitInfo -D
Start building sites …
hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended linux/amd64 BuildDate=2023-03-12T11:40:50Z VendorInfo=gohugoio
Error: Error building site: POSTCSS: failed to transform "css/hb.css" (text/css): /home/ubunmac/dev/blog/node_modules/yaml/dist/compose/composer.js:33
if (prelude[i + 1]?.[0] !== '#')
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/ubunmac/dev/blog/node_modules/yaml/dist/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Built in 89443 ms
asc
and desc
order.i would like to disable the view of ToC content in the right bar for dedicated posts.
It would be useful, to do this with a front matter parameter like toc: false
i.e.
This module ships with an universal pagination template, which allows configuring by parameters, such as alignment, size and the number of siblings.
<!--more-->
I'd like to revert the #374 change, @TetraTheta what do you think?
As seen here, the lint workflow for this repo currently fails.
Related to hbstack/theme-cards#131.
The sidebar/posts
and related-posts
modules use slide components, but users cannot know the first and last posts, as a result, users have to click the switch button one more time to confirm that there are no more posts.
Tested with HB Theme Template using default configurations except setting defaultContentLanguageInSubdir
to false
.
Archives under different language in language subdir (zh-hans) works fine. Archives for the default language not in language subdir is broken. Year and month section is showing all archives instead of yearly and monthly posts.
Start Hugo Server§
Preview in Development Mode
npm run dev
dev
hugo server --gc --disableFastRender --enableGitInfo -D
Error: unsupported redirect to value "/404.html" in server config; currently this must be either a remote destination or a local folder, e.g. "/blog/" or "/blog/index.html"
env. information.
ubunmac@ubunmac-MacBookPro:/dev/blog$ go version/dev/blog$ hugo version
go version go1.18.1 linux/amd64
ubunmac@ubunmac-MacBookPro:
hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
ubunmac@ubunmac-MacBookPro:~/dev/blog$ node
Welcome to Node.js v12.22.9.
Currently post/card-img aspect ratio seems to be determined by fixed height of 160pixels and variable width 100%
Practically this gives an aspect ratio that is quite wide. I would prefer being able to adjust this aspect ratio by increasing image height. Can the height be put into user configurable parameter maybe? Also the resizing height of thumbnail image (currently hardwired to 360px should change accordingly)
Thank you
decap_cms missing field_authors in hugo.toml
Set the height
and width
attributes.
It may looks weird on super large screen for now, haven't test.
To introduce the site author to readers.
As an alternative of content-panel
module.
Show the Git info and translations below the ToC or the content
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.