Skip to content
Snippets Groups Projects
Commit bc678546 authored by alexisben's avatar alexisben
Browse files

Merge branch 'main' of github.com:noesya/osuny-hugo-theme-aaa

parents af2acc78 ebce559d
No related branches found
No related tags found
No related merge requests found
{{/* <ol class="persons">
{{ range (.Paginate (.Pages.ByParam "last_name")).Pages }}
{{ $person := site.GetPage (printf "/persons/%s" .Slug) }}
{{ with $person }}
<li>
<p class="name"><a href="{{ .Permalink }}">{{ partial "PrepareHTML" .Title }}</a></p>
{{- if partial "GetTextFromHTML" .Params.description_short }}
<p>{{- partial "PrepareHTML" .Params.description_short -}}</p>
{{ end -}}
</li>
{{ if .Slug }}
{{ $slug := printf "/persons/%s" .Slug }}
{{ $person := site.GetPage $slug }}
{{ if $person }}
{{ with $person }}
<li>
<p class="name"><a href="{{ .Permalink }}">{{ partial "PrepareHTML" .Title }}</a></p>
{{- if partial "GetTextFromHTML" .Params.description_short }}
<p>{{- partial "PrepareHTML" .Params.description_short -}}</p>
{{ end -}}
</li>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</ol>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment