[tor-commits] [tpo/master] Update htaccess
hiro at torproject.org
hiro at torproject.org
Wed Mar 27 16:15:47 UTC 2019
commit 2f1e2819904f578107da9fb158905cf0967f64a7
Author: hiro <hiro at torproject.org>
Date: Wed Mar 27 17:15:44 2019 +0100
Update htaccess
---
.htaccess | 3 +++
templates/macros/people.html | 1 +
2 files changed, 4 insertions(+)
diff --git a/.htaccess b/.htaccess
index 2ff0d64..6987237 100644
--- a/.htaccess
+++ b/.htaccess
@@ -60,6 +60,9 @@ RewriteRule ^support(.*) https://support.torproject.org [R=301,L]
# Newsletter
RewriteRule ^newsletter(.*) https://newsletter.torproject.org [R=301,L]
+# Press
+RewriteRule ^press/press(.*) /press [R=302,L]
+
# other (feel free to categorize)
RewriteRule ^people(.*) /about/people$1 [R=301,L]
RewriteRule ^donate/$ https://donate.torproject.org [R=302,L]
diff --git a/templates/macros/people.html b/templates/macros/people.html
index 22b0121..18e3285 100644
--- a/templates/macros/people.html
+++ b/templates/macros/people.html
@@ -18,6 +18,7 @@
{% if item.image %}
<picture>
<img src="{{ item.image|asseturl }}" class="rounded-circle float-left image-thumb" alt="{{ item.nickname }}">
+ </picture>
{% else %}
<img src="{{ '/static/images/people/no_photo.png'|asseturl }}" class="rounded-circle float-left image-thumb" alt="no-photo">
{% endif %}
More information about the tor-commits
mailing list