From e0def00baca7bfe55cc3eb4d412a896eb4b0bf33 Mon Sep 17 00:00:00 2001 From: lowrussia Date: Thu, 18 Mar 2021 19:43:29 +0100 Subject: [PATCH] user cond new attempt --- content/the-user-condition-01-en.md | 2 ++ content/the-user-condition-01-nl.md | 2 ++ themes/varia/templates/category.html | 26 ++++++++++++-------------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/content/the-user-condition-01-en.md b/content/the-user-condition-01-en.md index 8a61c4e..aa33ebc 100644 --- a/content/the-user-condition-01-en.md +++ b/content/the-user-condition-01-en.md @@ -3,6 +3,8 @@ Date: 2021-03-23 Category: event Slug: usercond01 lang: en +event_start: 2021-03-23 18:00 +event_end: 2021-03-23 19:00 featured_image: /images/user-cond-01.png What are the conditions for a computer user to gain agency, defined here as the ability to evade automatisms? What is the user’s horizon of autonomy within a built world made of software programmed by somebody else, when its logic is made inaccessible in the name of convenience? diff --git a/content/the-user-condition-01-nl.md b/content/the-user-condition-01-nl.md index 0cc1051..7966967 100644 --- a/content/the-user-condition-01-nl.md +++ b/content/the-user-condition-01-nl.md @@ -3,6 +3,8 @@ Date: 2021-03-23 Category: event Slug: usercond01 lang: nl +event_start: 2021-03-23 18:00 +event_end: 2021-03-23 19:00 featured_image: /images//images/user-cond-01.png What are the conditions for a computer user to gain agency, defined here as the ability to evade automatisms? What is the user’s horizon of autonomy within a built world made of software programmed by somebody else, when its logic is made inaccessible in the name of convenience? diff --git a/themes/varia/templates/category.html b/themes/varia/templates/category.html index e10b027..b23770c 100644 --- a/themes/varia/templates/category.html +++ b/themes/varia/templates/category.html @@ -6,7 +6,7 @@ {% if p.title == 'curriculum' %}
{{ p.content }} -
+ {% endif %} {% endfor %} @@ -38,17 +38,16 @@

{{glob.upcoming}}


{% for article in articles_page.object_list %} - {% set thumb_size = '/thumb' %} + {% set thumb_size = '/thumb' %} {% if article.event_start %} {% set event_status = '' %} - {% set now = article.date.now() | string %} - {% if article.event_start < now %} + {% if article.event_start < article.date.now() %} {% set event_status = ' past' %} {% endif %} - {% if article.event_start >= now %} + {% if article.event_start >= article.date.now() %} {% set event_status = ' current' %} {% set thumb_size = '/thumb2x' %} - {% endif %} + {% endif %} {% endif %} {% if event_status == ' current' %}
@@ -66,7 +65,7 @@ - +
{{ article.summary }} {% if DEFAULT_LANG == 'en' %} @@ -95,24 +94,23 @@

{{glob.past}}


{% for article in articles_page.object_list %} - {% set thumb_size = '/thumb' %} + {% set thumb_size = '/thumb' %} {% if article.event_start %} {% set event_status = '' %} - {% set now = article.date.now() | string %} - {% if article.event_start < now %} + {% if article.event_start < article.date.now() %} {% set event_status = ' past' %} {% endif %} - {% if article.event_start >= now %} + {% if article.event_start >= article.date.now() %} {% set event_status = ' current' %} {% set thumb_size = '/thumb2x' %} - {% endif %} + {% endif %} {% endif %} {% if event_status == ' past' %}