Skip to content
Snippets Groups Projects
Commit f8b415cf authored by Arnaud Levy's avatar Arnaud Levy
Browse files

publications

parent 56a951ec
No related branches found
No related tags found
No related merge requests found
......@@ -176,8 +176,15 @@ ol.persons--list
.blocks
margin-top: $spacing3
.person-programs,
.person-objects
.person-objects,
.person-publications
margin-top: $spacing4
.publication
border-bottom: 1px solid $color-border
padding: $spacing0 0
.ref
@include small
margin-top: 0
@include media-breakpoint-down(lg)
.roles
margin-top: $spacing2
......
<section class="person-publications">
<div class="top">
<h2 class="h5">{{ i18n "persons.publications" }}</h2>
</div>
<div class="publications">
{{ range . }}
{{ partial "publications/publication.html" . }}
{{ end }}
</div>
</section>
<article class="publication">
<p class="title">
{{ partial "PrepareHTML" .title }}
</p>
<p class="ref">
{{ partial "PrepareHTML" .ref }}
</p>
</article>
......@@ -13,6 +13,7 @@
{{ $papersForResearcher = index site.Taxonomies.researchers $slug}}
{{ end }}
{{ $author := site.GetPage (printf "/authors/%s" $slug) }}
{{ $publications := .Params.publications }}
{{ partial "persons/hero-single.html" . }}
......@@ -80,6 +81,10 @@
{{ if $papersForResearcher }}
{{ partial "persons/papers.html" (dict "papers" $papersForResearcher "slug" $slug) }}
{{ end }}
{{ if $publications }}
{{ partial "persons/publications.html" $publications }}
{{ end }}
</div>
</div>
{{ end }}
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