Browse Source

user cond new attempt

master
lowrussia 4 years ago
parent
commit
e0def00bac
  1. 2
      content/the-user-condition-01-en.md
  2. 2
      content/the-user-condition-01-nl.md
  3. 26
      themes/varia/templates/category.html

2
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?

2
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?

26
themes/varia/templates/category.html

@ -6,7 +6,7 @@
{% if p.title == 'curriculum' %}
<div id="title">
{{ p.content }}
</div>
</div>
{% endif %}
{% endfor %}
</header>
@ -38,17 +38,16 @@
<h2>{{glob.upcoming}}</h2>
<hr>
{% 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' %}
<article class="hentry {{article.category}} current">
@ -66,7 +65,7 @@
</a>
</div>
</div>
<div class="summary {{ article.category }}">{{ article.summary }}
<span class="read_more">
{% if DEFAULT_LANG == 'en' %}
@ -95,24 +94,23 @@
<h2>{{glob.past}}</h2>
<hr>
{% 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' %}
<article class="hentry curriculum past">
<div class="article-info">
<span class="entry-title"><a href="/{% if article.lang == 'en' %}en/{% endif %}{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
<div class="event-details">
<!-- article.event_start | strftime('%d %B %Y') -->
{{ article.event_start | strftime('%d %B %Y') }}
</div>
<div class="featured-image current">
<a href="/{% if article.lang == 'en' %}en/{% endif %}{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">
@ -140,4 +138,4 @@
{% block content_title %}
<h1>Category: {{ category }}</h1>
<hr>
{% endblock %}
{% endblock %}
Loading…
Cancel
Save