Skip to content

Commit efc91dc

Browse files
authored
Merge pull request #183 from Cheukting/update-post-template
Update post template
2 parents 23a25de + 8b4c506 commit efc91dc

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<h2>{{ page.title }}</h2>
1919
<p>{{ page.content }}</p>
2020

21-
{% if sponsor %}
21+
{% if sponsor.name != "None" %}
2222
<div class="infobox post__sponsor-box">
2323
<a href="{{ sponsor.link }}">
2424
<img class="post__sponsor-img"

_posts/2019-08-07-pyntxos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Pyntxos - Scraping, visualization, optimizationa and dashboarding"
44
level: "All levels"
55
time: "18:00"
66
rsvp_link: https://www.meetup.com/Python-Sprints/events/263261166/
7-
project: pyntxos
7+
project:
88
sponsor: quantum_black
99
---
1010

_posts/2019-08-21-pyntxos-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Pyntxos II - Scraping, visualization, optimization and dashboarding"
44
level: "All levels"
55
time: "18:00"
66
rsvp_link: https://www.meetup.com/Python-Sprints/events/263964499/
7-
project: pyntxos
7+
project:
88
sponsor: deliveroo
99
---
1010

_posts/2019-09-18-pypastry-telegram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "PyPastry and Telegram bot"
44
level: "All levels"
55
time: "18:00"
66
rsvp_link: https://www.meetup.com/Python-Sprints/events/264752369/
7-
project: none
7+
project:
88
sponsor: iwoca
99
---
1010

_sponsors/1none.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
obj_id: 1none
3+
name: "None"
4+
logo: "None"
5+
link: "None"
6+
address: "None"
7+
lat:
8+
lng:
9+
---
10+
< boilerplate for sponsor None >

0 commit comments

Comments
 (0)