forked from laurens/fediversity_website
Sommige pagina's hebben geen tekst. In dat geval 'Deel feedback' als tekst
This commit is contained in:
parent
ab2a8a5e0a
commit
f196966ad8
|
@ -4,7 +4,11 @@
|
||||||
<div class="three-column-grid">
|
<div class="three-column-grid">
|
||||||
<div>
|
<div>
|
||||||
<h2>Help mee</h2>
|
<h2>Help mee</h2>
|
||||||
{{ with .File }}<a class="btn btn-cta" href="https://github.com/NLUUG/website/edit/main/content/{{ .Path }}" target="_blank" rel="noopener">Verbeter deze pagina</a>{{ end }}
|
{{ if .File }}
|
||||||
|
<a class="btn btn-cta" href="https://github.com/NLUUG/website/edit/main/content/{{ .File.Path }}" target="_blank" rel="noopener">Verbeter deze pagina</a>
|
||||||
|
{{ else }}
|
||||||
|
<a class="btn btn-cta" href="{{ relURL "website/feedback/" }}">Deel feedback</a>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{{ $iconsize := .Site.Params.mediumIconSize }}
|
{{ $iconsize := .Site.Params.mediumIconSize }}
|
||||||
|
|
Reference in a new issue