Commit 9d7aecca authored by colm's avatar colm

a condition in the template to start on #15, needs design

parent 08526eea
Pipeline #36 canceled with stage
......@@ -596,6 +596,11 @@ p.newsletter-signup{
.is-swiped .schedule__head h1 { display: block; }
}
.schedule__category{
position: absolute;
transform: rotate(-90deg);
left: -20px;
}
.schedule sup,
.schedule sub {
margin-left: 1px;
......
<article id="{{ article.slug }}" class="schedule__item" style='background: -webkit-linear-gradient({{ article.date|strftime('%d%m') }}deg, {{ article.color }} 0%, transparent 70%); background: linear-gradient({{ article.date|strftime('%d%m') }}deg, {{ article.color }} 0%, transparent 70%); top: 100%, url("/images/damier.png"); top: 0;' data-color="{{ article.color }}">
<header class="schedule__header">
<h1 class="schedule__title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
<p class="schedule__category">
{% if article.category %}
{% if article.category == "saison-17-18" %}
{% else %}
{{article.category}}
{% endif %}
{% endif %}
</p>
<p class="schedule__authors">
{% if article.piece_authors %}
{% for author in article.piece_authors %}{% if loop.index > 1 %}/&#8203;{% endif %}{{ author }}{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment