chore: standardise tpl names

This commit is contained in:
George Cushen committed 2026-01-06 00:51:20 +00:00
1 parent 061e3201df
commit c792830419
94 files changed
+38 -17

No files matched your search

+29 -8
View File
@@ -53,19 +53,40 @@ jobs:
run: |
# Define the full mapping
declare -A STARTER_MAP=(
["templates/academic-cv"]="theme-academic-cv"
["templates/resume"]="theme-resume"
["templates/blog"]="theme-blog"
["templates/documentation"]="theme-documentation"
["templates/link-in-bio"]="theme-link-in-bio"
["templates/landing-page"]="theme-landing-page"
["templates/academic-cv"]="hugo-theme-academic-cv"
["templates/resume"]="hugo-theme-resume"
["templates/data-science-blog"]="hugo-theme-data-science-blog"
["templates/documentation"]="hugo-theme-documentation"
["templates/link-in-bio"]="hugo-theme-link-in-bio"
["templates/startup-landing-page"]="hugo-theme-startup-landing-page"
["templates/dev-portfolio"]="hugo-theme-developer-portfolio"
)
# For non-push events, always use full matrix
build_full_matrix() {
local JSON="[" FIRST=true
local ROOTS=()
# Sort keys to keep output stable across runs
readarray -t ROOTS < <(printf "%s\n" "${!STARTER_MAP[@]}" | sort)
for ROOT in "${ROOTS[@]}"; do
if [ "$FIRST" = true ]; then
FIRST=false
else
JSON+=","
fi
JSON+="{\"local_path\":\"$ROOT\",\"split_repository\":\"${STARTER_MAP[$ROOT]}\"}"
done
JSON+="]"
echo "$JSON"
}
# For non-push events, always use full matrix derived from the map above
if [ "${{ github.event_name }}" != "push" ]; then
echo "Using full matrix for ${{ github.event_name }} event"
echo "matrix=[{\"local_path\":\"templates/academic-cv\",\"split_repository\":\"theme-academic-cv\"},{\"local_path\":\"templates/resume\",\"split_repository\":\"theme-resume\"},{\"local_path\":\"templates/blog\",\"split_repository\":\"theme-blog\"},{\"local_path\":\"templates/documentation\",\"split_repository\":\"theme-documentation\"},{\"local_path\":\"templates/link-in-bio\",\"split_repository\":\"theme-link-in-bio\"},{\"local_path\":\"templates/landing-page\",\"split_repository\":\"theme-landing-page\"},{\"local_path\":\"templates/dev-portfolio\",\"split_repository\":\"hugo-theme-developer-portfolio\"}]" >> "$GITHUB_OUTPUT"
FULL_MATRIX=$(build_full_matrix)
echo "matrix=$FULL_MATRIX" >> "$GITHUB_OUTPUT"
echo "has_changes=true" >> "$GITHUB_OUTPUT"
exit 0
fi
+2 -2
View File
@@ -1,4 +1,4 @@
# [The Academic CV That Gets You Hired](https://github.com/HugoBlox/theme-academic-cv)
# [The Academic CV That Gets You Hired](https://github.com/HugoBlox/hugo-theme-academic-cv)
[![Screenshot](.github/preview.webp)](https://hugoblox.com/templates/academic-cv/start/?utm_source=github&utm_medium=readme)
@@ -20,7 +20,7 @@
<p align="center">
<a href="https://discord.gg/z8wNYzb"><img src="https://img.shields.io/discord/722225264733716590?label=Join%20Discord&style=social" alt="Discord"></a>
<a href="https://github.com/HugoBlox/theme-academic-cv"><img src="https://img.shields.io/github/stars/HugoBlox/theme-academic-cv?label=Star%20Academic%20CV&style=social" alt="GitHub Stars"></a>
<a href="https://github.com/HugoBlox/hugo-theme-academic-cv"><img src="https://img.shields.io/github/stars/HugoBlox/hugo-theme-academic-cv?label=Star%20Academic%20CV&style=social" alt="GitHub Stars"></a>
</p>
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
# [Creator's Blog: Hugo Theme](https://github.com/HugoBlox/theme-blog)
# [Creator's Blog: Hugo Theme](https://github.com/HugoBlox/hugo-theme-data-science-blog)
[![Screenshot](./.github/preview.png)](https://hugoblox.com/templates/)
File renamed without changes.
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

An error occurred:

An error occurred

Gitea Version: 28.1.0