pandoc-scholar.html 4.1 KB

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