diff --git a/data/projects.en.yml b/data/projects.en.yml index 7d121f0..6560650 100644 --- a/data/projects.en.yml +++ b/data/projects.en.yml @@ -7,6 +7,10 @@ description: "The FixIt theme balances **simplicity** and **extensibility** with extra Hugo theme components for customization." collections: - Components + # Order by, optional values: ['default', 'name', 'star', 'fork'] + orderby: star + # Order of repos, optional values: ['asc', 'desc'] + order: desc repos: - hugo-fixit/component-projects - hugo-fixit/hugo-atom-feed @@ -38,5 +42,7 @@ contentAdapters: true collections: - TP Components + orderby: star + order: desc repos: - fixit-theme/hugo-shortcode-plugins-live2d diff --git a/data/projects.zh-cn.yml b/data/projects.zh-cn.yml index 6fcd890..fe90023 100644 --- a/data/projects.zh-cn.yml +++ b/data/projects.zh-cn.yml @@ -7,6 +7,10 @@ description: "FixIt 主题旨在 **简洁性** 和 **可扩展性** 之间取得平衡。为此,我们开发了一系列额外的 Hugo 主题组件供用户选择。" collections: - Components + # Order by, optional values: ['default', 'name', 'star', 'fork'] + orderby: star + # Order of repos, optional values: ['asc', 'desc'] + order: desc repos: - hugo-fixit/component-projects - hugo-fixit/hugo-atom-feed @@ -38,5 +42,7 @@ contentAdapters: true collections: - TP Components + orderby: star + order: desc repos: - fixit-theme/hugo-shortcode-plugins-live2d diff --git a/go.mod b/go.mod index dda8bb4..78dce4e 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/hugo-fixit/FixIt v0.3.16 // indirect github.com/hugo-fixit/cmpt-translate v1.3.0 // indirect - github.com/hugo-fixit/component-projects v1.4.1 // indirect + github.com/hugo-fixit/component-projects v1.5.0 // indirect github.com/hugo-fixit/shortcode-caniuse v1.2.2 // indirect github.com/hugo-fixit/shortcode-rewards v1.0.5 // indirect ) diff --git a/go.sum b/go.sum index a113944..f043ca9 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/hugo-fixit/FixIt v0.3.16 h1:ZffekHaqk/fJyuiagCdj1IjPczh5Dd57nnPZKSFWT github.com/hugo-fixit/FixIt v0.3.16/go.mod h1:3XIRedrqakO7/a4ZnhE46haMRF8HgsT0N0B5j5D2iRU= github.com/hugo-fixit/cmpt-translate v1.3.0 h1:gvG2BbhWocQzOumyEIWvgJwr39ZrUm0FGh4M7Hk0uD0= github.com/hugo-fixit/cmpt-translate v1.3.0/go.mod h1:JZ0STubquTlRgyyGhGPlt2s0KJ1gCa99+P8ltTwQRM4= -github.com/hugo-fixit/component-projects v1.4.1 h1:aSDOf9A8Z2AH8jBq/Xgaw5esm6OMFGDTZ/p2FDG9V1E= -github.com/hugo-fixit/component-projects v1.4.1/go.mod h1:nXW0R37REwpfwUD1I4RtB5QW71vw66nRyB9uEpYxr+c= +github.com/hugo-fixit/component-projects v1.5.0 h1:1FVgdGWm2GeJhJUfY20flelkH2a8+PyRGAFJHD385RU= +github.com/hugo-fixit/component-projects v1.5.0/go.mod h1:nXW0R37REwpfwUD1I4RtB5QW71vw66nRyB9uEpYxr+c= github.com/hugo-fixit/shortcode-caniuse v1.2.2 h1:cuJVdJ1A0IgJnMQjifCDeRSRxIY0plTgs+wthCbrIls= github.com/hugo-fixit/shortcode-caniuse v1.2.2/go.mod h1:RoPLFt+7uLui5rjvkC/qFGeo4nly5AzzwIID9SoDKNc= github.com/hugo-fixit/shortcode-rewards v1.0.5 h1:Fudm/FoKt/K5rhTvOpHyvniAQFOAoQ1V/Z33TpReGkA=