Skip to content

Commit

Permalink
add small code snippet in layout file for deliverables page to specif…
Browse files Browse the repository at this point in the history
…y pdf language accurately
  • Loading branch information
RadioPotin committed Feb 12, 2025
1 parent 6a9b767 commit 3694041
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions layouts/page/deliverables.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@ <h5 class="f6 fw6 dark-blue">{{ .id }} - {{ .name }}</h5>
{{ end }}
</ul>
<a href="{{ .pdf_url }}" class="link dim blue underline f6 fw5" target="_blank">
{{ if eq $parent.Site.Language.Lang "fr" }}
Télécharger la version PDF
{{ if eq .id "L3.1" }}
{{ if eq $parent.Site.Language.Lang "fr" }}
Télécharger la version PDF (Anglaise)
{{ else }}
Download PDF version
{{ end }}
{{ else }}
Download PDF version (French)
{{ if eq $parent.Site.Language.Lang "fr" }}
Télécharger la version PDF
{{ else }}
Download PDF version (French)
{{ end }}
{{ end }}
</a>
</div>
Expand Down

0 comments on commit 3694041

Please sign in to comment.