@thegetty/quire-cli 0.20.2 → 0.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/index.js +20 -0
  2. package/package.json +1 -1
  3. package/CHANGELOG.md +0 -46
  4. package/bin/.DS_Store +0 -0
  5. package/bin/go-iiif/.DS_Store +0 -0
  6. package/bin/index.js +0 -2
  7. package/bin/starters/README.md +0 -0
  8. package/bin/starters/default/.circleci/config.yml +0 -98
  9. package/bin/starters/default/.gitignore +0 -14
  10. package/bin/starters/default/.nojekyll +0 -0
  11. package/bin/starters/default/CHANGELOG.md +0 -38
  12. package/bin/starters/default/README.md +0 -25
  13. package/bin/starters/default/bin/deploy.sh +0 -25
  14. package/bin/starters/default/config/_default/config.yml +0 -53
  15. package/bin/starters/default/config/development/config.yml +0 -14
  16. package/bin/starters/default/config/environments/dev.yml +0 -14
  17. package/bin/starters/default/config/environments/github.yml +0 -15
  18. package/bin/starters/default/config/environments/netlify.yml +0 -18
  19. package/bin/starters/default/config/epub.yml +0 -15
  20. package/bin/starters/default/config/pdf.yml +0 -16
  21. package/bin/starters/default/config/site.yml +0 -13
  22. package/bin/starters/default/config.yml +0 -53
  23. package/bin/starters/default/content/about.md +0 -20
  24. package/bin/starters/default/content/bibliography.md +0 -7
  25. package/bin/starters/default/content/catalogue/1.md +0 -28
  26. package/bin/starters/default/content/catalogue/2.md +0 -29
  27. package/bin/starters/default/content/catalogue/3.md +0 -20
  28. package/bin/starters/default/content/catalogue/4.md +0 -22
  29. package/bin/starters/default/content/catalogue/catalogue-index.md +0 -8
  30. package/bin/starters/default/content/contents.md +0 -7
  31. package/bin/starters/default/content/contributors.md +0 -7
  32. package/bin/starters/default/content/cover.md +0 -11
  33. package/bin/starters/default/content/essay.md +0 -80
  34. package/bin/starters/default/content/intro.md +0 -21
  35. package/bin/starters/default/content/search-index.md +0 -8
  36. package/bin/starters/default/data/figures.yml +0 -90
  37. package/bin/starters/default/data/objects.yml +0 -49
  38. package/bin/starters/default/data/publication.yml +0 -149
  39. package/bin/starters/default/data/references.yml +0 -11
  40. package/bin/starters/default/static/css/custom.css +0 -0
  41. package/bin/starters/default/static/data/sample-geojson.json +0 -16
  42. package/bin/starters/default/static/downloads/.gitkeep +0 -0
  43. package/bin/starters/default/static/downloads/output.epub +0 -0
  44. package/bin/starters/default/static/downloads/output.mobi +0 -0
  45. package/bin/starters/default/static/downloads/output.pdf +0 -0
  46. package/bin/starters/default/static/img/contributors/judith-keller.jpg +0 -0
  47. package/bin/starters/default/static/img/cover.png +0 -0
  48. package/bin/starters/default/static/img/figures/duo.jpg +0 -0
  49. package/bin/starters/default/static/img/figures/evans-burroughs.jpg +0 -0
  50. package/bin/starters/default/static/img/figures/evans-child.jpg +0 -0
  51. package/bin/starters/default/static/img/figures/evans-graveyard.jpg +0 -0
  52. package/bin/starters/default/static/img/figures/evans-hymns.jpg +0 -0
  53. package/bin/starters/default/static/img/figures/evans-legionnaire.jpg +0 -0
  54. package/bin/starters/default/static/img/figures/evans-refugee.jpg +0 -0
  55. package/bin/starters/default/static/img/figures/evans-sons.jpg +0 -0
  56. package/bin/starters/default/static/img/figures/evans-video-still.jpg +0 -0
  57. package/bin/starters/default/static/img/figures/evans-washroom.jpg +0 -0
  58. package/bin/starters/default/static/img/figures/evans.jpg +0 -0
  59. package/bin/starters/default/static/img/figures/family.jpg +0 -0
  60. package/bin/starters/default/static/img/figures/lange-house.jpg +0 -0
  61. package/bin/starters/default/static/img/figures/lange.jpg +0 -0
  62. package/bin/starters/default/static/img/figures/mother-b.jpg +0 -0
  63. package/bin/starters/default/static/img/figures/mother-c.jpg +0 -0
  64. package/bin/starters/default/static/img/figures/mother.jpg +0 -0
  65. package/bin/starters/default/static/img/figures/pickers.jpg +0 -0
  66. package/bin/starters/default/static/img/logo-getty.png +0 -0
  67. package/bin/starters/default/static/img/pattern-spiral-overlay.png +0 -0
  68. package/bin/starters/default/static/js/custom.js +0 -4
  69. package/bin/themes/README.md +0 -0
  70. package/bin/themes/default/.circleci/config.yml +0 -62
  71. package/bin/themes/default/.eslintrc.js +0 -16
  72. package/bin/themes/default/.gitignore +0 -13
  73. package/bin/themes/default/.scss-lint.yml +0 -239
  74. package/bin/themes/default/CHANGELOG.md +0 -73
  75. package/bin/themes/default/LICENSE.md +0 -20
  76. package/bin/themes/default/README.md +0 -112
  77. package/bin/themes/default/archetypes/default.md +0 -2
  78. package/bin/themes/default/cypress.json +0 -7
  79. package/bin/themes/default/layouts/404.html +0 -0
  80. package/bin/themes/default/layouts/_default/baseof.html +0 -43
  81. package/bin/themes/default/layouts/_default/single.html +0 -26
  82. package/bin/themes/default/layouts/contents/single.html +0 -37
  83. package/bin/themes/default/layouts/cover/single.html +0 -128
  84. package/bin/themes/default/layouts/data/search-index.html +0 -65
  85. package/bin/themes/default/layouts/entry/single.html +0 -372
  86. package/bin/themes/default/layouts/essay/single.html +0 -24
  87. package/bin/themes/default/layouts/partials/analytics.html +0 -29
  88. package/bin/themes/default/layouts/partials/cite-this.html +0 -348
  89. package/bin/themes/default/layouts/partials/contents-list/card-image.html +0 -13
  90. package/bin/themes/default/layouts/partials/contents-list/closing-tags.html +0 -59
  91. package/bin/themes/default/layouts/partials/contents-list/contents-list.html +0 -179
  92. package/bin/themes/default/layouts/partials/contents-list/file-dir.html +0 -7
  93. package/bin/themes/default/layouts/partials/contents-list/file-path.html +0 -10
  94. package/bin/themes/default/layouts/partials/contents-list/list-item-type.html +0 -9
  95. package/bin/themes/default/layouts/partials/contents-list/list-item-types/abstract.html +0 -17
  96. package/bin/themes/default/layouts/partials/contents-list/list-item-types/brief.html +0 -7
  97. package/bin/themes/default/layouts/partials/contents-list/list-item-types/default.html +0 -9
  98. package/bin/themes/default/layouts/partials/contents-list/list-item-types/grid.html +0 -30
  99. package/bin/themes/default/layouts/partials/contents-list/section-heading.html +0 -5
  100. package/bin/themes/default/layouts/partials/contents-list.html +0 -207
  101. package/bin/themes/default/layouts/partials/contributor-info.html +0 -78
  102. package/bin/themes/default/layouts/partials/contributor-list.html +0 -102
  103. package/bin/themes/default/layouts/partials/copyright.html +0 -155
  104. package/bin/themes/default/layouts/partials/debug-contents.html +0 -8
  105. package/bin/themes/default/layouts/partials/dublin-core.html +0 -21
  106. package/bin/themes/default/layouts/partials/error-message.html +0 -19
  107. package/bin/themes/default/layouts/partials/figure-caption.html +0 -1
  108. package/bin/themes/default/layouts/partials/figure-fallback.html +0 -31
  109. package/bin/themes/default/layouts/partials/figure-image.html +0 -44
  110. package/bin/themes/default/layouts/partials/figure-label.html +0 -15
  111. package/bin/themes/default/layouts/partials/figure-soundcloud.html +0 -25
  112. package/bin/themes/default/layouts/partials/figure-table.html +0 -44
  113. package/bin/themes/default/layouts/partials/figure-vimeo.html +0 -24
  114. package/bin/themes/default/layouts/partials/figure-website.html +0 -21
  115. package/bin/themes/default/layouts/partials/figure-youtube.html +0 -23
  116. package/bin/themes/default/layouts/partials/figures/caption.html +0 -44
  117. package/bin/themes/default/layouts/partials/figures/label.html +0 -35
  118. package/bin/themes/default/layouts/partials/figures/media-types/fallback.html +0 -32
  119. package/bin/themes/default/layouts/partials/figures/media-types/image.html +0 -54
  120. package/bin/themes/default/layouts/partials/figures/media-types/soundcloud.html +0 -35
  121. package/bin/themes/default/layouts/partials/figures/media-types/table.html +0 -53
  122. package/bin/themes/default/layouts/partials/figures/media-types/vimeo.html +0 -32
  123. package/bin/themes/default/layouts/partials/figures/media-types/website.html +0 -24
  124. package/bin/themes/default/layouts/partials/figures/media-types/youtube.html +0 -29
  125. package/bin/themes/default/layouts/partials/footer-buttons.html +0 -29
  126. package/bin/themes/default/layouts/partials/head.html +0 -46
  127. package/bin/themes/default/layouts/partials/icon.html +0 -20
  128. package/bin/themes/default/layouts/partials/icons-cc.html +0 -86
  129. package/bin/themes/default/layouts/partials/icons.html +0 -54
  130. package/bin/themes/default/layouts/partials/json-ld.html +0 -117
  131. package/bin/themes/default/layouts/partials/link-list-arrow.html +0 -16
  132. package/bin/themes/default/layouts/partials/link-list.html +0 -11
  133. package/bin/themes/default/layouts/partials/menu-header.html +0 -25
  134. package/bin/themes/default/layouts/partials/menu.html +0 -69
  135. package/bin/themes/default/layouts/partials/metadata.html +0 -27
  136. package/bin/themes/default/layouts/partials/navbar.html +0 -173
  137. package/bin/themes/default/layouts/partials/open-graph.html +0 -43
  138. package/bin/themes/default/layouts/partials/page-abstract.html +0 -7
  139. package/bin/themes/default/layouts/partials/page-bibliography.html +0 -59
  140. package/bin/themes/default/layouts/partials/page-class.html +0 -9
  141. package/bin/themes/default/layouts/partials/page-contributor.html +0 -48
  142. package/bin/themes/default/layouts/partials/page-header.html +0 -22
  143. package/bin/themes/default/layouts/partials/page-title.html +0 -9
  144. package/bin/themes/default/layouts/partials/page-tombstone.html +0 -36
  145. package/bin/themes/default/layouts/partials/pdf-info.html +0 -20
  146. package/bin/themes/default/layouts/partials/pdf-title-pages.html +0 -39
  147. package/bin/themes/default/layouts/partials/scripts.html +0 -5
  148. package/bin/themes/default/layouts/partials/search.html +0 -52
  149. package/bin/themes/default/layouts/partials/site-title.html +0 -9
  150. package/bin/themes/default/layouts/partials/tests/check-node-modules.html +0 -9
  151. package/bin/themes/default/layouts/partials/tests/check-page-one-class.html +0 -21
  152. package/bin/themes/default/layouts/partials/tests/check-page-weights.html +0 -49
  153. package/bin/themes/default/layouts/partials/tests/run.html +0 -13
  154. package/bin/themes/default/layouts/partials/twitter-card.html +0 -23
  155. package/bin/themes/default/layouts/shortcodes/q-bibliography.html +0 -61
  156. package/bin/themes/default/layouts/shortcodes/q-cite.html +0 -79
  157. package/bin/themes/default/layouts/shortcodes/q-class.html +0 -3
  158. package/bin/themes/default/layouts/shortcodes/q-contributor.html +0 -327
  159. package/bin/themes/default/layouts/shortcodes/q-contributors.html +0 -11
  160. package/bin/themes/default/layouts/shortcodes/q-figure-group.html +0 -457
  161. package/bin/themes/default/layouts/shortcodes/q-figure-new.html +0 -70
  162. package/bin/themes/default/layouts/shortcodes/q-figure-zoom.html +0 -408
  163. package/bin/themes/default/layouts/shortcodes/q-figure.html +0 -86
  164. package/bin/themes/default/layouts/sitemap.xml +0 -24
  165. package/bin/themes/default/layouts/splash/single.html +0 -67
  166. package/bin/themes/default/package-lock.json +0 -13198
  167. package/bin/themes/default/package.json +0 -96
  168. package/bin/themes/default/source/css/application.scss +0 -30
  169. package/bin/themes/default/source/css/bulma-components.scss +0 -21
  170. package/bin/themes/default/source/css/colors.scss +0 -16
  171. package/bin/themes/default/source/css/components/_all.scss +0 -15
  172. package/bin/themes/default/source/css/components/container.sass +0 -35
  173. package/bin/themes/default/source/css/components/quire-buttons.scss +0 -95
  174. package/bin/themes/default/source/css/components/quire-citation.scss +0 -77
  175. package/bin/themes/default/source/css/components/quire-contents-list.scss +0 -329
  176. package/bin/themes/default/source/css/components/quire-contributors.scss +0 -131
  177. package/bin/themes/default/source/css/components/quire-copyright.scss +0 -28
  178. package/bin/themes/default/source/css/components/quire-cover.scss +0 -216
  179. package/bin/themes/default/source/css/components/quire-deepzoom.scss +0 -181
  180. package/bin/themes/default/source/css/components/quire-entry.scss +0 -651
  181. package/bin/themes/default/source/css/components/quire-figure.scss +0 -589
  182. package/bin/themes/default/source/css/components/quire-map.scss +0 -17
  183. package/bin/themes/default/source/css/components/quire-menu.scss +0 -209
  184. package/bin/themes/default/source/css/components/quire-navbar.scss +0 -366
  185. package/bin/themes/default/source/css/components/quire-page.scss +0 -920
  186. package/bin/themes/default/source/css/components/quire-popup.scss +0 -233
  187. package/bin/themes/default/source/css/components/quire-search.scss +0 -121
  188. package/bin/themes/default/source/css/epub.scss +0 -549
  189. package/bin/themes/default/source/css/fonts.scss +0 -159
  190. package/bin/themes/default/source/css/layout.scss +0 -186
  191. package/bin/themes/default/source/css/print.scss +0 -613
  192. package/bin/themes/default/source/css/utilities.scss +0 -345
  193. package/bin/themes/default/source/css/variables.scss +0 -144
  194. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.eot +0 -0
  195. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.woff +0 -0
  196. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.woff2 +0 -0
  197. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.eot +0 -0
  198. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.woff +0 -0
  199. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.woff2 +0 -0
  200. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.eot +0 -0
  201. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.woff +0 -0
  202. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.woff2 +0 -0
  203. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.eot +0 -0
  204. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.woff +0 -0
  205. package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.woff2 +0 -0
  206. package/bin/themes/default/source/fonts/noto-sans/notosans-bold.eot +0 -0
  207. package/bin/themes/default/source/fonts/noto-sans/notosans-bold.woff +0 -0
  208. package/bin/themes/default/source/fonts/noto-sans/notosans-bold.woff2 +0 -0
  209. package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.eot +0 -0
  210. package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.woff +0 -0
  211. package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.woff2 +0 -0
  212. package/bin/themes/default/source/fonts/noto-sans/notosans-italic.eot +0 -0
  213. package/bin/themes/default/source/fonts/noto-sans/notosans-italic.woff +0 -0
  214. package/bin/themes/default/source/fonts/noto-sans/notosans-italic.woff2 +0 -0
  215. package/bin/themes/default/source/fonts/noto-sans/notosans-regular.eot +0 -0
  216. package/bin/themes/default/source/fonts/noto-sans/notosans-regular.woff +0 -0
  217. package/bin/themes/default/source/fonts/noto-sans/notosans-regular.woff2 +0 -0
  218. package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.eot +0 -0
  219. package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.woff +0 -0
  220. package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.woff2 +0 -0
  221. package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.eot +0 -0
  222. package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.woff +0 -0
  223. package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.woff2 +0 -0
  224. package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.eot +0 -0
  225. package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.woff +0 -0
  226. package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.woff2 +0 -0
  227. package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.eot +0 -0
  228. package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.woff +0 -0
  229. package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.woff2 +0 -0
  230. package/bin/themes/default/source/img/cover.png +0 -0
  231. package/bin/themes/default/source/img/fullscreen.png +0 -0
  232. package/bin/themes/default/source/img/icons/arrow_forward.png +0 -0
  233. package/bin/themes/default/source/img/icons/baseline-headset-24px.png +0 -0
  234. package/bin/themes/default/source/img/icons/baseline-videocam-24px.png +0 -0
  235. package/bin/themes/default/source/img/icons/baseline-website-24px.png +0 -0
  236. package/bin/themes/default/source/img/icons/cc-by-nc-nd.png +0 -0
  237. package/bin/themes/default/source/img/icons/cc-by-nc-sa.png +0 -0
  238. package/bin/themes/default/source/img/icons/cc-by-nc.png +0 -0
  239. package/bin/themes/default/source/img/icons/cc-by-nd.png +0 -0
  240. package/bin/themes/default/source/img/icons/cc-by-sa.png +0 -0
  241. package/bin/themes/default/source/img/icons/cc-by.png +0 -0
  242. package/bin/themes/default/source/img/icons/cc-zero.png +0 -0
  243. package/bin/themes/default/source/img/icons/close.png +0 -0
  244. package/bin/themes/default/source/img/icons/down-arrow.png +0 -0
  245. package/bin/themes/default/source/img/icons/download.png +0 -0
  246. package/bin/themes/default/source/img/icons/favicon.ico +0 -0
  247. package/bin/themes/default/source/img/icons/home.png +0 -0
  248. package/bin/themes/default/source/img/icons/left-arrow.png +0 -0
  249. package/bin/themes/default/source/img/icons/link.png +0 -0
  250. package/bin/themes/default/source/img/icons/nav.png +0 -0
  251. package/bin/themes/default/source/img/icons/right-arrow.png +0 -0
  252. package/bin/themes/default/source/img/icons/search.png +0 -0
  253. package/bin/themes/default/source/img/icons/start.png +0 -0
  254. package/bin/themes/default/source/img/layers-2x.png +0 -0
  255. package/bin/themes/default/source/img/layers.png +0 -0
  256. package/bin/themes/default/source/img/marker-icon.png +0 -0
  257. package/bin/themes/default/source/img/pattern-spiral-overlay.png +0 -0
  258. package/bin/themes/default/source/img/promo-screenshots/classic-catalogue.png +0 -0
  259. package/bin/themes/default/source/img/promo-screenshots/classic-entry.png +0 -0
  260. package/bin/themes/default/source/img/promo-screenshots/classic-essay.png +0 -0
  261. package/bin/themes/default/source/img/promo-screenshots/modern-contents.png +0 -0
  262. package/bin/themes/default/source/img/promo-screenshots/modern-cover.png +0 -0
  263. package/bin/themes/default/source/img/promo-screenshots/modern-essay.png +0 -0
  264. package/bin/themes/default/source/js/application.js +0 -604
  265. package/bin/themes/default/source/js/deepzoom.js +0 -186
  266. package/bin/themes/default/source/js/epub.js +0 -9
  267. package/bin/themes/default/source/js/fullscreen.js +0 -190
  268. package/bin/themes/default/source/js/helper.js +0 -197
  269. package/bin/themes/default/source/js/map.js +0 -94
  270. package/bin/themes/default/source/js/navigation.js +0 -59
  271. package/bin/themes/default/source/js/popup.js +0 -307
  272. package/bin/themes/default/source/js/search.js +0 -35
  273. package/bin/themes/default/source/js/soundcloud-api.js +0 -1
  274. package/bin/themes/default/static/css/epub.css +0 -401
  275. package/bin/themes/default/static/fonts/MaterialIcons-Regular.eot +0 -0
  276. package/bin/themes/default/static/fonts/MaterialIcons-Regular.woff +0 -0
  277. package/bin/themes/default/static/fonts/MaterialIcons-Regular.woff2 +0 -0
  278. package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.eot +0 -0
  279. package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.woff +0 -0
  280. package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.woff2 +0 -0
  281. package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.eot +0 -0
  282. package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.woff +0 -0
  283. package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.woff2 +0 -0
  284. package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.eot +0 -0
  285. package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.woff +0 -0
  286. package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.woff2 +0 -0
  287. package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.eot +0 -0
  288. package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.woff +0 -0
  289. package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.woff2 +0 -0
  290. package/bin/themes/default/static/fonts/notosans-bold.eot +0 -0
  291. package/bin/themes/default/static/fonts/notosans-bold.woff +0 -0
  292. package/bin/themes/default/static/fonts/notosans-bold.woff2 +0 -0
  293. package/bin/themes/default/static/fonts/notosans-bolditalic.eot +0 -0
  294. package/bin/themes/default/static/fonts/notosans-bolditalic.woff +0 -0
  295. package/bin/themes/default/static/fonts/notosans-bolditalic.woff2 +0 -0
  296. package/bin/themes/default/static/fonts/notosans-italic.eot +0 -0
  297. package/bin/themes/default/static/fonts/notosans-italic.woff +0 -0
  298. package/bin/themes/default/static/fonts/notosans-italic.woff2 +0 -0
  299. package/bin/themes/default/static/fonts/notosans-regular.eot +0 -0
  300. package/bin/themes/default/static/fonts/notosans-regular.woff +0 -0
  301. package/bin/themes/default/static/fonts/notosans-regular.woff2 +0 -0
  302. package/bin/themes/default/static/fonts/notoserif-bold.eot +0 -0
  303. package/bin/themes/default/static/fonts/notoserif-bold.woff +0 -0
  304. package/bin/themes/default/static/fonts/notoserif-bold.woff2 +0 -0
  305. package/bin/themes/default/static/fonts/notoserif-bolditalic.eot +0 -0
  306. package/bin/themes/default/static/fonts/notoserif-bolditalic.woff +0 -0
  307. package/bin/themes/default/static/fonts/notoserif-bolditalic.woff2 +0 -0
  308. package/bin/themes/default/static/fonts/notoserif-italic.eot +0 -0
  309. package/bin/themes/default/static/fonts/notoserif-italic.woff +0 -0
  310. package/bin/themes/default/static/fonts/notoserif-italic.woff2 +0 -0
  311. package/bin/themes/default/static/fonts/notoserif-regular.eot +0 -0
  312. package/bin/themes/default/static/fonts/notoserif-regular.woff +0 -0
  313. package/bin/themes/default/static/fonts/notoserif-regular.woff2 +0 -0
  314. package/bin/themes/default/static/img/baseline-website-24px.png +0 -0
  315. package/bin/themes/default/static/img/cover.png +0 -0
  316. package/bin/themes/default/static/img/fullscreen.png +0 -0
  317. package/bin/themes/default/static/img/fullscreen@2x.png +0 -0
  318. package/bin/themes/default/static/img/icons/arrow_forward.png +0 -0
  319. package/bin/themes/default/static/img/icons/baseline-headset-24px.png +0 -0
  320. package/bin/themes/default/static/img/icons/baseline-videocam-24px.png +0 -0
  321. package/bin/themes/default/static/img/icons/baseline-website-24px.png +0 -0
  322. package/bin/themes/default/static/img/icons/cc-by-nc-nd.png +0 -0
  323. package/bin/themes/default/static/img/icons/cc-by-nc-sa.png +0 -0
  324. package/bin/themes/default/static/img/icons/cc-by-nc.png +0 -0
  325. package/bin/themes/default/static/img/icons/cc-by-nd.png +0 -0
  326. package/bin/themes/default/static/img/icons/cc-by-sa.png +0 -0
  327. package/bin/themes/default/static/img/icons/cc-by.png +0 -0
  328. package/bin/themes/default/static/img/icons/cc-zero.png +0 -0
  329. package/bin/themes/default/static/img/icons/close.png +0 -0
  330. package/bin/themes/default/static/img/icons/down-arrow.png +0 -0
  331. package/bin/themes/default/static/img/icons/download.png +0 -0
  332. package/bin/themes/default/static/img/icons/favicon.ico +0 -0
  333. package/bin/themes/default/static/img/icons/home.png +0 -0
  334. package/bin/themes/default/static/img/icons/left-arrow.png +0 -0
  335. package/bin/themes/default/static/img/icons/link.png +0 -0
  336. package/bin/themes/default/static/img/icons/nav.png +0 -0
  337. package/bin/themes/default/static/img/icons/right-arrow.png +0 -0
  338. package/bin/themes/default/static/img/icons/search.png +0 -0
  339. package/bin/themes/default/static/img/icons/soundcloud.png +0 -0
  340. package/bin/themes/default/static/img/icons/start.png +0 -0
  341. package/bin/themes/default/static/img/icons/vimeo.png +0 -0
  342. package/bin/themes/default/static/img/icons/website.png +0 -0
  343. package/bin/themes/default/static/img/icons/youtube.png +0 -0
  344. package/bin/themes/default/static/img/layers-2x.png +0 -0
  345. package/bin/themes/default/static/img/layers.png +0 -0
  346. package/bin/themes/default/static/img/marker-icon.png +0 -0
  347. package/bin/themes/default/static/img/pattern-spiral-overlay.png +0 -0
  348. package/bin/themes/default/tests/.gitkeep +0 -0
  349. package/bin/themes/default/tests/e2e/.eslintrc.js +0 -9
  350. package/bin/themes/default/tests/e2e/fixtures/blns.json +0 -483
  351. package/bin/themes/default/tests/e2e/plugins/index.js +0 -22
  352. package/bin/themes/default/tests/e2e/specs/quire-contents.spec.js +0 -52
  353. package/bin/themes/default/tests/e2e/specs/quire-contributors.spec.js +0 -66
  354. package/bin/themes/default/tests/e2e/specs/quire-entry.spec.js +0 -104
  355. package/bin/themes/default/tests/e2e/specs/quire-essay.spec.js +0 -105
  356. package/bin/themes/default/tests/e2e/specs/quire-menu.spec.js +0 -38
  357. package/bin/themes/default/tests/e2e/specs/quire-modal.spec.js +0 -69
  358. package/bin/themes/default/tests/e2e/specs/quire-next-back-buttons.spec.js +0 -27
  359. package/bin/themes/default/tests/e2e/specs/quire-page.spec.js +0 -28
  360. package/bin/themes/default/tests/e2e/specs/quire-search.spec.js +0 -48
  361. package/bin/themes/default/tests/e2e/specs/quire-splash.spec.js +0 -38
  362. package/bin/themes/default/tests/e2e/support/commands.js +0 -25
  363. package/bin/themes/default/tests/e2e/support/index.js +0 -20
  364. package/bin/themes/default/theme.toml +0 -22
  365. package/bin/themes/default/tsconfig.json +0 -5
  366. package/bin/themes/default/webpack/webpack.config.dev.js +0 -128
  367. package/bin/themes/default/webpack/webpack.config.epub.js +0 -140
  368. package/bin/themes/default/webpack/webpack.config.pdf.js +0 -135
  369. package/bin/themes/default/webpack/webpack.config.prod.js +0 -133
