Skip to content

Commit

Permalink
Merge pull request #54 from elixir-europe-training/fix-48-bug
Browse files Browse the repository at this point in the history
fix: fix #48 bug reported mission and benefit should not be shown as …
  • Loading branch information
ninanorgren authored Nov 2, 2023
2 parents 09bd6cb + bc2d8ad commit 68b04b7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _layouts/resource_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,15 @@ <h2>Description</h2>
<h2>What can you do with {{ page.title }}</h2>
{{ page.objective | markdownify }}

<h2>Our mission</h2>
{{ page.mission | markdownify }}
{%- unless page.mission == nil or page.mission == false %}
<h2>Our mission</h2>
{{ page.mission | markdownify }}
{% endunless %}

<h2>Benefit</h2>
{{ page.benefit | markdownify }}
{%- unless page.benefit == nil or page.benefit == false %}
<h2>Benefit</h2>
{{ page.benefit | markdownify }}
{% endunless %}

<!-- BLOCK 2 -->
{%- unless page.licenses == nil or page.licenses == false %}
Expand Down

0 comments on commit 68b04b7

Please sign in to comment.