Update Makefile

This commit is contained in:
2025-11-24 14:30:43 +08:00
parent 7f2e985ff2
commit 3d8eb33d7f
+1 -1
View File
@@ -307,7 +307,7 @@ trackchange:
# Fix links in www directory # Fix links in www directory
fix_links: fix_links:
@find ./www -type f -name "*.html" -exec sed -i.bak \ @find ./www -type f -name "*.html|robots.txt|sitemap.xml" -exec sed -i.bak \
-e "s/{{< var branch >}}/$(branchname)/g" \ -e "s/{{< var branch >}}/$(branchname)/g" \
-e "s/{{&lt; var branch &gt;}}/$(branchname)/g" \ -e "s/{{&lt; var branch &gt;}}/$(branchname)/g" \
-e "s/{{< var pubtype >}}/$(pubtype)/g" \ -e "s/{{< var pubtype >}}/$(pubtype)/g" \