Welcome to mirror list, hosted at ThFree Co, Russian Federation.

homepage-issue-toc.html « partials « layouts - github.com/epistemehealth/health-science-journal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f6b086d29899dcef35d50f350865b01f2598b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="issue-toc">
{{ range .Pages.GroupByParam "articleType_weight" }}
<div class="issue-toc-section">
<h3 class="issue-toc-section-title">{{ range first 1 .Pages }}{{ .Params.articleType }}{{ end }}</h3>
{{ range (.Pages.ByParam "firstpage") }}
<div class="article-summary">
<div class="row">
<div class="col">
<div class="article-summary-authors">{{$listlen := sub (len .Page.Params.authors) 1 }}{{ range $elem_index, $elem_val := .Page.Params.authors }}{{ .given_name }} {{ .surname }}{{ if lt $elem_index $listlen }}, {{ end }}{{ end }}
</div>
</div>
<div class="col-3 col-md-2 col-lg-2">
<div class="article-summary-pages text-right">{{ .Params.firstpage }}{{ with .Params.lastpage }}-{{ . }}{{ end }}</div>
</div>
</div>
<div class="article-summary-title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
<div class="article-summary-doi"><a href="https://doi.org/{{ .Params.DOI }}">https://doi.org/{{ .Params.DOI }}</a></div>
<div class="article-summary-galleys">
{{ if .Params.PDF }}<a class="btn btn-primary" href="{{ .Page.Permalink }}view-pdf.html">
PDF
</a>{{ end }}
{{ if .Params.HTML }}<a class="btn btn-primary" href="{{ .Page.Permalink }}view-html.html">
HTML
</a>{{ end }}
{{ if .Params.XML }}<a class="btn btn-primary" href="{{ .Page.Permalink }}view-lens.html">
XML
</a>{{ end }}
{{ if .Params.EPUB }}<a class="btn btn-primary" href="{{ .Page.Permalink }}{{ .Params.EPUB }}">
EPUB
</a>{{ end }}
{{ if .Params.customGalleys }}{{ range .Params.customGalleys }}{{ if .galleyURL }}<a class="btn btn-primary" href="{{ .galleyURL }}">
{{ .galleyname }}
</a>{{ end }}{{ end }}{{ end }}
</div>
</div>{{ end }}
</div>
{{ end }}
</div>