Fix eepsite sed pattern to match actual I2P link format
All checks were successful
Deploy krustyplanet.org / deploy (push) Successful in 8s
All checks were successful
Deploy krustyplanet.org / deploy (push) Successful in 8s
This commit is contained in:
parent
a37d89d340
commit
e0d3c8ef15
1 changed files with 2 additions and 2 deletions
|
|
@ -53,8 +53,8 @@ jobs:
|
|||
for page in "${SHARED_PAGES[@]}"; do
|
||||
cp "$CLEARNET/$page" "$EEPSITE/$page"
|
||||
|
||||
# Replace I2P mirror link with clearnet reference
|
||||
sed -i 's|🔒 I2P Mirror:.*b32\.i2p</a></p>|🌐 Clearnet: <a href="https://krustyplanet.org" style="color:#b5b5b5;">https://krustyplanet.org</a></p>|' "$EEPSITE/$page"
|
||||
# Replace I2P self-reference with clearnet link
|
||||
sed -i 's|🔒 I2P:</span>.*</p>|🌐 Clearnet:</span> <a href="https://krustyplanet.org" style="color:#b5b5b5;">https://krustyplanet.org</a></p>|' "$EEPSITE/$page"
|
||||
|
||||
# Remove nav links to clearnet-only pages
|
||||
sed -i '/href="\/free-audit\.html"/d' "$EEPSITE/$page"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue