added blog/news section 🎉

This commit is contained in:
Benjamin Jones 2020-04-25 10:56:48 +02:00
parent 7fac386d92
commit 855cd26ac1
17 changed files with 323 additions and 27 deletions

44
_data/date-locales/en.yml Normal file
View File

@ -0,0 +1,44 @@
# Strings for dates
# language English
abbreviated_weekday:
- Sun
- Mon
- Tue
- Wed
- Thu
- Fri
- Sat
full_weekday:
- Sunday
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
abbreviated_month:
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
full_month:
- January
- February
- March
- April
- May
- June
- July
- August
- September
- October
- November
- December

44
_data/date-locales/fr.yml Normal file
View File

@ -0,0 +1,44 @@
# Strings for dates
# language French
abbreviated_weekday:
- Dim
- Lun
- Mar
- Mer
- Jeu
- Ven
- Sam
full_weekday:
- Dimanche
- Lundi
- Mardi
- Mercredi
- Jeudi
- Vendredi
- Samedi
abbreviated_month:
- jan.
- fév.
- mar.
- avr.
- mai
- juin
- juil.
- août
- sept.
- oct.
- nov.
- déc.
full_month:
- janvier
- février
- mars
- avril
- mai
- juin
- juillet
- août
- septembre
- octobre
- novembre
- décembre

7
_data/translations.yml Normal file
View File

@ -0,0 +1,7 @@
latest:
en: News
fr: Latest
readMore:
en: read full post
fr: Read more

View File

View File

@ -0,0 +1 @@
__ReclaimFutures is a technology and culture conference around the broad subjects of post-capitalist desire, utopian exploration, ecology and alternative computing.__

View File

@ -3,7 +3,6 @@
{% include common/head.html %} {% include common/head.html %}
<body> <body>
{{ content }} {{ content }}
{% include common/footer.html %}
</body> </body>
<script src="{{ site.baseurl }}/assets/js/index.js" }}></script> <script src="{{ site.baseurl }}/assets/js/index.js" }}></script>
</html> </html>

View File

@ -1,24 +0,0 @@
---
layout: page
---
<header class="page-header">
{% include common/lang-selector.html en-text="/english" fr-text="/français" %}
<div class="page-content" id="rf-logo-wrapper">
{% include common/logo.html %}
</div>
</header>
<div class="page-content">
<article class="text-container">
{{ content }}
</article>
</div>
<span class="side-title side-title--left hidden">
ReclaimFutures 2020
</span>
<span class="side-title side-title--right hidden">
{% include common/lang-selector.html en-text="english version" fr-text="version française" %}
</a>

View File

@ -2,6 +2,19 @@
layout: default layout: default
--- ---
<div class="page"> {% include common/header.html %}
<main class="page lang-{{ page.lang }}" id="page-{{ page.className }}">
{{ content }} {{ content }}
</div> </main>
<span class="side-title side-title--left hidden">
ReclaimFutures 2020
</span>
<span class="side-title side-title--right hidden">
{% include common/lang-selector.html en-text="english version" fr-text="version française" %}
</span>
{% include common/footer.html %}

18
_layouts/post.html Normal file
View File

@ -0,0 +1,18 @@
---
layout: page
---
<article class="page-content news-post">
<div class="content post-item">
<header class="post-header">
<h2>{{ page.title }}</h2>
<label class="titlecase">
{% include utils/translated-date.html date=page.date lang=page.lang %}
</label>
</header>
<div class="post-content">
{{ content }}
</div>
</div>
{% include common/subscribe.html %}
</article>

View File

@ -0,0 +1,19 @@
---
layout: post
author: RelcaimFutures
title: Live, alive and living online
date: 2020-03-29 11:47:26 +0200
categories: news
ref: launch-call-for-participants
lang: fr
---
This needs translating in french or at least a sentence to say it's not available.
Voila - we're live, alive and living online. Clearly a lot has changed since we first started discussing and preparing this event and it sure feels like a very odd time to be preparing an event but hear us out about why we feel - now more than ever - this is the right moment.
In the past few weeks more has taken place than in some years - or at least that's how it feels - and that's off the heels of an eventful few years. The prospect of the the biggest economic recession ever has forced into view proposals of universal basic income. Rapid de-employment has led to proposals of rent strikes and leftist modes of organisation such as mutual aid are going mainstream. Reduced human activity has led to cleaner air making space for nature to recover, demonstrating what might be possible to achieve with a general climate strike or a move towards a degrowth model. On the other hand police forces the world over have been handed new surveillance powers in an attempt to keep the virus from spreading, powers that will likely go on long after we've seen the back of it and the worlds richest hide away in gilded bunkers whilst profiteering and exploiting as ever. Perhaps, the other side of this pandemic the world has a chance to rebuild something different to what we had before, but in any case we will need to fight twice as hard as ever to ensure it's edges more towards utopia than it's current collapse-dystopia trajectory. We hope this event will assemble a diverse range of thinkers and creators on the left to discuss, propose, organise and form new connections to give us the best chance.
Well, it's been a great pleasure preparing this website and call for proposals and we're finally open and taking submissions! We look forward to reading them!
Here it is: [reclaimfutures.org](https://reclaimfutures.org)

View File

@ -0,0 +1,18 @@
---
layout: post
author: some mf
title: Covid-19 update 1
ref: Covid-19
date: 2020-04-22 13:00:00 +0200
lang: en
---
You are probably wondering about the problems the current situation poses to the holding of the event (and so do we).
It is currently unclear whether we will be able to hold the event in real life due to the restrictions in place in Switzerland on gatherings and events. After consideration, we decided not to move the event online for the moment. We will wait until ***August the 15*** to settle on this issue.
If the event cannot be held, we will move it online for everyone to still be able to participate. In the case where such an event is allowed, we will still hold it in Renens, but since travel can be complicated for many attendees and participants, we will livestream the event and organise with the participants so everyone can take part whether or not they can physically attend the event, regardless of their travel abilities or their personal situation.
We hope you and your loved ones are good, we wish you all the best.
ReclaimFutures

View File

@ -0,0 +1,17 @@
---
layout: post
author: RelcaimFutures
title: Live, alive and living online
date: 2020-03-29 11:47:26 +0200
categories: news
ref: launch-call-for-participants
lang: en
---
Voila - we're live, alive and living online. Clearly a lot has changed since we first started discussing and preparing this event and it sure feels like a very odd time to be preparing an event but hear us out about why we feel - now more than ever - this is the right moment.
In the past few weeks more has taken place than in some years - or at least that's how it feels - and that's off the heels of an eventful few years. The prospect of the the biggest economic recession ever has forced into view proposals of universal basic income. Rapid de-employment has led to proposals of rent strikes and leftist modes of organisation such as mutual aid are going mainstream. Reduced human activity has led to cleaner air making space for nature to recover, demonstrating what might be possible to achieve with a general climate strike or a move towards a degrowth model. On the other hand police forces the world over have been handed new surveillance powers in an attempt to keep the virus from spreading, powers that will likely go on long after we've seen the back of it and the worlds richest hide away in gilded bunkers whilst profiteering and exploiting as ever. Perhaps, the other side of this pandemic the world has a chance to rebuild something different to what we had before, but in any case we will need to fight twice as hard as ever to ensure it's edges more towards utopia than it's current collapse-dystopia trajectory. We hope this event will assemble a diverse range of thinkers and creators on the left to discuss, propose, organise and form new connections to give us the best chance.
Well, it's been a great pleasure preparing this website and call for proposals and we're finally open and taking submissions! We look forward to reading them!
Here it is: [reclaimfutures.org](https://reclaimfutures.org)

View File

@ -0,0 +1,18 @@
---
layout: post
author: some mf
title: Covid-19 update 1
ref: Covid-19
date: 2020-04-22 13:00:00 +0200
lang: fr
---
You are probably wondering about the problems the current situation poses to the holding of the event (and so do we).
It is currently unclear whether we will be able to hold the event in real life due to the restrictions in place in Switzerland on gatherings and events. After consideration, we decided not to move the event online for the moment. We will wait until ***August the 15*** to settle on this issue.
If the event cannot be held, we will move it online for everyone to still be able to participate. In the case where such an event is allowed, we will still hold it in Renens, but since travel can be complicated for many attendees and participants, we will livestream the event and organise with the participants so everyone can take part whether or not they can physically attend the event, regardless of their travel abilities or their personal situation.
We hope you and your loved ones are good, we wish you all the best.
ReclaimFutures

View File

@ -25,6 +25,7 @@ body {
.content { .content {
flex: 1 0 auto; flex: 1 0 auto;
max-width: $size-512 + $size-128;
} }
footer.page-footer { footer.page-footer {
@ -39,3 +40,7 @@ footer.page-footer {
stroke-width: 1.5; stroke-width: 1.5;
} }
} }
.textbox {
@include textbox;
}

60
_sass/layouts/post.scss Normal file
View File

@ -0,0 +1,60 @@
.post-list {
margin: 0;
padding: 0;
margin-bottom: $size-128;
h2 {
margin-bottom: $size-32;
}
.post-item {
margin-bottom: $size-64;
.post-header {
margin-bottom: $size-16;
}
.post-content {
p {
display: inline;
}
}
}
}
.news-post {
margin-bottom: $size-64;
}
.post-item {
list-style: none;
padding: 0;
margin-bottom: $size-16;
.post-header {
display: flex;
justify-content: space-between;
margin-bottom: $size-32;
h2,
h3,
label {
display: inline-flex;
align-items: center;
@include textbox;
margin: 0;
}
a {
color: $black;
text-decoration: none;
&:hover,
&:visited {
font-style: normal;
}
}
}
.post-content {
@include textbox;
}
}

19
fr/a-propos/index.html Normal file
View File

@ -0,0 +1,19 @@
---
layout: text-page
lang: fr
title: à propos
ref: about
---
{% capture intro %}
{% include text/fr/intro.md %}
{% endcapture %}
{% capture maintext %}
{% include text/fr/main-text.md %}
{% endcapture %}
<div class="lang-fr">
<span class="intro">{{ intro | markdownify }}</span>
{{ maintext | markdownify }}
</div>

38
fr/index.html Normal file
View File

@ -0,0 +1,38 @@
---
layout: content-page
lang: fr
title: index
className: index
ref: index
---
{% capture intro %}
{% include text/fr/intro.md %}
{% endcapture %}
<div>
<span class="intro">{{ intro | markdownify }}</span>
<h2>{{ site.data.translations.latest[page.lang]}}</h2>
<ul class="post-list">
{% for post in site.posts %}
{% if post.lang == page.lang %}
<li class="post-item">
<header class="post-header">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<h3 class="titlecase">
{% include utils/translated-date.html date=post.date lang=page.lang %}
</h3>
<!-- <h3>{{ post.date | date_to_string }}</h3> -->
</header>
<div class="post-content">
<span class="post-excerpt">{{ post.excerpt }}</span>
<a href="{{ post.url }}">{{ site.data.translations.readMore[page.lang]}} -></a>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
</div>