Add I2P privacy notice to eepsite contact form
All checks were successful
Deploy krustyplanet.org / deploy (push) Successful in 8s

This commit is contained in:
BarnacleBoy 2026-05-04 22:54:54 +00:00
parent e0d3c8ef15
commit eb5aadc512

View file

@ -61,5 +61,11 @@ jobs:
sed -i '/href="\/blog\.html"/d' "$EEPSITE/$page"
done
# Add I2P privacy notice to contact form
sed -i '/<form id="contact-form">/a\
<div class="notification is-warning is-light" style="font-size:0.85em;padding:0.75rem 1rem;">\
<strong>⚠ I2P Privacy Notice:</strong> Your message will be sent to the site operator via email <em>outside</em> the I2P network. Please do not include anything you would not share on the clearnet.\
</div>' "$EEPSITE/contact.html"
echo "Eepsite synced."
SCRIPT