diff --git a/assets/sass/_theme/sections/volumes.sass b/assets/sass/_theme/sections/volumes.sass index 51681cc556447ece6149b80f56b0dca6b0da2e4b..80b7be7352969636dcec6c5b046f76abe422b99c 100644 --- a/assets/sass/_theme/sections/volumes.sass +++ b/assets/sass/_theme/sections/volumes.sass @@ -20,6 +20,8 @@ .content @include media-breakpoint-up(desktop) grid-column: 1 / 8 + h2 + @include meta > div margin-bottom: $spacing1 @include media-breakpoint-up(desktop) diff --git a/layouts/partials/papers/paper.html b/layouts/partials/papers/paper.html index 3019c669e8247d3b94a01f271889622500b598f5..b3ba77b93e4cba9303e9c31f602e9da1c93d29ce 100644 --- a/layouts/partials/papers/paper.html +++ b/layouts/partials/papers/paper.html @@ -9,13 +9,21 @@ <span itemprop="name">{{ partial "PrepareHTML" .Title }}</span> </a> </h3> - {{- range $index, $authors := .Params.Researchers -}} - {{- $author := site.GetPage (printf "/persons/%s" .) -}} - {{- if ne $index 0 -}},{{ end }} - <span itemprop="author" itemscope itemtype="https://schema.org/Person"><a href="{{ $author.Permalink }}" itemprop="url"><span itemprop="name">{{ trim $author.Title "\n" }}</span></a></span> - {{- end -}} + <div class="paper-authors"> + {{- range $index, $authors := .Params.Researchers -}} + {{- $author := site.GetPage (printf "/persons/%s" .) -}} + {{ if $author }} + {{- if ne $index 0 -}},{{ end }} + <span itemprop="author" itemscope itemtype="https://schema.org/Person"> + <a href="{{ $author.Permalink }}" itemprop="url"> + <span itemprop="name">{{ trim $author.Title "\n" }}</span> + </a> + </span> + {{- end -}} + {{- end -}} + </div> <p class="paper-volume"> - <span>Article</span> + <span>{{ .Params.paper_kind }}</span> {{ if not $inside_volume }} {{ range .Params.Volumes }} {{ $volume := site.GetPage (printf "/volumes/%s" .) }}