Skip to content

Commit a69dcaa

Browse files
committed
make None empty string
1 parent 8b4c506 commit a69dcaa

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

_layouts/post.html

Lines changed: 3 additions & 3 deletions
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.name != "None" %}
21+
{% if sponsor.name != "" %}
2222
<div class="infobox post__sponsor-box">
2323
<a href="{{ sponsor.link }}">
2424
<img class="post__sponsor-img"
@@ -30,8 +30,8 @@ <h2>{{ page.title }}</h2>
3030
</div>
3131
{% endif %}
3232

33-
{% if project.name != "None" %}
34-
{% if project.logo != "None" %}
33+
{% if project.name != "" %}
34+
{% if project.logo != "" %}
3535
<img class="post__project-logo" src="{{ site.baseurl }}/{{ project.logo }}">
3636
{% endif %}
3737
<p>{{ project.content }}</p>

_projects/1none.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
obj_id: 1none
3-
name: "None"
4-
logo: static/images/site_logo/python_sprints_logo_triangles_flat_light_text_502x100px.png
5-
website: https://python-sprints.github.io
3+
name: ""
4+
logo: ""
5+
website: ""
66
setup_html: |
77
<p></p>
88
---

_sponsors/1none.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
obj_id: 1none
3-
name: "None"
4-
logo: "None"
5-
link: "None"
6-
address: "None"
3+
name: ""
4+
logo: ""
5+
link: ""
6+
address: ""
77
lat:
88
lng:
99
---

0 commit comments

Comments
 (0)