mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-09 02:15:37 +00:00
feat: option to list each person's organization in People widget
To use, add `show_organizations: true` to People widget front matter Closes #1941 See #1953
This commit is contained in:
1 parent
9852d63bc4
commit
97606bf9c6
1 file changed
+1
@@ -51,6 +51,7 @@
|
||||
|
||||
<div class="portrait-title">
|
||||
<h2>{{with $link}}<a href="{{.}}">{{end}}{{ .Title }}{{if $link}}</a>{{end}}</h2>
|
||||
{{ if and $show_organizations .Params.organizations }}{{range .Params.organizations }}<h3><em>{{ .name | markdownify | emojify }}</em></h3>{{ end }}{{ end }}
|
||||
{{ with .Params.role }}<h3>{{ . | markdownify | emojify }}</h3>{{ end }}
|
||||
{{ if $show_social }}{{ partial "social_links" . }}{{ end }}
|
||||
{{ if and $show_interests .Params.interests }}<p class="people-interests">{{ delimit .Params.interests ", " | markdownify | emojify }}</p>{{ end }}
|
||||
|
||||
Reference in new issue
Block a user