Skip to content

Commit

Permalink
Merge pull request #443 from DIVD-NL/403-new-subsite-why-our-work-mat…
Browse files Browse the repository at this point in the history
…ters

403 - Made piped content into markdownify
  • Loading branch information
MagicLegend authored Jul 29, 2024
2 parents 7def1d5 + 13fc03d commit ac0e783
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions layouts/why-our-work-matters/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
{{ partial "breadcrumbs" . }}
{{ partial "p/layout_open" (dict "classes" (slice "right" "vcenter")) }}
<div>
<h1>{{ .Params.opener }}</h1>
<h1>{{ .Params.title }}</h1>
</div>
<div>
<p>{{ .Params.intro}}</p>
<a class="cta secondary" href="#donate">{{ i18n "donate" }}</a>
<p>{{ .Params.intro | markdownify }}</p>
</div>
{{ partial "p/layout_close" }}
</div>
Expand All @@ -26,7 +25,7 @@ <h1>{{ .Params.opener }}</h1>
<article>
<header>
<h3>{{ .Params.leftblock.title }}</h3>
<p>{{ .Params.leftblock.content }}</p>
<p>{{ .Params.leftblock.content | markdownify }}</p>
</header>
{{ if .Params.leftblock.learnmore }}
<nav>
Expand All @@ -43,7 +42,7 @@ <h3>{{ .Params.leftblock.title }}</h3>
<article>
<header>
<h3>{{ .Params.rightblock.title }}</h3>
<p>{{ .Params.rightblock.content }}</p>
<p>{{ .Params.rightblock.content | markdownify }}</p>
</header>
{{ if .Params.rightblock.learnmore }}
<nav>
Expand All @@ -67,7 +66,15 @@ <h1>{{ .Params.main.Title }}</h1>
{{ partial "p/layout_close" }}

{{ partial "p/layout_open" (dict "classes" (slice "article" )) }}
<iframe width="560" height="315" src="https://cyberveilignederland.nl/woordenboek.iframe?mainColor=ffd735&secondaryColor=111111" title="Cyberveilig woordenboek" frameborder="0"></iframe>
<iframe width="1200" height="750" src="https://cyberveilignederland.nl/woordenboek.iframe?mainColor=ffd735&secondaryColor=111111" title="Cyberveilig woordenboek" frameborder="0"></iframe>
{{ partial "p/layout_close" }}

{{ partial "p/layout_open" (dict "classes" (slice "article" )) }}
<div class="article-body">
<article>
{{ .Params.belowwoordenboek | markdownify }}
</article>
</div>
{{ partial "p/layout_close" }}

</div>
Expand Down

0 comments on commit ac0e783

Please sign in to comment.