Skip to content

Commit 8b4c506

Browse files
committed
fixing sponsor None
1 parent 9a00327 commit 8b4c506

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
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"

_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)