Fix "link text shortening" sed so it doesn't capture the contribution link (#21)

This commit is contained in:
Andy Maloney
2022-07-28 17:19:19 -04:00
committed by GitHub
parent d56614f4d8
commit 5e01dbac35

View File

@@ -45,7 +45,7 @@ sed -Ei 's:\s([0-9][0-9]?)%:<span class="completion-incomplete" style="--percent
sed -Ei 's:100%:<span class="completion-complete">100%</span>:g' content/_index.md
# Shorten class links' text to decrease the table's width.
sed -Ei 's:(https\:.+(class_.+)\.html):[\2](\1):g' content/_index.md
sed -Ei 's:(https\:.+classes/(class_.+)\.html):[\2](\1):g' content/_index.md
# Build the website with optimizations enabled.
hugo --minify