Update talks template
This commit is contained in:
parent
0a9a12f0da
commit
17a1738d75
|
@ -35,18 +35,22 @@ talks:
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="spaced-y-10">
|
<div class="spaced-y-10">
|
||||||
<div>
|
<div>
|
||||||
<h2 class="mb-4">Upcoming Talks</h2>
|
<h2 class="font-extrabold mb-4">Upcoming Talks</h2>
|
||||||
|
|
||||||
<div class="spaced-y-8">
|
<div class="spaced-y-12">
|
||||||
{% for talk in getUpcomingTalks(page.talks|merge(data.talks)) %}
|
{% for talk in getUpcomingTalks(page.talks|merge(data.talks)) %}
|
||||||
<div class="bg-blue-lighter">
|
<div>
|
||||||
<h3>
|
<h3 class="text-lg text-black mb-1">
|
||||||
{% if talk.url %}
|
{% if talk.url %}
|
||||||
<a href="{{ talk.url }}">{{ talk.title }}</a>
|
<a class="text-inherit" href="{{ talk.url }}">{{ talk.title }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ talk.title }}
|
{{ talk.title }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
<div class="text-sm text-grey-darkest">
|
||||||
|
<p>{{ talk.excerpt }}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>sdf</p>
|
<p>sdf</p>
|
||||||
|
@ -55,18 +59,22 @@ talks:
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h2 class="mb-4">Previous Talks</h2>
|
<h2 class="font-extrabold mb-4">Previous Talks</h2>
|
||||||
|
|
||||||
<div class="spaced-y-8">
|
<div class="spaced-y-12">
|
||||||
{% for talk in getPastTalks(page.talks|merge(data.talks))|reverse %}
|
{% for talk in getPastTalks(page.talks|merge(data.talks))|reverse %}
|
||||||
<div class="bg-blue-lighter">
|
<div>
|
||||||
<h3>
|
<h3 class="text-lg text-black mb-1">
|
||||||
{% if talk.url %}
|
{% if talk.url %}
|
||||||
<a href="{{ talk.url }}">{{ talk.title }}</a>
|
<a class="text-inherit" href="{{ talk.url }}">{{ talk.title }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ talk.title }}
|
{{ talk.title }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
<div class="text-sm text-grey-darkest">
|
||||||
|
<p>{{ talk.excerpt }}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue