Add I2P privacy notice to eepsite contact form
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
e0d3c8ef15
commit
eb5aadc512
1 changed files with 6 additions and 0 deletions
|
|
@ -61,5 +61,11 @@ jobs:
|
||||||
sed -i '/href="\/blog\.html"/d' "$EEPSITE/$page"
|
sed -i '/href="\/blog\.html"/d' "$EEPSITE/$page"
|
||||||
done
|
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."
|
echo "Eepsite synced."
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue