@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,408 +0,0 @@
1
- {{ if isset $.Site.Params "imagedir" }}
2
- {{ $.Scratch.Set "imageDir" $.Site.Params.imageDir }}
3
- {{ else }}
4
- {{ $.Scratch.Set "imageDir" "" }}
5
- {{ end }}
6
-
7
- {{- $figureId := "" -}}
8
- {{- $modalLink := "" -}}
9
-
10
- {{ $errorBadId := dict "shortcode" "q-figure" "message" "The supplied value for `id` does not match an `id` value in your `data/figures.yml` file. Or, if you are not using a `data/figures.yml` file, a value for `src` should also be included in the shortcode, and should match the filename of an image file in your `static/img` directory." "example" "{{< q-figure id=&#34;3.1&#34; >}}<br /><br />{{< q-figure id=&#34;3.1&#34; src=&#34;fig-3-1-duchamp.jpg&#34; >}}" }}
11
-
12
- {{ $errorNoMediaType := dict "shortcode" "q-figure" "message" "For multimedia figures, the `media_type` attribute must be included in your `data/figures.yml` file for this figure `id`, and must be either “youtube”, “vimeo” or “website”." "example" "- id: &#34;3.1&#34;<br /> media_id: &#34;VYqDpNmnu8I&#34;<br /> media_type: &#34;youtube&#34;" }}
13
-
14
- {{ $errorNoSourceNoId := dict "shortcode" "q-figure" "message" "This shortcode must include a value for `src` that matches the filename of an image in your `static/img` directory; or a value for `id` that matches an `id` value in your `data/figures.yml` file." "example" "{{< q-figure id=&#34;3.1&#34; >}}<br /><br />{{< q-figure id=&#34;3.1&#34; src=&#34;fig-3-1-duchamp.jpg&#34; >}}" }}
15
-
16
- <figure class="quire-figure">
17
-
18
- {{ if .Get "src" }}
19
- {{/* -------------------- BEGIN SRC BLOCK -------------------- */}}
20
- {{/*
21
- ----------------------------------------------------------------------------
22
- If the shortcode has a src, ignore any figures.yml
23
- document and render only the values given in the shortcode
24
- ----------------------------------------------------------------------------
25
- */}}
26
-
27
- {{ if eq $.Site.Params.figureModal true }}
28
-
29
- <div class="q-figure__wrapper">
30
-
31
- {{ if eq (.Get "media_type") "map" }}
32
-
33
- {{ $figureId = printf "%s-%d" "map" now.UnixNano }}
34
- {{ $modalLink = printf "%s%s" "#" $figureId }}
35
-
36
- <figure
37
- id="{{ $figureId }}"
38
- {{ if .Get "caption" }} title='{{ .Get "caption" | markdownify | safeHTML }}' {{ end }}
39
- class="quire-figure leaflet-outer-wrapper mfp-hide">
40
- <div
41
- id="js-{{ $figureId }}"
42
- class="quire-map leaflet-inner-wrapper inset"
43
- {{ with .Get "lat" }}data-lat="{{.}}"{{ end }}
44
- {{ with .Get "long" }}data-long="{{.}}"{{ end }}
45
- {{ if .Get "geojson" }}data-geojson="{{ .Site.BaseURL }}{{ .Get "geojson" }}"{{ end }}>
46
- </div>
47
- </figure>
48
-
49
- {{/* -------------------- BEGIN FIGURE MODAL WRAPPER -------------------- */}}
50
- <a
51
- href="{{ $modalLink }}"
52
- class='inline popup'
53
- data-type="inline"
54
- title='{{ .Get "caption" | markdownify | safeHTML }}'>
55
- <img
56
- id='{{ with .Get "id" }}{{ . | urlize }}{{ end }}'
57
- class="quire-figure__image"
58
- src='{{ with .Get "src"}}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}'
59
- alt='{{ with .Get "alt" }}{{ . }}{{ end }}' />
60
-
61
-
62
- {{ else if eq (.Get "media_type") "iiif" }}
63
-
64
- {{ $figureId = printf "%s-%d" "iiif" now.UnixNano }}
65
- {{ $modalLink = printf "%s%s" "#" $figureId }}
66
-
67
- <figure
68
- id="{{ $figureId }}"
69
- {{ if .Get "caption" }} title='{{ .Get "caption" | markdownify | safeHTML }}' {{ end }}
70
- class="quire-figure leaflet-outer-wrapper mfp-hide">
71
- <div
72
- id="js-{{ $figureId }}"
73
- class="quire-deepzoom inset leaflet-inner-wrapper"
74
- aria-live="polite"
75
- role="application"
76
- aria-label="Zoomable image"
77
- {{ if .Get "iiif" }} data-iiif="{{ .Get "iiif" }}" {{ end }}
78
- {{ if .Get "zoom_max" }} data-zoom-max="{{ .Get "zoom_max" }}" {{ end }}
79
- >
80
- </div>
81
- </figure>
82
-
83
- <a
84
- href="{{ $modalLink }}"
85
- class='inline popup'
86
- data-type='inline'
87
- {{ if .Get "caption" }} title='{{ .Get "caption" | markdownify | safeHTML }}' {{ end }}>
88
- <img
89
- id='{{ with .Get "id" }}{{ . | urlize }}{{ end }}'
90
- class="quire-figure__image"
91
- src='{{ with .Get "src"}}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}'
92
- alt='{{ with .Get "alt" }}{{ . }}{{ end }}' />
93
-
94
- {{ else }}
95
-
96
- {{ $figureId = printf "%s-%d" "deepzoom" now.UnixNano }}
97
- {{ $modalLink = printf "%s%s" "#" $figureId }}
98
-
99
- <figure
100
- id="{{ $figureId }}"
101
- {{ if .Get "caption" }}
102
- title='{{ .Get "caption" | markdownify | safeHTML }}' {{ end }}
103
- class="quire-figure leaflet-outer-wrapper mfp-hide">
104
- <div
105
- id="js-{{ $figureId }}"
106
- class="quire-deepzoom inset leaflet-inner-wrapper "
107
- aria-live="polite"
108
- role="application"
109
- aria-label="Zoomable image"
110
- {{ if .zoom_max }} data-zoom-max="{{ .zoom_max }}" {{ end }}
111
- src="{{ with .Get "src"}}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}">
112
- </div>
113
- </figure>
114
-
115
- <a
116
- href="{{ $modalLink }}"
117
- class='inline popup'
118
- data-type='inline'
119
- {{ if .Get "caption" }} title='{{ .Get "caption" | markdownify | safeHTML }}' {{ end }}>
120
- <img
121
- id='{{ with .Get "id" }}{{ . | urlize }}{{ end }}'
122
- class="quire-figure__image"
123
- src='{{ with .Get "src"}}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}'
124
- alt='{{ with .Get "alt" }}{{ . }}{{ end }}' />
125
-
126
- {{ end }}
127
-
128
- {{/* -------------------- else for modal -------------------- */}}
129
- {{ else }}
130
- {{/* -------------------- else for modal -------------------- */}}
131
-
132
- {{ if ne $.Site.Params.pdf true }}
133
-
134
- {{ if eq (.Get "media_type") "map" }}
135
-
136
- <div
137
- id="js-map-{{ now.UnixNano }}"
138
- class="no-popup-quire-map quire-map inset"
139
- {{ with .Get "lat" }} data-lat="{{.}}" {{ end }}
140
- {{ with .Get "long" }} data-long="{{.}}" {{ end }}
141
- {{ if .Get "geojson" }} data-geojson="{{ .Site.BaseURL }}{{ .Get "geojson" }}" {{ end }}>
142
- </div>
143
-
144
- {{ else if eq (.Get "media_type") "iiif" }}
145
-
146
- <div
147
- id="js-iiif-{{ now.UnixNano }}"
148
- class="quire-deepzoom inset no-popup-quire-deepzoom"
149
- aria-live="polite"
150
- role="application"
151
- aria-label="Zoomable image"
152
- {{ if .Get "iiif" }} data-iiif="{{ .Get "iiif" }}" {{ end }}
153
- {{ if .Get "zoom_max" }} data-zoom-max="{{ .Get "zoom_max" }}" {{ end }}
154
- >
155
- </div>
156
-
157
- {{ else }}
158
-
159
- <div
160
- id="js-deepzoom-{{ now.UnixNano }}"
161
- class="quire-deepzoom inset no-popup-quire-deepzoom"
162
- aria-live="polite"
163
- role="application"
164
- aria-label="Zoomable image"
165
- src='{{ with .Get "src"}}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}'
166
- {{ if .Get "zoom_max" }} data-zoom-max="{{ .Get "zoom_max" }}" {{ end }}
167
- >
168
- </div>
169
-
170
- {{ end }}
171
-
172
- {{ else }}
173
- <img
174
- id='{{ with .Get "id" }}{{ . | urlize }}{{ end }}'
175
- class="quire-figure__image"
176
- src='{{ with .Get "src"}}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}'
177
- alt='{{ with .Get "alt" }}{{ . }}{{ end }}' />
178
-
179
- {{ end }}
180
-
181
- {{ end }}
182
-
183
- {{/* -------------------- BEGIN TOP LABEL BLOCK -------------------- */}}
184
-
185
- {{- if or .label (eq $.Site.Params.figureModal true ) }}
186
- {{ if eq $.Site.Params.figureLabelLocation "on-top" }}
187
- {{- $labelDict := dict "Site" $.Site "label" .label -}}
188
- {{- partial "figures/label.html" $labelDict -}}
189
- {{ end }}
190
- {{- end -}}
191
- {{/* -------------------- END TOP LABEL BLOCK -------------------- */}}
192
-
193
- {{ if eq $.Site.Params.figureModal true }}
194
- </a>
195
- {{ end }}
196
- {{/* -------------------- END FIGURE MODAL WRAPPER -------------------- */}}
197
-
198
- {{/* -------------------- BEGIN CAPTION BLOCK -------------------- */}}
199
- {{- $captionDict := dict "Site" $.Site "caption" .caption "credit" .credit "label" .label "modalLink" $modalLink -}}
200
-
201
- {{- partial "figures/caption.html" $captionDict -}}
202
- {{/* -------------------- END CAPTION BLOCK -------------------- */}}
203
-
204
- {{ if eq $.Site.Params.figureModal true }}
205
- </div>
206
- {{ end }}
207
-
208
- {{/* -------------------- else for src or id -------------------- */}}
209
- {{ else if .Get "id" }}
210
- {{/* -------------------- else for src or id -------------------- */}}
211
-
212
- {{ $x := .Get "id" | string }}
213
- {{ $fig := len (where .Site.Data.figures.figure_list "id" "eq" $x) }}
214
-
215
- {{ if eq $fig 0 }}
216
- {{ partial "error-message.html" $errorBadId }}
217
- {{ else }}
218
-
219
- {{ range where .Site.Data.figures.figure_list "id" "eq" $x }}
220
-
221
- {{ if eq $.Site.Params.figureModal true }}
222
-
223
- <div class="q-figure__wrapper">
224
-
225
- {{ if eq .media_type "map" }}
226
-
227
- {{ $figureId = printf "%s-%d" "map" now.UnixNano }}
228
- {{ $modalLink = printf "%s%s" "#" $figureId }}
229
-
230
- <figure
231
- id="{{ $figureId }}"
232
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}
233
- class="quire-figure leaflet-outer-wrapper mfp-hide">
234
- <div
235
- id="js-{{ $figureId }}"
236
- class="quire-map leaflet-inner-wrapper inset"
237
- data-lat="{{ .lat }}"
238
- data-long="{{ .long }}"
239
- data-geojson="{{ .Site.BaseURL }}{{ .geojson }}">
240
- </div>
241
- </figure>
242
-
243
- <a
244
- href="{{ $modalLink }}"
245
- class='inline popup'
246
- data-type="inline"
247
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}>
248
- <img
249
- id='{{ .id }}'
250
- class="quire-figure__image"
251
- src='{{ printf "%s/%s" ($.Scratch.Get "imageDir") .src | relURL }}' />
252
-
253
- {{ else if eq .media_type "iiif" }}
254
-
255
- {{ $figureId = printf "%s-%d" "iiif" now.UnixNano }}
256
- {{ $modalLink = printf "%s%s" "#" $figureId }}
257
-
258
- <figure
259
- id="{{ $figureId }}"
260
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}
261
- class="quire-figure leaflet-outer-wrapper mfp-hide">
262
- <div
263
- id="js-{{ $figureId }}"
264
- class="quire-deepzoom inset leaflet-inner-wrapper"
265
- aria-live="polite"
266
- role="application"
267
- aria-label="Zoomable image"
268
- data-iiif="{{ .iiif }}"
269
- {{ if .zoom_max }} data-zoom-max="{{ .zoom_max }}" {{ end }}>
270
- </div>
271
- </figure>
272
-
273
- <a
274
- class='inline popup'
275
- href="{{ $modalLink }}"
276
- data-type='inline'
277
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}>
278
- <img
279
- id='{{ .id }}'
280
- class="quire-figure__image"
281
- src='{{ printf "%s/%s" ($.Scratch.Get "imageDir") .src | relURL }}' />
282
-
283
- {{ else }}
284
-
285
- {{ $figureId = printf "%s-%d" "deepzoom" now.UnixNano }}
286
- {{ $modalLink = printf "%s%s" "#" $figureId }}
287
-
288
- <figure
289
- id="{{ $figureId }}"
290
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}
291
- class="quire-figure leaflet-outer-wrapper mfp-hide hi">
292
- <div
293
- id="js-{{ $figureId }}"
294
- class="quire-deepzoom inset leaflet-inner-wrapper "
295
- aria-live="polite"
296
- role="application"
297
- aria-label="Zoomable image"
298
- src="{{ printf "%s/%s" ($.Scratch.Get "imageDir") .src | relURL }}">
299
- </div>
300
- </figure>
301
-
302
- <a
303
- href="{{ $modalLink }}"
304
- class='inline popup'
305
- data-type='inline'
306
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}>
307
- <img
308
- id='{{ .id }}'
309
- class="quire-figure__image"
310
- src='{{ printf "%s/%s" ($.Scratch.Get "imageDir") .src | relURL }}' />
311
-
312
- {{ end }}
313
-
314
- {{/* -------------------- else for modal -------------------- */}}
315
- {{ else }}
316
- {{/* -------------------- else for modal -------------------- */}}
317
-
318
- {{ if ne $.Site.Params.pdf true }}
319
- {{ if eq .media_type "map" }}
320
-
321
- <div
322
- id="js-map-{{ now.UnixNano }}"
323
- class="no-popup-quire-map quire-map inset"
324
- data-lat="{{ .lat }}"
325
- data-long="{{ .long }}"
326
- data-geojson="{{ .Site.BaseURL }}{{ .geojson }}">
327
- </div>
328
-
329
- {{ else if eq .media_type "iiif" }}
330
-
331
- <div
332
- id="js-iiif-{{ now.UnixNano }}"
333
- {{ if .caption }} title='{{ .caption | markdownify | safeHTML }}' {{ end }}
334
- data-iiif="{{ .iiif }}"
335
- {{ if .zoom_max }} data-zoom-max="{{ .zoom_max }}" {{ end }}
336
- class="no-popup-quire-deepzoom quire-deepzoom inset"
337
- aria-live="polite"
338
- role="application"
339
- aria-label="Zoomable image">
340
- </div>
341
-
342
- {{ else }}
343
-
344
- <div
345
- id="js-deepzoom-{{ now.UnixNano }}"
346
- class="no-popup-quire-deepzoom quire-deepzoom inset inline"
347
- aria-live="polite"
348
- role="application"
349
- aria-label="Zoomable image"
350
- {{ if .zoom_max }} data-zoom-max="{{ .zoom_max }}" {{ end }}
351
- src='{{ printf "%s/%s" ($.Scratch.Get "imageDir") .src | relURL }}'>
352
- </div>
353
-
354
- {{ end }}
355
-
356
- {{ else }}
357
-
358
- <img
359
- id='{{ .id }}'
360
- class="quire-figure__image"
361
- src='{{ printf "%s/%s" ($.Scratch.Get "imageDir") .src | relURL }}' />
362
-
363
- {{ end }}
364
-
365
- {{ end }}
366
-
367
- {{/* -------------------- BEGIN LABEL BLOCK -------------------- */}}
368
- {{- if or .label (eq $.Site.Params.figureModal true ) }}
369
- {{ if eq $.Site.Params.figureLabelLocation "on-top" }}
370
- {{- $labelDict := dict "Site" $.Site "label" .label -}}
371
- {{- partial "figures/label.html" $labelDict -}}
372
- {{ end }}
373
- {{- end -}}
374
- {{/* -------------------- END LABEL BLOCK -------------------- */}}
375
-
376
- {{ if eq $.Site.Params.figureModal true }}
377
- </a>
378
- {{ end }}
379
- {{/* -------------------- END FIGURE MODAL WRAPPER -------------------- */}}
380
-
381
- {{/* -------------------- BEGIN CAPTION BLOCK AND BELOW LABELING -------------------- */}}
382
- {{- $dict := dict "Site" $.Site "caption" .caption "credit" .credit "label" .label "modalLink" $modalLink -}}
383
-
384
- {{- partial "figures/caption.html" $dict -}}
385
- {{/* -------------------- END CAPTION BLOCK AND BELOW LABELING -------------------- */}}
386
-
387
- {{ if eq $.Site.Params.figureModal true }}
388
- </div>
389
- {{ end }}
390
-
391
- {{ end }}
392
-
393
- {{ end }}
394
-
395
- {{ else }}
396
- {{/* -------------------- BEGIN ERROR BLOCK -------------------- */}}
397
- {{/*
398
- ----------------------------------------------------------------------------
399
- If the shortcode has no src, and no id, post an error message.
400
- ----------------------------------------------------------------------------
401
- */}}
402
-
403
- {{ partial "error-message.html" $errorNoSourceNoId }}
404
-
405
- {{/* -------------------- END ERROR BLOCK -------------------- */}}
406
- {{ end }}
407
-
408
- </figure>
@@ -1,86 +0,0 @@
1
- {{- $alt := "" -}}
2
- {{- $aspectRatio := "" -}}
3
- {{- $caption := "" -}}
4
- {{- $credit := "" -}}
5
- {{- $download := "" -}}
6
- {{- $id := "" -}}
7
- {{- $label := "" -}}
8
- {{- $mediaId := "" -}}
9
- {{- $mediaType := "" -}}
10
- {{- $src := "" -}}
11
-
12
- {{- if or (.Get "src") (.Get "media_id") -}}
13
-
14
- {{/*
15
- ----------------------------------------------------------------------------
16
- Get attributes defined directly on shortcode
17
- ----------------------------------------------------------------------------
18
- */}}
19
-
20
- {{- with (.Get "alt") }}{{ $alt = . }}{{ end -}}
21
- {{- with (.Get "aspect_ratio") }}{{ $aspectRatio = . }}{{ end -}}
22
- {{- with (.Get "caption") }}{{ $caption = . }}{{ end -}}
23
- {{- with (.Get "credit") }}{{ $credit = . }}{{ end -}}
24
- {{- with (.Get "download") }}{{ $download = . }}{{ end -}}
25
- {{- with (.Get "id") }}{{ $id = . }}{{ end -}}
26
- {{- with (.Get "label") }}{{ $label = . }}{{ end -}}
27
- {{- with (.Get "media_id") }}{{ $mediaId = . }}{{ end -}}
28
- {{- with (.Get "media_type") }}{{ $mediaType = . }}{{ end -}}
29
- {{- with (.Get "src") }}{{ $src = . }}{{ end -}}
30
-
31
-
32
- {{- else if .Get "id" -}}
33
-
34
- {{/*
35
- ----------------------------------------------------------------------------
36
- Get attributes from figures.yml
37
- ----------------------------------------------------------------------------
38
- */}}
39
-
40
- {{- range where .Site.Data.figures.figure_list "id" "eq" (.Get "id") -}}
41
- {{- if ($.Get "alt") }}
42
- {{ $alt = ($.Get "alt") }}{{ else if .alt }}{{ $alt = .alt }}{{ end -}}
43
-
44
- {{- with .aspect_ratio }}{{ $aspectRatio = . }}{{ end -}}
45
- {{- if ($.Get "caption") }}
46
- {{ $caption = ($.Get "caption") }}{{ else if .caption }}{{ $caption = .caption }}{{ end -}}
47
-
48
- {{- if ($.Get "credit") }}
49
- {{ $credit = ($.Get "credit") }}{{ else if .credit }}{{ $credit = .credit }}{{ end -}}
50
-
51
- {{- with .download }}{{ $download = . }}{{ end -}}
52
- {{- with .id }}{{ $id = . }}{{ end -}}
53
- {{- if ($.Get "label") }}
54
- {{ $label = ($.Get "label") }}{{ else if .label }}{{ $label = .label }}{{ end -}}
55
-
56
- {{- with .media_id }}{{ $mediaId = . }}{{ end -}}
57
- {{- with .media_type }}{{ $mediaType = . }}{{ end -}}
58
- {{- with .src }}{{ $src = . }}{{ end -}}
59
- {{- end -}}
60
-
61
- {{- else -}}
62
- {{- end -}}
63
-
64
- {{- $dict := dict "Site" .Site "alt" $alt "aspectRatio" $aspectRatio "caption" $caption "credit" $credit "download" $download "id" $id "label" $label "mediaId" $mediaId "mediaType" $mediaType "src" $src -}}
65
-
66
- <figure
67
- data="q-figure"
68
- class="quire-figure{{ with .Get "class" }} {{ . }}{{ end }}"
69
- id="{{ $id }}"
70
- >
71
- <div class="q-figure__wrapper">
72
- {{ if eq $mediaType "youtube" -}}
73
- {{- partial "figures/media-types/youtube.html" $dict -}}
74
- {{- else if eq $mediaType "vimeo" -}}
75
- {{- partial "figures/media-types/vimeo.html" $dict -}}
76
- {{- else if eq $mediaType "soundcloud" -}}
77
- {{- partial "figures/media-types/soundcloud.html" $dict -}}
78
- {{- else if eq $mediaType "website" -}}
79
- {{- partial "figures/media-types/website.html" $dict -}}
80
- {{- else if eq $mediaType "table" -}}
81
- {{- partial "figures/media-types/table.html" $dict -}}
82
- {{- else -}}
83
- {{- partial "figures/media-types/image.html" $dict -}}
84
- {{- end -}}
85
- </div>
86
- </figure>
@@ -1,24 +0,0 @@
1
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
2
- xmlns:xhtml="http://www.w3.org/1999/xhtml">
3
- {{- $pages := .Site.Pages -}}
4
- {{- $pages := where $pages "Params.online" "!=" "false" }}
5
- {{- $pages := where $pages ".Type" "!=" "data" -}}
6
- {{ range $pages }}
7
- <url>
8
- <loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
9
- <lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
10
- <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
11
- <priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
12
- <xhtml:link
13
- rel="alternate"
14
- hreflang="{{ .Lang }}"
15
- href="{{ .Permalink | relURL }}"
16
- />{{ end }}
17
- <xhtml:link
18
- rel="alternate"
19
- hreflang="{{ .Lang }}"
20
- href="{{ .Permalink | relURL }}"
21
- />{{ end }}
22
- </url>
23
- {{ end }}
24
- </urlset>
@@ -1,67 +0,0 @@
1
- {{/*
2
- Splash layout.
3
- */}}
4
-
5
- {{ define "main" }}
6
- <article class="{{ partial "page-class.html" . }} quire-splash" id="main" role="main">
7
- {{- if isset $.Site.Params "imagedir" }}
8
- {{ $.Scratch.Set "imageDir" $.Site.Params.imageDir }}
9
- {{ else }}
10
- {{ $.Scratch.Set "imageDir" "" }}
11
- {{ end -}}
12
- {{- if .Params.image -}}
13
- {{- $imgPath := printf "%s/%s" ($.Scratch.Get "imageDir") .Params.image -}}
14
- <section class="{{ if or (eq .Title "title page") (eq .Title "half title page") }} is-screen-only {{ end }} quire-page__header hero {{ if .Content }}{{ else }}quire-page__header--full-height{{ end }} {{ if .Params.image }}hero-image{{ end }}" style="background-image: url('{{ $imgPath | relURL }}');">
15
- <div class="hero-body">
16
- {{/* Page Title */}}
17
- <h1 class="quire-page__header__title" id="{{ .Title | urlize }}">
18
- {{ with .Params.label }}<span class="label">{{ . }}<span class="visually-hidden">{{ $.Site.Params.pageLabelDivider }}</span></span>{{ end }}
19
- {{- partial "page-title.html" . | markdownify -}}
20
- </h1>
21
- {{/* Contributors, if any */}}
22
- {{ with .Params.contributor }}
23
- <div class="quire-page__header__contributor">
24
- {{ partial "contributor-list.html" (dict "range" . "contributorType" "all" "listType" "list-plus" "Site" $.Site) }}
25
- </div>
26
- {{ end }}
27
- </div>
28
- </section>
29
- {{- else -}}
30
- <section class="{{ if or (eq .Title "title page") (eq .Title "half title page") }} is-screen-only {{ end }} quire-page__header hero{{ if .Content }}{{ else }} quire-page__header--full-height{{ end }}">
31
- <div class="hero-body">
32
- {{/* Page Title */}}
33
- <h1 class="quire-page__header__title" id="{{ .Title | urlize }}">
34
- {{ with .Params.label }}<span class="label">{{ . }}<span class="visually-hidden">{{ $.Site.Params.pageLabelDivider }}</span></span>{{ end }}
35
- {{- partial "page-title.html" . | markdownify -}}
36
- </h1>
37
- {{/* Contributors, if any */}}
38
- {{ with .Params.contributor }}
39
- <div class="quire-page__header__contributor">
40
- {{ partial "contributor-list.html" (dict "range" . "contributorType" "all" "listType" "list-plus" "Site" $.Site) }}
41
- </div>
42
- {{ end }}
43
- </div>
44
- </section>
45
- {{- end -}}
46
-
47
- {{ if .Content }}
48
- <section id="content" class="section quire-page__content">
49
- {{ if .Params.abstract }}
50
- {{ partial "page-abstract.html" . }}
51
- {{ end }}
52
- <div class="container">
53
- <div class="content{{ if .Params.image }}{{ else }} no-image-above{{ end }}">
54
- {{ .Content }}
55
- {{ partial "page-bibliography.html" . }}
56
- </div>
57
- {{ partial "footer-buttons.html" . }}
58
- </div>
59
- </section>
60
- {{ else }}
61
- <div class="quire-contents-buttons--fixed remove-from-epub">
62
- {{ partial "footer-buttons.html" . }}
63
- </div>
64
- {{ end }}
65
-
66
- </article>
67
- {{ end }}