@@ -1,128 +0,0 @@
1
- {{/*
2
- Cover page layout. This controls the home page of the publication.
3
- */}}
4
-
5
- {{ define "main" }}
6
-
7
- {{ if isset $.Site.Params "imagedir" }}
8
- {{ $.Scratch.Set "imageDir" $.Site.Params.imageDir }}
9
- {{ else }}
10
- {{ $.Scratch.Set "imageDir" "" }}
11
- {{ end }}
12
-
13
- <div class="{{ partial "page-class.html" . }} quire-cover" id="main" role="main">
14
-
15
- {{ if eq $.Site.Params.epub true }}
16
- {{- if .Site.Data.publication.promo_image -}}
17
- {{- $imgCoverPath := printf "%s/%s" ($.Scratch.Get "imageDir") .Site.Data.publication.promo_image -}}
18
- <img src="{{ $imgCoverPath | relURL }}" class="epub-cover-image" />
19
- {{- end -}}
20
- {{/* PDF full cover image */}}
21
- {{ else }}
22
-
23
- {{/* Begin full-page cover section */}}
24
- {{- if .Params.image -}}
25
- {{- $imgPath := printf "%s/%s" ($.Scratch.Get "imageDir") .Params.image -}}
26
- <section class="quire-cover__hero hero is-fullheight">
27
- <div class="quire-cover__overlay" style="background-image: url('{{ $imgPath }}');"></div>
28
- {{- else -}}
29
- <section class="quire-cover__hero hero is-fullheight">
30
- <div class="quire-cover__overlay"></div>
31
- {{- end -}}
32
- <div class="quire-cover__hero-body hero-body">
33
- <div class="container is-fluid">
34
- {{/* Use .Site.Data.publication info if available */}}
35
- {{ if .Site.Data.publication }}
36
-
37
- {{- $endPunctuation := findRE "[!|?]$" .Site.Data.publication.title -}}
38
- <h1 class="title">
39
- {{ .Site.Data.publication.title | markdownify }}
40
- {{- with .Site.Data.publication.subtitle -}}
41
- {{- if $endPunctuation }} {{ else }}<span class="visually-hidden">: </span>{{ end -}}
42
- <span class="subtitle">{{ . | markdownify }}</span>
43
- {{ end }}
44
- </h1>
45
-
46
- {{ with .Site.Data.publication.reading_line }}
47
- <p class="reading-line">{{ . | markdownify }}</p>
48
- {{ end }}
49
-
50
- <div class="contributor">
51
- {{- if .Site.Data.publication.contributor_as_it_appears -}}
52
- {{ .Site.Data.publication.contributor_as_it_appears | markdownify }}
53
- {{ else }}
54
- <span class="visually-hidden">Contributors: </span>
55
-
56
- {{/* List primary contributors unless none are marked as primary
57
- in which case list all contributors in publication.yml */}}
58
- {{/* ------------------------------------------------------------ */}}
59
- {{- range .Site.Data.publication.contributor -}}
60
- {{- if .type -}}
61
- {{ $.Scratch.Set "type" true }}
62
- {{- end -}}
63
- {{- end -}}
64
- {{ if eq ($.Scratch.Get "type") true }}
65
- <em>{{ partial "contributor-list.html" (dict "range" .Site.Data.publication.contributor "contributorType" "primary" "listType" "string" "Site" $.Site) }}</em>
66
- {{- else -}}
67
- <em>{{ partial "contributor-list.html" (dict "range" .Site.Data.publication.contributor "contributorType" "all" "listType" "string" "Site" $.Site) }}</em>
68
- {{- end -}}
69
- {{- end -}}
70
- </div>
71
-
72
- {{ else }}
73
- {{/* Fallback for when no publication.yml data is present */}}
74
- <h1 class="title">{{ .Site.Title }}</h1>
75
- {{ end }}
76
- </div>
77
- </div>
78
- </section>
79
- {{/* End full-page cover section */}}
80
-
81
- {{/* Begin "below-the-fold" section */}}
82
- {{ if .Content }}
83
- <section class="quire-cover__more" >
84
- <div class="quire-cover__more-body hero-more">
85
- {{ if and (ne $.Site.Params.epub true) (ne $.Site.Params.pdf true) }}
86
- <a href="#content">
87
- {{- partial "icon.html" (dict "type" "down-arrow" "description" "Scroll down to read more") -}}
88
- </a>
89
- {{ end }}
90
- </div>
91
- </section>
92
- <section class="section quire-page__content" id="content">
93
- <div class="container is-fluid">
94
- <div class="content">
95
- {{ .Content }}
96
- {{ partial "page-bibliography.html" . }}
97
- </div>
98
- </div>
99
- </section>
100
- {{ partial "footer-buttons.html" . }}
101
- {{ else }}
102
- {{- $pages := .Site.Pages -}}
103
- {{- $pages := where $pages "Params.online" "!=" "false" }}
104
- {{- $pages := where $pages ".Type" "!=" "data" -}}
105
- {{- $nextPages := where $pages "Weight" "gt" .Weight -}}
106
- {{- if gt (len $nextPages) 0 -}}
107
- {{- range first 1 $nextPages -}}
108
- <section class="quire-cover__more" >
109
- <div class="quire-cover__more-body hero-more next-page">
110
- {{ if and (ne $.Site.Params.epub true) (ne $.Site.Params.pdf true) }}
111
- <a href="{{ .Permalink | relURL }}">
112
- {{- partial "icon.html" (dict "type" "down-arrow" "description" "Scroll down to read more") -}}
113
- </a>
114
- {{ end }}
115
- </div>
116
- </section>
117
- {{- end -}}
118
- {{- end -}}
119
- {{ end }}
120
- {{/* End "below-the-fold" section */}}
121
-
122
- {{ if eq $.Site.Params.pdf true }}
123
- {{ partial "pdf-title-pages.html" (dict "site" .Site) }}
124
- {{ end }}
125
- </div>
126
-
127
- {{ end }}
128
- {{ end }}
@@ -1,65 +0,0 @@
1
- {{/*
2
- Search Index Data template
3
-
4
- This template builds a single JSON file ("/search.json" by default) with data
5
- suitable for being fed into a client-side search tool such as Lunr.js.
6
-
7
- In order for Hugo to actually output this data as a static file, add an empty
8
- Markdown file somewhere in your main "content" folder that has the type of
9
- "data" and the layout of "search-index". Set the URL params to whatever you want
10
- the output file to be called. Ex:
11
-
12
- project_root/content/search-index.md
13
-
14
- ---
15
- type: data
16
- layout: search-index
17
- url: search.json
18
- ---
19
-
20
- NB: This solution makes use of **both** the standard $.Scratch register AND a
21
- block-scoped .Scratch inside the `range` loop.
22
- */}}
23
-
24
- {{- $.Scratch.Add "index" slice -}}
25
-
26
- {{- $searchablePages := where .Site.Pages ".Kind" "page" }}
27
- {{ $searchablePages := where $searchablePages "Params.online" "!=" "false" }}
28
- {{ $searchablePages := where $searchablePages ".Type" "!=" "data" }}
29
- {{- $searchablePages := where $searchablePages "Params.search" "!=" "false" -}}
30
-
31
- {{- range $index, $page := $searchablePages -}}
32
-
33
- {{- .Scratch.Set "pageData" "" -}}
34
- {{- .Scratch.Set "searchContent" "" -}}
35
- {{- .Scratch.Set "pageURL" "" -}}
36
- {{- .Scratch.Set "parentSection" "" -}}
37
- {{- .Scratch.Set "pageTitle" "" -}}
38
- {{- .Scratch.Set "pageType" "" -}}
39
- {{- .Scratch.Set "pageLength" "" -}}
40
-
41
- {{- if gt (len $page.Content) 0 -}}
42
- {{- .Scratch.Set "searchContent" $page.Plain -}}
43
- {{- .Scratch.Set "pageURL" $page.Permalink -}}
44
- {{- .Scratch.Set "pageType" $page.Type -}}
45
- {{- .Scratch.Set "pageLength" $page.WordCount -}}
46
-
47
- {{- end -}}
48
-
49
- {{- if $page.Params.label -}}
50
- {{ .Scratch.Set "pageTitle" (printf "%s%s%s" (string $page.Params.label) .Site.Params.pageLabelDivider $page.Title) }}
51
- {{- else -}}
52
- {{ .Scratch.Set "pageTitle" $page.Title }}
53
- {{- end -}}
54
-
55
- {{- if $page.Params.subtitle -}}
56
- {{ .Scratch.Set "pageFullTitle" (printf "%s: %s" (.Scratch.Get "pageTitle") $page.Params.subtitle) }}
57
- {{- else -}}
58
- {{ .Scratch.Set "pageFullTitle" (.Scratch.Get "pageTitle") }}
59
- {{- end -}}
60
-
61
- {{- .Scratch.Set "pageData" (dict "id" $index "title" (.Scratch.Get "pageFullTitle") "url" (.Scratch.Get "pageURL") "type" (.Scratch.Get "pageType") "length" (.Scratch.Get "pageLength") "content" (.Scratch.Get "searchContent")) -}}
62
-
63
- {{- $.Scratch.Add "index" (.Scratch.Get "pageData") -}}
64
- {{- end -}}
65
- {{- $.Scratch.Get "index" | jsonify -}}
@@ -1,372 +0,0 @@
1
- {{/*
2
- Entry layout. This template is intended for use in catalogue-style pages where
3
- a single image or object needs to be featured prominently.\
4
- */}}
5
-
6
- {{ define "main" }}
7
-
8
- {{ if isset $.Site.Params "imagedir" }}
9
- {{ $.Scratch.Set "imageDir" $.Site.Params.imageDir }}
10
- {{ else }}
11
- {{ $.Scratch.Set "imageDir" "" }}
12
- {{ end }}
13
-
14
- {{ $zoom := $.Site.Params.figureZoom }}
15
- {{ $pdf := $.Site.Params.pdf }}
16
- {{ $site := $ }}
17
-
18
- {{/* Entry content, including entry image and tombstone data */}}
19
- <article class="{{ partial "page-class.html" . }} quire-entry" id="main" role="main">
20
- <div {{ if or (eq $.Site.Params.entryPageSideBySideLayout true) (in .Page.Params.class "side-by-side") }} {{ if and (ne $.Site.Params.pdf true) (ne $.Site.Params.epub true) }} class="side-by-side" {{ end }} {{ end }} data="{{ $.Site.Params.figureZoom }}">
21
-
22
- {{ if eq .Site.Params.epub true }}
23
- <header class="quire-entry__header">
24
- <div class="container">
25
- {{/* Title */}}
26
- <h1 class="quire-page__header__title" id="{{ .Title | urlize }}">
27
- {{ with .Params.label }}<span>{{ . }}{{ $.Site.Params.pageLabelDivider }}</span>{{ end }}
28
- {{ partial "page-title.html" . | markdownify }}
29
- </h1>
30
- </div>
31
- </header>
32
- {{ end }}
33
-
34
- {{/* Full-width entry image header */}}
35
- <div class="quire-entry__image-wrap">
36
- <div id="quire-entry__image" class="quire-entry__image">
37
- <div
38
- class="leaflet-control-fullscreen leaflet-bar leaflet-control remove-from-epub"
39
- >
40
- <a
41
- id="toggleFullscreen"
42
- class="leaflet-control-fullscreen-button leaflet-bar-part"
43
- href="#"
44
- title="View Fullscreen"
45
- style="outline: none;">
46
- </a>
47
- </div>
48
- {{ if .Params.image }}
49
- {{- $imgPath := printf "%s/%s" ($.Scratch.Get "imageDir") .Params.image -}}
50
- <img src="{{ $imgPath | relURL }}" alt="" />
51
- {{ else if .Params.object }}
52
- {{ range .Params.object }}
53
- {{ if .id }}
54
- {{ range where $.Site.Data.objects.object_list "id" "eq" .id }}
55
- <div class="quire-entry__image__group-container">
56
- {{ if gt (len .figure) 1 -}}
57
- {{ if ne $.Site.Params.pdf true }}
58
- <button class="remove-from-epub quire-image-control quire-image-control--prev-image" id="prev-image" title="Previous image"></button>
59
- <button class="remove-from-epub quire-image-control quire-image-control--next-image" id="next-image" title="Next image"></button>
60
- {{ end }}
61
- {{ end -}}
62
- {{ range .figure }}
63
- {{ if .id }}
64
- {{ range where $.Site.Data.figures.figure_list "id" "eq" .id }}
65
- {{ template "figure" (dict "map" . "site" $ "pdf" $pdf "zoom" $zoom "imageDir" ($.Scratch.Get "imageDir") "figure" . ) }}
66
- {{ end }}
67
- {{ else if .src }}
68
- {{ template "figure" (dict "map" . "site" $ "pdf" $pdf "zoom" $zoom "imageDir" ($.Scratch.Get "imageDir") "figure" . ) }}
69
- {{ end }}
70
- {{ end }}
71
- </div>
72
- {{ end }}
73
- {{ else if .figure }}
74
- <div class="quire-entry__image__group-container">
75
- {{ range .figure }}
76
- {{ if .id }}
77
- {{ range where $.Site.Data.figures.figure_list "id" "eq" .id }}
78
- {{ template "figure" (dict "map" . "site" $ "pdf" $pdf "zoom" $zoom "imageDir" ($.Scratch.Get "imageDir") "figure" . ) }}
79
- {{ end }}
80
- {{ else if .src }}
81
- {{ template "figure" (dict "map" . "site" $ "pdf" $pdf "zoom" $zoom "imageDir" ($.Scratch.Get "imageDir") "figure" . ) }}
82
- {{ end }}
83
- {{ end }}
84
- </div>
85
- {{ end }}
86
- {{ end }}
87
- {{ end }}
88
- </div>
89
- </div>
90
-
91
- <div class="quire-entry__content">
92
-
93
- {{/* Entry header */}}
94
- {{ if ne .Site.Params.epub true }}
95
- <header class="quire-entry__header">
96
- <div class="container">
97
- {{/* Title */}}
98
- <h1 class="quire-page__header__title" id="{{ .Title | urlize }}">
99
- {{ with .Params.label }}<span>{{ . }}{{ $.Site.Params.pageLabelDivider }}</span>{{ end }}
100
- {{ partial "page-title.html" . | markdownify }}
101
- </h1>
102
- {{/* Contributors, if any */}}
103
- {{ partial "page-contributor.html" . }}
104
- </div>
105
- </header>
106
- {{ end }}
107
-
108
- {{ partial "page-tombstone.html" . }}
109
-
110
- {{ if .Params.abstract }}
111
- {{ partial "page-abstract.html" . }}
112
- {{ end }}
113
-
114
- {{/* Entry content */}}
115
- <section class="section quire-page__content" id="content">
116
- <div class="container">
117
- <div class="content">
118
- {{ .Content }}
119
- {{ partial "page-bibliography.html" . }}
120
- </div>
121
- </div>
122
- </section>
123
-
124
- <section class="section quire-page__content">
125
- <div class="container">
126
- {{ partial "footer-buttons.html" . }}
127
- </div>
128
- </section>
129
-
130
-
131
-
132
- <!-- columns -->
133
- </div>
134
-
135
- </div>
136
- </article>
137
- {{ end }}
138
-
139
- {{ define "figure" }}
140
-
141
- {{- $imgPath := printf "%s/%s" .imageDir .figure.src -}}
142
-
143
- <figure data-media-type="{{ .figure.media_type }}">
144
-
145
- {{ if or (eq .site.Site.Params.pdf true) (eq .site.Site.Params.epub true) }}
146
-
147
- <div class="quire-figure__media-fallback">
148
- {{ if isset .map "src" }}
149
-
150
- {{ if .map.src }}
151
- <div class="quire-figure__wrapper">
152
- <img src='{{ printf "%s/%s" (.site.Scratch.Get "imageDir") .map.src | relURL }}'/>
153
- </div>
154
- {{ end }}
155
-
156
- {{ else }}
157
-
158
- {{ if isset .map "media_type" }}
159
- <div class="placeholder">
160
-
161
- {{- if or (eq .map.media_type "youtube") (eq .map.media_type "vimeo") }}
162
-
163
- {{ if eq .site.Site.Params.pdf true }}
164
- <i class="material-icons md-24">videocam</i>
165
- {{ else }}
166
- <img src='{{ .site.Scratch.Get "imageDir" | relURL }}/icons/baseline-videocam-24px.png'/>
167
- {{ end }}
168
-
169
- {{ end }}
170
-
171
- {{- if or (eq .map.media_type "soundcloud") (eq .map.media_type "audio") }}
172
-
173
- {{ if eq .site.Site.Params.pdf true }}
174
- <i class="material-icons md-24 audio">headset</i>
175
- {{ else }}
176
- <img src='{{ .site.Scratch.Get "imageDir" | relURL }}/icons/baseline-headset-24px.png'/>
177
- {{ end }}
178
-
179
- {{ end }}
180
-
181
- </div>
182
- {{ end }}
183
- {{- end -}}
184
-
185
- {{ if isset .map "title" }}
186
- {{ if .map.title }}
187
- <h5 class="header">
188
- {{ .map.title | markdownify }}
189
- </h5>
190
- {{ end }}
191
- {{ end }}
192
-
193
- {{ if isset .map "media_type" }}
194
-
195
- <p class="caption">
196
-
197
- {{- if eq .map.media_type "youtube" }}
198
- <a href='https://youtu.be/{{ .map.media_id }}' alt="" title="" target="_blank" ><em>https://youtu.be/{{ .map.media_id }}</em></a>
199
- {{ end }}
200
- {{- if eq .map.media_type "vimeo" }}
201
- <a href='https://vimeo.com/{{ .map.media_id }}' alt="" title="" target="_blank" ><em>https://vimeo.com/{{ .map.media_id }}</em></a>
202
- {{ end }}
203
- {{- if eq .map.media_type "soundcloud" }}
204
- <a href="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{{ .map.media_id }}" alt="" title="" target="_blank" ><em>https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{{ .map.media_id }}</em></a>
205
- {{ end }}
206
-
207
- </p>
208
-
209
- {{ end }}
210
- </div>
211
- {{ else }}
212
-
213
- {{ if eq .zoom true }}
214
-
215
- {{ if eq .figure.media_type "iiif" }}
216
-
217
- <div
218
- id="js-iiif-{{ now.UnixNano }}"
219
- class="quire-deepzoom-entry inset"
220
- aria-live="polite"
221
- role="application"
222
- aria-label="Zoomable image"
223
- data-catalogue-entry="true"
224
- {{ if .figure.iiif }} data-iiif="{{ .figure.iiif }}" {{ end }}
225
- {{ if .figure.zoom_max }} data-zoom-max="{{ .figure.zoom_max }}" {{ end }}
226
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
227
- >
228
- </div>
229
-
230
- {{ else if eq .figure.media_type "map" }}
231
-
232
- <div
233
- id="js-map-{{ now.UnixNano }}"
234
- class="quire-map-entry inset"
235
- aria-live="polite"
236
- aria-label="Zoomable map"
237
- data-catalogue-entry="true"
238
- {{ if .figure.lat }} data-lat="{{ .figure.lat }}" {{ end }}
239
- {{ if .figure.long }} data-long="{{ .figure.long }}" {{ end }}
240
- {{ if .figure.geojson }} data-geojson="{{ .Site.BaseURL }}{{ .figure.geojson }}" {{ end }}
241
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
242
- >
243
-
244
- </div>
245
-
246
- {{ else if eq .figure.media_type "youtube" }}
247
-
248
- <iframe
249
- id='{{ .id }}'
250
- title='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
251
- alt='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
252
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
253
- data-catalogue-entry="true"
254
- aria-label="youtube video"
255
- class='quire-figure__media'
256
- src='https://www.youtube-nocookie.com/embed/{{ .figure.media_id }}?rel=0&amp;showinfo=0'
257
- frameborder='0'
258
- webkitallowfullscreen
259
- mozallowfullscreen
260
- allowfullscreen
261
- >
262
- </iframe>
263
-
264
-
265
- {{ else if eq .figure.media_type "vimeo" }}
266
-
267
- <iframe
268
- id='{{ .id }}'
269
- title='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
270
- alt='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
271
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
272
- data-catalogue-entry="true"
273
- aria-label="vimeo video"
274
- class='quire-figure__media'
275
- src='https://player.vimeo.com/video/{{ .figure.media_id }}'
276
- frameborder='0'
277
- webkitallowfullscreen
278
- mozallowfullscreen
279
- allowfullscreen
280
- >
281
- </iframe>
282
-
283
-
284
- {{ else }}
285
-
286
- <div
287
- id="js-deepzoom-{{ now.UnixNano }}"
288
- class="quire-deepzoom-entry inset"
289
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
290
- alt="{{ .figure.alt }}"
291
- aria-live="polite"
292
- role="application"
293
- aria-label="Zoomable image"
294
- data-catalogue-entry="true"
295
- src="{{ $imgPath | relURL }}"
296
- >
297
- </div>
298
- <img style="display: none" src="{{ $imgPath | relURL }}" alt="{{ .figure.alt }}" />
299
-
300
- {{ end }}
301
-
302
- {{ else }}
303
-
304
- {{ if eq .figure.media_type "youtube" }}
305
-
306
- <iframe
307
- id='{{ .id }}'
308
- title='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
309
- alt='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
310
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
311
- data-catalogue-entry="true"
312
- aria-label="youtube video"
313
- class='quire-figure__media'
314
- src='https://www.youtube-nocookie.com/embed/{{ .figure.media_id }}?rel=0&amp;showinfo=0'
315
- frameborder='0'
316
- webkitallowfullscreen
317
- mozallowfullscreen
318
- allowfullscreen
319
- >
320
- </iframe>
321
-
322
-
323
- {{ else if eq .figure.media_type "vimeo" }}
324
-
325
- <iframe
326
- id='{{ .id }}'
327
- title='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
328
- alt='{{ if .figure.title }}{{ .figure.title | markdownify }}{{ end }}'
329
- {{ if .figure.caption }} data-caption='{{ .figure.caption | markdownify | safeHTML }}' {{ end }}
330
- data-catalogue-entry="true"
331
- aria-label="vimeo video"
332
- class='quire-figure__media'
333
- src='https://player.vimeo.com/video/{{ .figure.media_id }}'
334
- frameborder='0'
335
- webkitallowfullscreen
336
- mozallowfullscreen
337
- allowfullscreen
338
- >
339
- </iframe>
340
-
341
- {{ else }}
342
-
343
- <img src="{{ $imgPath | relURL }}" alt="{{ .figure.alt }}" />
344
-
345
- {{ end }}
346
-
347
- {{ end }}
348
-
349
- {{ end }}
350
-
351
- {{- template "details" (dict "imgPath" $imgPath "figureData" .) -}}
352
- </figure>
353
-
354
- {{ end }}
355
-
356
- {{- define "details" -}}
357
- {{ if or .figureData.figure.caption .figureData.figure.credit }}
358
- <div class="quire-image-control quire-image-info">
359
- <span class="quire-image-info__wrap">
360
- {{ with .figureData.figure.caption }}<span class="quire-image-info__caption">{{ . | markdownify }}</span>{{ end }}
361
- {{ with .figureData.figure.credit }}<span class="quire-image-info__credit">{{ .| markdownify }}</span>{{ end }}
362
- </span>
363
- </div>
364
- {{ end }}
365
- <div class="quire-image-counter-download-container wtf">
366
- {{ if eq .figureData.figure.download true }}
367
- <a href="{{ .imgPath | relURL }}" target="_blank" class="remove-from-epub quire-image-control quire-image-control--download" title="Download image" download>
368
- {{- partial "icon.html" (dict "type" "download" "description" "Download image") -}}
369
- </a>
370
- {{ end }}
371
- </div>
372
- {{- end -}}
@@ -1,24 +0,0 @@
1
- {{/*
2
- Essay layout. This layout describes a single-page template that has been
3
- augmented with the ability to display a frontmatter-defined abstract (in
4
- markdown format) as well as bibliography references.
5
- */}}
6
-
7
- {{ define "main" }}
8
- <article class="{{ partial "page-class.html" . }} quire-essay" id="main" role="main">
9
- {{ partial "page-header.html" . }}
10
-
11
- <section id="content" class="section quire-page__content">
12
- {{ if .Params.abstract }}
13
- {{ partial "page-abstract.html" . }}
14
- {{ end }}
15
- <div class="container">
16
- <div class="content">
17
- {{ .Content }}
18
- {{ partial "page-bibliography.html" . }}
19
- </div>
20
- {{ partial "footer-buttons.html" . }}
21
- </div>
22
- </section>
23
- </article>
24
- {{ end }}
@@ -1,29 +0,0 @@
1
- <!-- Google Analytics -->
2
- <script>
3
- (function(i, s, o, g, r, a, m) {
4
- i['GoogleAnalyticsObject'] = r;
5
- i[r] = i[r] || function() {
6
- (i[r].q = i[r].q || []).push(arguments)
7
- }, i[r].l = 1 * new Date();
8
- a = s.createElement(o),
9
- m = s.getElementsByTagName(o)[0];
10
- a.async = 1;
11
- a.src = g;
12
- m.parentNode.insertBefore(a, m)
13
- })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
14
-
15
- ga('create', '{{ .Site.GoogleAnalytics }}', 'auto');
16
- ga('require', 'linkid', 'linkid.js');
17
- ga('send', 'pageview');
18
-
19
- document.addEventListener('DOMContentLoaded', function() {
20
- var links = document.querySelectorAll("a[href$='pdf'],a[href$='rtf'],a[href$='doc'],a[href$='xls'],a[href*='bit.ly'],a[href$='csv'],a[href$='json'],a[href$='zip'],a[href$='ppt'],a[href*='epub'],a[href*='mobi']")
21
- var link, pdfLabel, pdfOnClick;
22
- for (var i = 0; i < links.length; i++) {
23
- link = links[i];
24
- pdfLabel = link.getAttribute('href');
25
- pdfOnClick = "ga('send', 'pageview','" + pdfLabel + "');";
26
- link.setAttribute("onClick", pdfOnClick);
27
- }
28
- }, { once:true });
29
- </script>