last touches
This commit is contained in:
parent
49071fb9d8
commit
cde5755238
11 changed files with 184 additions and 108 deletions
27
index.html
27
index.html
|
|
@ -5,9 +5,8 @@ home: yes
|
|||
<div class="content container-fluid">
|
||||
|
||||
{% for post in site.posts %} {% if forloop.first != true %}
|
||||
|
||||
<!-- TODO parametrize this, no hardcoded numbers -->
|
||||
{% assign pos = 39 | minus: post.number %}
|
||||
{% assign post_number = site.posts | size %}
|
||||
{% assign pos = post_number | minus: post.number %}
|
||||
|
||||
<div data-scroll-index="{{pos}}" class="row">
|
||||
|
||||
|
|
@ -21,19 +20,23 @@ home: yes
|
|||
{% if post.title %}
|
||||
<p>{{post.title}}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if post.topics %}
|
||||
|
||||
{% if post.location %}
|
||||
<p><a class="highlight button hvr-sweep-to-top" href={{post.location_website}} target="_blank">{{post.location}}</a></p>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
{% assign tags = (post.topics | split:",") %} {% for tag in tags %}
|
||||
<li>{{tag}}</li>
|
||||
{% endfor%}
|
||||
{% for talk in post.talks %}
|
||||
{% if talk.topics %}
|
||||
{% assign tags = (talk.topics | split:",") %}
|
||||
{% for tag in tags | uniq %}
|
||||
<li>{{tag}}</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
{% endif %} {% if post.location %}
|
||||
<p><a class="highlight button hvr-sweep-to-top" href={{post.location_website}} target="_blank">{{post.location}}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue