Tweak email link rewrite rule
This commit is contained in:
parent
c53e7c90b2
commit
522ad5316d
|
@ -15,7 +15,7 @@ Header set Cache-Control "no-cache, public"
|
|||
RewriteEngine on
|
||||
|
||||
# Redirect obfuscated email links to mailto link
|
||||
RewriteRule ^email/$ "mailto:{{ sitemeta.siteAuthor.email }}" [R=301,L]
|
||||
RewriteRule ^/email/$ mailto:{{ sitemeta.siteAuthor.email }} [R=301,L]
|
||||
|
||||
# Block bad bots
|
||||
RewriteCond %{HTTP_USER_AGENT} ({{ robots.htaccess }}) [NC]
|
||||
|
|
|
@ -19,7 +19,7 @@ eleventyComputed:
|
|||
|
||||
<p>You can browse all my contents published on this site through the <a href="/archive">Archive</a> page, or the <a href="/categories">Content Categories</a> page. You can use the <a href="/sitemap">site map</a> to navigate this website.</p>
|
||||
|
||||
<p>Feel free to drop a message and say hi on <a href="/guestbook">my guestbook</a>! You can also contact me by <a rel="nofollow, noindex" href="mail/">sending me an email</a>. Using <a href="https://useplaintext.email/">plain text email</a> is encouraged.</p>
|
||||
<p>Feel free to drop a message and say hi on <a href="/guestbook">my guestbook</a>! You can also contact me by <a rel="nofollow, noindex" href="/mail/">sending me an email</a>. Using <a href="https://useplaintext.email/">plain text email</a> is encouraged.</p>
|
||||
|
||||
<p>Read the <a href="/about">About</a> page to learn more about this site and its webmaster.</p>
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ I am also autistic, so I use this website as a platform to catalogue my interest
|
|||
|
||||
Leilukin is not my real name, but it is an internet pseudonym that I have used since I was a teenager, so the name has become my online identity, and I prefer to go by Leilukin in informal online spaces.
|
||||
|
||||
You can contact me via email: [{{ sitemeta.siteAuthor.emailEncoded | safe }}](email/){rel="nofollow, noindex"}. Using [plain text email](https://useplaintext.email/) is encouraged.
|
||||
You can contact me via email: [{{ sitemeta.siteAuthor.emailEncoded | safe }}](/email/){rel="nofollow, noindex"}. Using [plain text email](https://useplaintext.email/) is encouraged.
|
||||
|
||||
[Check out my Now page](/now) to learn what I am doing right now.
|
||||
|
||||
|
|
Loading…
Reference in New Issue