commit cb98a7f7da27d8c617f5bc2f345322c43889ae70 Author: hiro hiro@torproject.org Date: Tue Mar 26 18:55:38 2019 +0100
Update templates --- assets/static/images/tails_release.jpg | Bin 0 -> 37721 bytes assets/static/images/tor-browser_release.png | Bin 0 -> 77134 bytes assets/static/images/tor-project-logo-onions.png | Bin 0 -> 1426170 bytes assets/static/images/tor_release.png | Bin 0 -> 20762 bytes content/press/new-release-tails/contents.lr | 2 ++ content/press/new-release-tor-browser/contents.lr | 10 +++++----- content/press/new-release-tor/contents.lr | 2 ++ templates/macros/press.html | 2 +- templates/meta.html | 2 +- 9 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/assets/static/images/tails_release.jpg b/assets/static/images/tails_release.jpg new file mode 100644 index 0000000..b27faec Binary files /dev/null and b/assets/static/images/tails_release.jpg differ diff --git a/assets/static/images/tor-browser_release.png b/assets/static/images/tor-browser_release.png new file mode 100644 index 0000000..7feeb26 Binary files /dev/null and b/assets/static/images/tor-browser_release.png differ diff --git a/assets/static/images/tor-project-logo-onions.png b/assets/static/images/tor-project-logo-onions.png new file mode 100644 index 0000000..46bd982 Binary files /dev/null and b/assets/static/images/tor-project-logo-onions.png differ diff --git a/assets/static/images/tor_release.png b/assets/static/images/tor_release.png new file mode 100644 index 0000000..28efada Binary files /dev/null and b/assets/static/images/tor_release.png differ diff --git a/content/press/new-release-tails/contents.lr b/content/press/new-release-tails/contents.lr index 30f1468..025a222 100644 --- a/content/press/new-release-tails/contents.lr +++ b/content/press/new-release-tails/contents.lr @@ -8,6 +8,8 @@ type: release --- title: New Release: Tails 3.12 --- +image: /static/images/tails_release.jpg +--- link: https://blog.torproject.org/new-release-tails-312 --- summary: diff --git a/content/press/new-release-tor-browser/contents.lr b/content/press/new-release-tor-browser/contents.lr index ba52c2a..91ee759 100644 --- a/content/press/new-release-tor-browser/contents.lr +++ b/content/press/new-release-tor-browser/contents.lr @@ -6,15 +6,15 @@ active: True --- type: release --- -title: New Release: Tor Browser 8.5a7 +title: New Release: Tor Browser 8.5a10 --- -link: https://blog.torproject.org/new-release-tor-browser-85a7 +image: /static/images/tor-browser_release.png +--- +link: https://blog.torproject.org/new-release-tor-browser-85a10 --- summary:
-Tor Browser 8.5a7 is now available from the Tor Browser Project page and also from our distribution directory. - -This release features important security updates to Firefox. +Tor Browser 8.5a10 is now available from the Tor Browser Project page and also from our distribution directory.
--- body: diff --git a/content/press/new-release-tor/contents.lr b/content/press/new-release-tor/contents.lr index b20fa4c..e0a4bc1 100644 --- a/content/press/new-release-tor/contents.lr +++ b/content/press/new-release-tor/contents.lr @@ -8,6 +8,8 @@ type: release --- title: New Release: Tor 0.4.0.1-alpha --- +image: /static/images/tor_release.png +--- link: https://blog.torproject.org/new-release-tor-0401-alpha --- summary: diff --git a/templates/macros/press.html b/templates/macros/press.html index 27707bf..40f109e 100644 --- a/templates/macros/press.html +++ b/templates/macros/press.html @@ -1,6 +1,6 @@ {% macro render_release(item, alternative) %} <div class="card mx-auto" style="width: 365px; height: 485px;"> - <img class="card-img-top" src="{{ '/static/images/index.svg'|asseturl }}" alt="Card image cap"> + <img class="card-img-top" src="{{ item.image|asseturl }}" alt="Card image cap"> <div class="card-body"> <div class="card-title"> <a class="h4 text-primary" href="{{ item.link }}">{{ item.title }}</a> diff --git a/templates/meta.html b/templates/meta.html index 714897e..0bf3d3f 100644 --- a/templates/meta.html +++ b/templates/meta.html @@ -9,7 +9,7 @@ <meta property="og:url" content="https://torproject.org" /> <meta property="og:title" content="The Tor Project | Privacy & Freedom Online" /> <meta property="og:description" content="Defend yourself against tracking and surveillance. Circumvent censorship." /> -<meta property="og:image" content="" /> +<meta property="og:image" content="{{ '/static/images/tor-project-logo-onions.png'|asseturl }}" /> <link rel="stylesheet" href="{{ '/static/bootstrap.css'|asseturl }}"> <link rel="stylesheet" href="{{ '/static/fonts/open-iconic/font/css/open-iconic-bootstrap.css'|asseturl }}"> <link rel="stylesheet" href="{{ '/static/fonts/fontawesome/css/all.min.css'|asseturl }}" rel="stylesheet">
tor-commits@lists.torproject.org