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

fix

parent 8262f1fc
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,10 @@
h3
a:hover
color: $color-accent
.paper-kind
@include meta
text-transform: uppercase
margin-right: $spacing1
.paper-volume
@include meta
text-transform: lowercase
......
......@@ -45,18 +45,10 @@
margin-left: $spacing0
@include media-breakpoint-up(desktop)
> div:first-of-type
display: flex
flex-wrap: wrap
justify-content: space-between
h3
flex: 1
> span
order: 3
width: 100%
.paper-volume
padding-left: $spacing1
.paper-actions
gap: $grid-gutter
margin-top: $spacing1
margin-top: $spacing0
a, button
width: unset
\ No newline at end of file
......@@ -9,7 +9,10 @@
<span itemprop="name">{{ partial "PrepareHTML" .Title }}</span>
</a>
</h3>
<div class="paper-authors">
<p>
{{ with .Params.paper_kind }}
<span class="paper-kind">{{ . }}</span>
{{ end }}
{{- range $index, $authors := .Params.Researchers -}}
{{- $author := site.GetPage (printf "/persons/%s" .) -}}
{{ if $author }}
......@@ -21,18 +24,17 @@
</span>
{{- end -}}
{{- end -}}
</div>
<p class="paper-volume">
<span>{{ .Params.paper_kind }}</span>
{{ if not $inside_volume }}
</p>
{{ if not $inside_volume }}
<p class="paper-volume">
{{ range .Params.Volumes }}
{{ $volume := site.GetPage (printf "/volumes/%s" .) }}
{{ if $volume }}
{{ i18n "commons.in" }} “<a href="{{ $volume.Permalink }}">{{ $volume.Title }}</a>
{{ end }}
{{ end }}
{{ end }}
</p>
</p>
{{ end }}
</div>
{{ partial "papers/actions.html" (dict "paper" . ) }}
</article>
......
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