summaryrefslogtreecommitdiff
path: root/paper/templates/pandoc-scholar.html
blob: 6b457c75354b98e02160e58fc386368e72276623 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<!--
Template created by Andrew G. York, based on this theme by Diana Mounter:
https://github.com/broccolini/dinky, which mentioned that
attribution is appreciated. Thanks, broccolini! -->
<html lang="en">
<head>
  <base target="_blank"/>
  <meta charset="utf-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
$for(author-meta)$
  <meta name="author" content="$author-meta$"/>
$endfor$
$if(date-meta)$
  <meta name="dcterms.date" content="$date-meta$"/>
$endif$
$if(keywords)$
  <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"/>
$endif$
  <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  <style type="text/css">code{white-space: pre;}</style>
$if(quotes)$
  <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
$if(highlighting-css)$
  <style type="text/css">
$highlighting-css$
  </style>
$endif$
$for(css)$
  <link rel="stylesheet" href="$css$">
$endfor$
$if(math)$
$if(mathjax)$
$-- MathJax is handled specially.  We need to add the data-external attribute
$-- so it doesn't get inlined (and thus broken) by the --self-contained option.
$-- (2.7.2 is the default MathJax version as of Pandoc 2.2.1.)
  <script data-external="1" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS_CHTML-full"></script>
$else$
  $math$
$endif$
$endif$
  <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  <![endif]-->
$for(header-includes)$
  $header-includes$
$endfor$
</head>
<body>
<div class="wrapper">
$if(project)$
<header class="page-header">
  <h1 class="header">$project.title$</h1>
  <ul>
$if(project.zip-url)$
    <li class="download"><a class="buttons" href="$project.zip-url$">Download ZIP</a></li>
$endif$
$if(project.github-url)$
    <li><a class="buttons github" href="$project.github-url$">View On GitHub</a></li>
$endif$
$if(project.pdf-url)$
    <li><a class="buttons pdf" href="$project.pdf-url$">Download PDF</a></li>
$endif$
  </ul>
  <p class="header">This project is maintained by $project.maintainer$</p>
</header>
$endif$
<article typeof="ScholarlyArticle" vocab="http://schema.org/">
    <!-- <header class="article-header"> -->
<h1 property="headline">$title$</h1>
$if(subtitle)$
<p property="alternativeHeadline" class="subtitle">$subtitle$</p>
$endif$
<!-- </header> -->
<p class="author-list">
$for(author)$
  $if(author.last)$and $endif$<span property="author" typeof="Person">
    $author.name$</span><sup>$if(author.correspondence)$$if(author.email)$<a href="mailto:$author.email$">✉</a> $endif$$endif$$for(author.institute_indices)$$author.institute_indices$$sep$,$endfor$$if(author.equal_contributor)$,$if(equal_contributor_symbol)$$equal_contributor_symbol$$else$*$endif$$endif$</sup>$sep$,
$endfor$
</p>
<div class="author_affiliations">
$for(institute)$
  <div class="affiliation"><sup>$institute.index$</sup>$institute.name$$if(institute.address)$, $institute.address$$endif$
  </div>
$endfor$
</div>
<div class="author-info">
    $if(has_equal_contributors)$
    <div class="author-contrib">
        <sup>$if(equal_contributor_symbol)$$equal_contributor_symbol$$else$*$endif$</sup>These authors contributed equally to this work
    </div>
    $endif$
    $if(has_correspondence)$
    <div class="author-correspondence">
        Correspondence: $for(author)$$if(author.correspondence)$$if(author.email)$$author.name$ <a href="mailto:$author.email$">&lt;$author.email$&gt;</a> $endif$$endif$$endfor$
    </div>
    $endif$
</div>
$if(abstract)$<p class="abstract" property="description">$abstract$</p>$endif$
$if(doi)$<p><a href="https://doi.org/$doi$">doi: $doi$</a></p>$endif$

$for(include-before)$
$include-before$

$endfor$

<div property="articleBody" class="article-body">
$body$
</div>
</article>
<footer>
  <p><small>Generated using <a href="https://github.com/pandoc-scholar/pandoc-scholar">pandoc scholar</a></small></p>
</footer>
</div>
 <!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>