Skip to content
Snippets Groups Projects
Commit bcfa1d86 authored by Cleopatra's avatar Cleopatra
Browse files

Redesign news index and blogposts

parent 687f3d50
No related branches found
No related tags found
1 merge request!91Restyle the news index page and posts
Showing with 66 additions and 60 deletions
...@@ -53,7 +53,7 @@ figcaption { ...@@ -53,7 +53,7 @@ figcaption {
} }
table { table {
width: 100% width: 100%;
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
......
...@@ -8,8 +8,6 @@ title: 'Briar - Darknet Messenger Releases Beta, Passes Security Audit' ...@@ -8,8 +8,6 @@ title: 'Briar - Darknet Messenger Releases Beta, Passes Security Audit'
Press Release Press Release
------------- -------------
##### July 21 2017
After extensive private beta tests, the first public beta of Briar was After extensive private beta tests, the first public beta of Briar was
[released [released
today](https://play.google.com/store/apps/details?id=org.briarproject.briar.beta). today](https://play.google.com/store/apps/details?id=org.briarproject.briar.beta).
......
...@@ -7,8 +7,6 @@ title: 'Briar - Secure P2P Messenger Releases First Version, Receives New Fundin ...@@ -7,8 +7,6 @@ title: 'Briar - Secure P2P Messenger Releases First Version, Receives New Fundin
### Press Release ### Press Release
##### May 9 2018
The peer-to-peer messenger Briar released its first stable version The peer-to-peer messenger Briar released its first stable version
today. It is available for Android devices from [Google today. It is available for Android devices from [Google
Play](https://play.google.com/store/apps/details?id=org.briarproject.briar.android) Play](https://play.google.com/store/apps/details?id=org.briarproject.briar.android)
......
...@@ -7,8 +7,6 @@ title: 'Briar 1.1 released with dark theme, new emoji and more' ...@@ -7,8 +7,6 @@ title: 'Briar 1.1 released with dark theme, new emoji and more'
### Press Release ### Press Release
##### September 14 2018
The Briar Project released version 1.1 of its Android app today. This The Briar Project released version 1.1 of its Android app today. This
release adds new features following the app's [first public release adds new features following the app's [first public
release](/news/2018-1.0-released-new-funding/) in May. release](/news/2018-1.0-released-new-funding/) in May.
......
...@@ -7,8 +7,6 @@ title: 'Briar 1.2 released, contacts can now be added by exchanging links' ...@@ -7,8 +7,6 @@ title: 'Briar 1.2 released, contacts can now be added by exchanging links'
### Press Release ### Press Release
##### November 6 2019
The Briar Project released version 1.2 of its Android app today. The Briar Project released version 1.2 of its Android app today.
This release allows users to add each other securely by exchanging links. This release allows users to add each other securely by exchanging links.
Previously users needed to meet in person or ask a mutual contact to introduce them. Previously users needed to meet in person or ask a mutual contact to introduce them.
......
...@@ -8,8 +8,6 @@ title: 'Briar 1.3 released - image attachments, profile images and disappearing ...@@ -8,8 +8,6 @@ title: 'Briar 1.3 released - image attachments, profile images and disappearing
### Press release ### Press release
##### June 7 2021
{{< figure src="/img/internet-shutdown.jpg" link="/img/internet-shutdown.jpg" {{< figure src="/img/internet-shutdown.jpg" link="/img/internet-shutdown.jpg"
class="fullwidth" alt="Using Briar during internet shutdown" class="fullwidth" alt="Using Briar during internet shutdown"
>}} >}}
......
...@@ -7,8 +7,6 @@ title: 'Briar 1.4 released - offline app sharing, message transfer via SD cards ...@@ -7,8 +7,6 @@ title: 'Briar 1.4 released - offline app sharing, message transfer via SD cards
### Press release ### Press release
##### November 15 2021
The Briar Project released version 1.4 of its Android app today. This release adds a couple of new features, highlighted below. The Briar Project released version 1.4 of its Android app today. This release adds a couple of new features, highlighted below.
First of all, users can now share the app offline. Prior to this release, the only way to get the app was to to download it from the internet, which requires an internet connection. Now, it is possible to share the app offline to others who don't have it installed. When this option is selected from within the app, it opens a local hotspot and provides a website where others can download the Briar app without an internet connection. This feature might be useful during internet shutdowns or natural disasters. A single device with Briar installed can share the app to bootstrap Briar connectivity in a community. First of all, users can now share the app offline. Prior to this release, the only way to get the app was to to download it from the internet, which requires an internet connection. Now, it is possible to share the app offline to others who don't have it installed. When this option is selected from within the app, it opens a local hotspot and provides a website where others can download the Briar app without an internet connection. This feature might be useful during internet shutdowns or natural disasters. A single device with Briar installed can share the app to bootstrap Briar connectivity in a community.
......
...@@ -7,8 +7,6 @@ title: 'Briar is available on Google Play again' ...@@ -7,8 +7,6 @@ title: 'Briar is available on Google Play again'
### Status update ### Status update
##### February 28 2022
**Update (February 28, 13:20 UTC): Briar is available on Google Play again.** **Update (February 28, 13:20 UTC): Briar is available on Google Play again.**
Briar was briefly removed from Google Play because we didn't provide Google's review team with a username and password for testing the app. We provided Google with a username and password for testing and the app is now available again. Briar was briefly removed from Google Play because we didn't provide Google's review team with a username and password for testing the app. We provided Google with a username and password for testing and the app is now available again.
......
...@@ -6,11 +6,19 @@ ...@@ -6,11 +6,19 @@
<h3 itemprop="headline" class="blog-post-title"> <h3 itemprop="headline" class="blog-post-title">
<a href="{{.Permalink}}">{{.Title}}</a> <a href="{{.Permalink}}">{{.Title}}</a>
</h3> </h3>
<p class="blog-post-meta">{{.Date.Format "2006-01-02"}} <p class="blog-post-meta">
{{.Date.Format "January 2, 2006"}} by
{{ if (isset .Params "author") }} {{ if (isset .Params "author") }}
by {{ markdownify .Params.author }} {{ markdownify .Params.author }}
{{ else }}
The Briar Team
{{ end }} {{ end }}
</p> </p>
<div>
{{ .Summary | safeHTML | truncate 250 }}
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
</div>
<hr/>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<h2>{{ .Title }}</h2> <h2>{{ .Title }}</h2>
<p>
{{.Date.Format "January 2, 2006"}} by
{{ if (isset .Params "author") }}
{{ markdownify .Params.author }}
{{ else }}
The Briar Team
{{ end }}
</p>
{{ .Content }} {{ .Content }}
{{ end }} {{ end }}
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
{{ .Hugo.Generator }} {{ hugo.Generator }}
{{ with resources.Get "css/styles.css" | minify }} {{ with resources.Get "css/styles.css" | minify }}
<style media="screen">{{ .Content | safeCSS }}</style> <style media="screen">{{ .Content | safeCSS }}</style>
{{ end }} {{ end }}
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
<link href="/news/index.xml" rel="alternate" type="application/rss+xml" title="Briar News" /> <link href="/news/index.xml" rel="alternate" type="application/rss+xml" title="Briar News" />
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="Briar - All changes" /> <link href="/index.xml" rel="alternate" type="application/rss+xml" title="Briar - All changes" />
{{ if .RSSLink }} {{ if .OutputFormats.Get "RSS" }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ with .Title }}{{ . }} - {{ end }} {{ .Site.Title }}" /> <link rel="alternate" type="application/rss+xml" title="{{ with .Title }}{{ . }} - {{ end }} {{ .Site.Title }}"
href='{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}' />
{{ end }} {{ end }}
</head> </head>
<div id="header_container"> <div id="header_container">
<div id="header"> <div id="header">
<a href="/"><div id="logo"><img src="/img/briar_logo_large.png" alt="Briar" class="logo"/></div></a> <a href="/"><div id="logo"><img src="/img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
<div id="nav"> <div id="nav">
<div id="signup"> <div id="signup">
<div class="twitter"> <div class="twitter">
<a href="https://code.briarproject.org/briar" rel="noopener noreferrer"><img class="twitterbutton" src="/img/gitlab.png" alt="Small GitLab logo"/></a> <a href="https://code.briarproject.org/briar" rel="noopener noreferrer"><img class="twitterbutton" src="/img/gitlab.png" alt="Small GitLab logo"/></a>
</div> </div>
<div class="twitter"> <div class="twitter">
<a href="https://twitter.com/BriarApp" rel="noopener noreferrer"><img class="twitterbutton" src="/img/twitter.png" alt="Small Twitter logo"/></a> <a href="https://twitter.com/BriarApp" rel="noopener noreferrer"><img class="twitterbutton" src="/img/twitter.png" alt="Small Twitter logo"/></a>
</div> </div>
<form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" rel="noopener noreferrer" method="get" onSubmit="submitForm()"> <form id="signupform" action="https://sourceforge.net/projects/briar/lists/briar-announce" rel="noopener noreferrer" method="get" onSubmit="submitForm()">
<input placeholder="Email address" type="email" name="email" tabindex="2"/> <input placeholder="Email address" type="email" name="email" tabindex="2"/>
<button name="submit" type="submit" id="signup-submit">Keep me updated</button> <button name="submit" type="submit" id="signup-submit">Keep me updated</button>
</form> </form>
<div id="signupconf">Thanks! We'll keep you updated.</div> <div id="signupconf">Thanks! We'll keep you updated.</div>
<script> <script>
<!-- //<!--
function submitForm(){ function submitForm(){
document.getElementById('signupform').style.display = 'none'; document.getElementById('signupform').style.display = 'none';
document.getElementById('signupconf').style.display = 'block'; document.getElementById('signupconf').style.display = 'block';
return true; return true;
} }
//--> //-->
</script> </script>
</div> <!-- signup --> </div> <!-- signup -->
<label for="menu-toggle"><img src="/img/menu.png" alt="Drop-down menu"></label> <label for="menu-toggle"><img src="/img/menu.png" alt="Drop-down menu"></label>
<input type="checkbox" id="menu-toggle"/> <input type="checkbox" id="menu-toggle"/>
<ul id="menu"> <ul id="menu">
{{ $currentPage := . }} {{ $currentPage := . }}
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<li> {{ $menu_item_url
<a {{ if eq $currentPage.URL .URL }}id="is-active"{{end}} := .URL | relLangURL }}
href="{{ .URL }}">{{ .Name }}</a> {{ $page_url:= $currentPage.RelPermalink | relLangURL }}
</li> <li>
{{ end }} <a {{ if eq $menu_item_url $page_url }}id="is-active" {{end}}
</ul> href="{{ .URL }}">{{ .Name }}</a>
</div> <!-- nav --> </li>
</div> <!-- header --> {{ end }}
</div> <!-- header_container --> </ul>
</div> <!-- nav -->
</div> <!-- header -->
</div> <!-- header_container -->
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment