Skip to content

Commit 07ce5b6

Browse files
committed
replace {{ post.title }} with {{ post.city }}
1 parent cfd0763 commit 07ce5b6

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

_posts/2016-08-15-Auckland.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
layout: post
3-
title: "Event in Auckland"
4-
date: 2016-08-15 11:37:37 +0200
2+
layout: post
3+
country: New Zealand
4+
city: Auckland
5+
date: 2016-08-15 11:37:37 +0200
56
---
67
Hello!

_posts/2016-09-15-Berlin.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
layout: post
3-
title: "Berlin, Germany"
4-
date: 2017-09-16 11:37:37 +0200
2+
layout: post
3+
country: Germany
4+
city: Berlin
5+
date: 2017-09-16 11:37:37 +0200
56
workshop_dates: 16–17 September 2017
67
---
78
Hello!

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2>
2929
<li>
3030
<div class="background-image city" style="background-image: url({{ post.city_image_url }})"></div>
3131
<div class="background-image organizer" style="background-image: url({{ post.organizer_image_url }})"></div>
32-
<h3><a class="post-link" href="{{ post.url }}">{{ post.title }}</a></h3>
32+
<h3><a class="post-link" href="{{ post.url }}">{{ post.city }}</a></h3>
3333
<p>{{ post.workshop_dates }}</li>
3434
</li>
3535
{% endfor %}

0 commit comments

Comments
 (0)