54 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen b7ed807bb4 cmd: Update badhosts.txt 2026-09-17 11:47:00 +02:00
Bjørn Erik Pedersen e221d1927a Skip building codeberg.org themes for now
They have been very unreliable lately, presumably due people moving repos over from GitHub for similar reasons. Oh, the irony.

Note that we could build using a Go proxy, which would have fixed the problem and made the builds faster, but people submitting the themes have not opted having their theme mirrored in a Go proxy server.
2026-09-10 13:20:35 +02:00
Bjørn Erik Pedersen d63ff48cbe build: Handle unknown revision errors gracefully 2025-12-10 18:32:13 +01:00
Bjørn Erik Pedersen 846c877c27 Add some more error checking 2025-10-15 17:28:20 +02:00
Bjørn Erik Pedersen f78286e801 Make the build process more robust 2025-10-15 12:36:39 +02:00
Joe Mooring c2bc3427ff all: Align description, behavior, and warnings for outdated themes
Closes #622
2025-09-28 06:01:05 -07:00
Bjørn Erik Pedersen 8245c4084e pkg: Ignore error when removing the config file 2025-08-28 09:23:14 +02:00
Bjørn Erik Pedersen f4fe90d991 Reapply "theme: Misc adjustments"
This reverts commit e4b5ae46bd.
2025-05-02 10:14:37 +02:00
Bjørn Erik Pedersen e4b5ae46bd Revert "theme: Misc adjustments"
This reverts commit 6e4ced5b71.
2025-05-01 18:45:49 +02:00
Bjørn Erik Pedersen 6e4ced5b71 theme: Misc adjustments
* Remove most config, pull that from Hugo Docs.
* Hide .Content for now, the READMEs looks messy as it is now.
2025-05-01 18:22:49 +02:00
Bjørn Erik Pedersen 7bdb8ecc1a Adjust weights 2025-04-26 11:39:18 +02:00
Bjørn Erik Pedersen 80c5b7eac6 Adjust popular threshold (again) 2025-04-17 12:59:50 +02:00
Bjørn Erik Pedersen be756e4972 Adjust popular threshold 2025-04-17 12:49:19 +02:00
Bjørn Erik Pedersen bd28eb47e3 Add a "popular" tag
To themes with >= stars
2025-04-17 12:25:18 +02:00
Bjørn Erik Pedersen b549b1eaa9 Adjust tag list 2025-04-17 10:36:10 +02:00
Bjørn Erik Pedersen 60eab5537e Adjust the tag filter 2025-04-13 21:06:07 +02:00
Bjørn Erik Pedersen d748ec1534 Simplify module setup
Include hugoDocs directly.
2025-04-13 18:43:00 +02:00
Joe Mooring 24862a8085 build: Add tailwind tag with tailwindcss alias 2025-03-06 14:33:34 -08:00
Radek Kozieł c65ff7ae29 Use placeholders for the missing theme assets
Closes  #511
2024-12-09 16:37:00 +01:00
Bjørn Erik Pedersen ae0e5da7ac Fix path html_url etc. path logic for modules with major versions in path
Updates #454
2024-04-26 09:03:01 +02:00
Bjørn Erik Pedersen 25ce337c71 Simplify the GitHub repo cache setup and add it to the GitHub action 2023-10-29 13:49:13 +01:00
Bjørn Erik Pedersen 92c4c53b81 Add hugo mod tidy
And some other cleanups.
2023-10-29 10:48:34 +01:00
Bjørn Erik Pedersen f844650f27 Make the build more robust
Most notably:

* Make sure that conig.json is recreated on every build.
* Also create that file as the first part of the "version updates"

This should allow for both deletions/mods in both themes.txt and go.mod to work around missing refs etc.

If this isn't good enough, we could consider just adding the go.mod to .gitignore.
2023-10-29 10:22:00 +01:00
Bjørn Erik Pedersen 911c032c00 Fix readme regexps for shortcodes
See #356
2023-09-20 12:01:06 +02:00
Bjørn Erik Pedersen ee47b4cb99 Fix tags, rebuild cache
Fixes #345
2023-09-01 11:36:57 +02:00
Bjørn Erik Pedersen 8c0673bc48 Fix build for newer Hugo versions, rebuild 2023-08-30 16:30:51 +03:00
Sid d377ef3bf9 chore: update criteria for outdated themes (#318)
* chore: update criteria for outdated themes
* chore: update docs regarding outdated themes
Themes that are not modified for more than 3 years will be considered as outdated.
2023-07-25 21:02:06 +05:30
Bjørn Erik Pedersen 542095ad7b Add github.com/httpsecure/kembang
Also improve logging when image is missing.
2022-09-22 21:56:04 +02:00
Bjørn Erik Pedersen 4c22192e3f Add github.com/bep/gallerydeluxe
Also adjust to allow JPG images for thumbnail etc.
2022-09-19 18:14:31 +02:00
Bjørn Erik Pedersen a23abb32c0 Adjust weights 2022-09-16 14:26:32 +02:00
Bjørn Erik Pedersen dfaa658e27 Add expiryDate 2 years after last theme update/version
This should be a clear indication that the theme isn't up to date.
2022-09-06 19:21:19 +02:00
Igor Baiborodine 1af539b867 Update build.go 2022-06-07 15:28:47 +02:00
Igor Baiborodine a544519d37 Fix theme name extraction from URL 2022-06-07 15:28:47 +02:00
Bjørn Erik Pedersen 9572836e27 Adjust the "recent themes" threshold 2021-07-25 16:04:00 +02:00
Bjørn Erik Pedersen 6da5e7e817 Allow theme to live in sub folders on GitHub
Fixes #48
2021-07-25 16:03:19 +02:00
Bjørn Erik Pedersen 1ec7265084 Improve tag mapping 2021-07-14 17:39:39 +02:00
Bjørn Erik Pedersen 309baf49d1 Indent GitHub repo JSON etc. 2021-07-13 20:52:53 +02:00
Bjørn Erik Pedersen a41651bd4d Misc updates 2021-07-12 12:05:36 +02:00
Bjørn Erik Pedersen c2213766ba Build themes in parallel 2021-07-07 16:21:09 +02:00
Bjørn Erik Pedersen 532f67c345 Pull newly created themes to the top 2021-07-06 20:25:56 +02:00
Bjørn Erik Pedersen e795f31db8 Add missing calculateWeight 2021-07-06 20:11:42 +02:00
Bjørn Erik Pedersen 7e3fcbe2ea Pull into a theme struct, improve weighting
To make the code easier to follow/manage.
2021-07-06 19:22:03 +02:00
Bjørn Erik Pedersen 8d971cc7e1 Add some bad host checking on URLs 2021-07-05 11:52:13 +02:00
Bjørn Erik Pedersen 2286b58b5a deps: Bump hugoThemesSite 2021-07-01 13:42:28 +02:00
Bjørn Erik Pedersen e054056626 Add some warning logic to the build 2021-07-01 13:30:00 +02:00
Bjørn Erik Pedersen b90d5e3ad9 Add soho 2021-06-30 09:34:28 +02:00
Bjørn Erik Pedersen 9d0fc1dd3a Update theme site etc. 2021-06-30 09:16:15 +02:00
Bjørn Erik Pedersen eaeff5461f Move themes.txt to the root 2021-06-29 12:58:12 +02:00
Bjørn Erik Pedersen 556983aca6 Normalize tags 2021-06-28 20:08:00 +02:00
Bjørn Erik Pedersen 3b88aae53a Getting it running on Netlify 2021-06-28 19:20:43 +02:00