rename .html.tmpl
files to .html
This commit is contained in:
parent
438fdbe22d
commit
37da8acf5a
27 changed files with 29 additions and 29 deletions
26
layouts/partials/cv/organisation/related-items.html
Normal file
26
layouts/partials/cv/organisation/related-items.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!--
|
||||
Renders the related items for a given organisation.
|
||||
|
||||
@params sc Site context
|
||||
@params organisation_titles `dict` of organsation titles for this org and all of its children.
|
||||
-->
|
||||
|
||||
{{- $sc := .sc -}}
|
||||
{{- $organisation_titles := .organisation_titles -}}
|
||||
|
||||
<section id="related" class="organisation__related">
|
||||
|
||||
<!-- Blog posts -->
|
||||
{{- partial "cv/organisation/related-items-section.html" ( dict "sc" $sc "tls" "blog" "section_title" "Blog Posts" "organisation_titles" $organisation_titles ) -}}
|
||||
|
||||
<!-- Portfolios -->
|
||||
{{- range ( ( $sc.GetPage "portfolio" ).Sections ).ByWeight -}}
|
||||
{{- partial "cv/organisation/related-items-section.html" ( dict "sc" $sc "tls" "portfolio" "section_title" .Title "organisation_titles" $organisation_titles ) -}}
|
||||
{{- end -}}
|
||||
|
||||
<!-- Qualifications, Awards and Appearances -->
|
||||
{{- range ( where ( ( $sc.GetPage "cv" ).Sections ) "Title" "not in" ( slice "Organisations" "Roles" ) ).ByWeight }}
|
||||
{{- partial "cv/organisation/related-items-section.html" ( dict "sc" $sc "tls" "cv" "section_title" .Title "organisation_titles" $organisation_titles ) -}}
|
||||
{{- end -}}
|
||||
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue