Skip to content

Commit

Permalink
Add dutch only
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk committed Apr 3, 2024
1 parent 2255d52 commit ef00531
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions content/companies/mathematics/triple_a.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ phone: '020-7073640'
email: '[email protected]'
address: 'Hoogoorddreef 54'
post_city: '1101 BE Amsterdam'
dutchOnly: True
---

## Wie is Triple A - Risk Finance?
Expand Down
3 changes: 3 additions & 0 deletions layouts/companies/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
</div>
<div class="col-12 col-md-8">
<div class="work work-single">
{{ if .Params.dutchOnly }}
<i>Dutch Only</i>
{{ end }}
<div class="content">{{.Content}}</div>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion layouts/companies/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
{{ end }}
<div class="work-content">
<h2 class="work-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
<a href="{{ .Permalink }}">{{ .Title }}
{{ if .Params.dutchOnly }}
<small>(Dutch Only)</small>
{{ end }}
</a>
</h2>
{{ .Content | truncate 120 "..." | plainify }}
</div>
Expand Down

0 comments on commit ef00531

Please sign in to comment.