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

wip

parent ec28a315
No related branches found
No related tags found
No related merge requests found
<section>
<div class="top">
<h2 class="h5"><a href="{{ .Permalink }}">{{ i18n "persons.posts" }}</a></h2>
<h2 class="h5"><a href="{{ .author.Permalink }}">{{ i18n "persons.posts" }}</a></h2>
</div>
<div class="posts posts--{{- site.Params.posts.index.layout -}}">
{{ range first 3 .posts }}
......
......@@ -73,13 +73,22 @@
{{ partial "persons/programs.html" (dict "programs" $programsForTeacher "slug" $slug) }}
{{ end }}
{{ $publications }}
{{ if $publications }}
{{ partial "persons/publications.html" (dict "publications" $publications) }}
{{ $paginator := $researcher.Paginate $publications 3 }}
{{ range $paginator.Pages }}
{{ partial "publications/publication.html" . }}
{{ end }}
{{ partial "commons/pagination.html" (
dict "Paginator" $paginator
) }}
{{ end }}
{{ if $posts }}
{{ partial "persons/posts.html" (dict "posts" $posts) }}
{{ partial "persons/posts.html" (dict "posts" $posts "author" $author) }}
{{ end }}
{{ if $papers }}
......
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