37 lines
1 KiB
HTML
37 lines
1 KiB
HTML
|
{{- /*
|
||
|
Displays the meta information for an item.
|
||
|
|
||
|
@params pc Page context
|
||
|
@params sc Site context
|
||
|
*/
|
||
|
-}}
|
||
|
|
||
|
|
||
|
<footer class="site-content__footer">
|
||
|
<h2>Meta</h2>
|
||
|
|
||
|
{{- with ( .pc.GetTerms "categories" ) -}}
|
||
|
{{ partial "single/post-meta/categories.html" ( dict "categories" . ) }}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- with ( .pc.GetTerms "areas" ) -}}
|
||
|
{{ partial "single/post-meta/life-areas.html" ( dict "areas" . ) }}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- with ( .pc.GetTerms "skills" ) -}}
|
||
|
{{ partial "single/post-meta/skills.html" ( dict "pc" $.pc "skills" . "skills_ciisec_levels" $.pc.Params.skills_ciisec_levels ) }}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- if ( .pc.GetTerms "organisations" ) -}}
|
||
|
{{ partial "single/post-meta/organisations.html" ( dict "pc" .pc "sc" .sc ) }}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- with ( .pc.GetTerms "locations" ) -}}
|
||
|
{{ partial "single/post-meta/locations.html" ( dict "locations" . ) }}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- with ( .pc.GetTerms "tags" ) -}}
|
||
|
{{ partial "single/post-meta/tags.html" ( dict "tags" . ) }}
|
||
|
{{- end -}}
|
||
|
</footer>
|