@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.
- package/index.js +20 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -46
- package/bin/.DS_Store +0 -0
- package/bin/go-iiif/.DS_Store +0 -0
- package/bin/index.js +0 -2
- package/bin/starters/README.md +0 -0
- package/bin/starters/default/.circleci/config.yml +0 -98
- package/bin/starters/default/.gitignore +0 -14
- package/bin/starters/default/.nojekyll +0 -0
- package/bin/starters/default/CHANGELOG.md +0 -38
- package/bin/starters/default/README.md +0 -25
- package/bin/starters/default/bin/deploy.sh +0 -25
- package/bin/starters/default/config/_default/config.yml +0 -53
- package/bin/starters/default/config/development/config.yml +0 -14
- package/bin/starters/default/config/environments/dev.yml +0 -14
- package/bin/starters/default/config/environments/github.yml +0 -15
- package/bin/starters/default/config/environments/netlify.yml +0 -18
- package/bin/starters/default/config/epub.yml +0 -15
- package/bin/starters/default/config/pdf.yml +0 -16
- package/bin/starters/default/config/site.yml +0 -13
- package/bin/starters/default/config.yml +0 -53
- package/bin/starters/default/content/about.md +0 -20
- package/bin/starters/default/content/bibliography.md +0 -7
- package/bin/starters/default/content/catalogue/1.md +0 -28
- package/bin/starters/default/content/catalogue/2.md +0 -29
- package/bin/starters/default/content/catalogue/3.md +0 -20
- package/bin/starters/default/content/catalogue/4.md +0 -22
- package/bin/starters/default/content/catalogue/catalogue-index.md +0 -8
- package/bin/starters/default/content/contents.md +0 -7
- package/bin/starters/default/content/contributors.md +0 -7
- package/bin/starters/default/content/cover.md +0 -11
- package/bin/starters/default/content/essay.md +0 -80
- package/bin/starters/default/content/intro.md +0 -21
- package/bin/starters/default/content/search-index.md +0 -8
- package/bin/starters/default/data/figures.yml +0 -90
- package/bin/starters/default/data/objects.yml +0 -49
- package/bin/starters/default/data/publication.yml +0 -149
- package/bin/starters/default/data/references.yml +0 -11
- package/bin/starters/default/static/css/custom.css +0 -0
- package/bin/starters/default/static/data/sample-geojson.json +0 -16
- package/bin/starters/default/static/downloads/.gitkeep +0 -0
- package/bin/starters/default/static/downloads/output.epub +0 -0
- package/bin/starters/default/static/downloads/output.mobi +0 -0
- package/bin/starters/default/static/downloads/output.pdf +0 -0
- package/bin/starters/default/static/img/contributors/judith-keller.jpg +0 -0
- package/bin/starters/default/static/img/cover.png +0 -0
- package/bin/starters/default/static/img/figures/duo.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-burroughs.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-child.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-graveyard.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-hymns.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-legionnaire.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-refugee.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-sons.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-video-still.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-washroom.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans.jpg +0 -0
- package/bin/starters/default/static/img/figures/family.jpg +0 -0
- package/bin/starters/default/static/img/figures/lange-house.jpg +0 -0
- package/bin/starters/default/static/img/figures/lange.jpg +0 -0
- package/bin/starters/default/static/img/figures/mother-b.jpg +0 -0
- package/bin/starters/default/static/img/figures/mother-c.jpg +0 -0
- package/bin/starters/default/static/img/figures/mother.jpg +0 -0
- package/bin/starters/default/static/img/figures/pickers.jpg +0 -0
- package/bin/starters/default/static/img/logo-getty.png +0 -0
- package/bin/starters/default/static/img/pattern-spiral-overlay.png +0 -0
- package/bin/starters/default/static/js/custom.js +0 -4
- package/bin/themes/README.md +0 -0
- package/bin/themes/default/.circleci/config.yml +0 -62
- package/bin/themes/default/.eslintrc.js +0 -16
- package/bin/themes/default/.gitignore +0 -13
- package/bin/themes/default/.scss-lint.yml +0 -239
- package/bin/themes/default/CHANGELOG.md +0 -73
- package/bin/themes/default/LICENSE.md +0 -20
- package/bin/themes/default/README.md +0 -112
- package/bin/themes/default/archetypes/default.md +0 -2
- package/bin/themes/default/cypress.json +0 -7
- package/bin/themes/default/layouts/404.html +0 -0
- package/bin/themes/default/layouts/_default/baseof.html +0 -43
- package/bin/themes/default/layouts/_default/single.html +0 -26
- package/bin/themes/default/layouts/contents/single.html +0 -37
- package/bin/themes/default/layouts/cover/single.html +0 -128
- package/bin/themes/default/layouts/data/search-index.html +0 -65
- package/bin/themes/default/layouts/entry/single.html +0 -372
- package/bin/themes/default/layouts/essay/single.html +0 -24
- package/bin/themes/default/layouts/partials/analytics.html +0 -29
- package/bin/themes/default/layouts/partials/cite-this.html +0 -348
- package/bin/themes/default/layouts/partials/contents-list/card-image.html +0 -13
- package/bin/themes/default/layouts/partials/contents-list/closing-tags.html +0 -59
- package/bin/themes/default/layouts/partials/contents-list/contents-list.html +0 -179
- package/bin/themes/default/layouts/partials/contents-list/file-dir.html +0 -7
- package/bin/themes/default/layouts/partials/contents-list/file-path.html +0 -10
- package/bin/themes/default/layouts/partials/contents-list/list-item-type.html +0 -9
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/abstract.html +0 -17
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/brief.html +0 -7
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/default.html +0 -9
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/grid.html +0 -30
- package/bin/themes/default/layouts/partials/contents-list/section-heading.html +0 -5
- package/bin/themes/default/layouts/partials/contents-list.html +0 -207
- package/bin/themes/default/layouts/partials/contributor-info.html +0 -78
- package/bin/themes/default/layouts/partials/contributor-list.html +0 -102
- package/bin/themes/default/layouts/partials/copyright.html +0 -155
- package/bin/themes/default/layouts/partials/debug-contents.html +0 -8
- package/bin/themes/default/layouts/partials/dublin-core.html +0 -21
- package/bin/themes/default/layouts/partials/error-message.html +0 -19
- package/bin/themes/default/layouts/partials/figure-caption.html +0 -1
- package/bin/themes/default/layouts/partials/figure-fallback.html +0 -31
- package/bin/themes/default/layouts/partials/figure-image.html +0 -44
- package/bin/themes/default/layouts/partials/figure-label.html +0 -15
- package/bin/themes/default/layouts/partials/figure-soundcloud.html +0 -25
- package/bin/themes/default/layouts/partials/figure-table.html +0 -44
- package/bin/themes/default/layouts/partials/figure-vimeo.html +0 -24
- package/bin/themes/default/layouts/partials/figure-website.html +0 -21
- package/bin/themes/default/layouts/partials/figure-youtube.html +0 -23
- package/bin/themes/default/layouts/partials/figures/caption.html +0 -44
- package/bin/themes/default/layouts/partials/figures/label.html +0 -35
- package/bin/themes/default/layouts/partials/figures/media-types/fallback.html +0 -32
- package/bin/themes/default/layouts/partials/figures/media-types/image.html +0 -54
- package/bin/themes/default/layouts/partials/figures/media-types/soundcloud.html +0 -35
- package/bin/themes/default/layouts/partials/figures/media-types/table.html +0 -53
- package/bin/themes/default/layouts/partials/figures/media-types/vimeo.html +0 -32
- package/bin/themes/default/layouts/partials/figures/media-types/website.html +0 -24
- package/bin/themes/default/layouts/partials/figures/media-types/youtube.html +0 -29
- package/bin/themes/default/layouts/partials/footer-buttons.html +0 -29
- package/bin/themes/default/layouts/partials/head.html +0 -46
- package/bin/themes/default/layouts/partials/icon.html +0 -20
- package/bin/themes/default/layouts/partials/icons-cc.html +0 -86
- package/bin/themes/default/layouts/partials/icons.html +0 -54
- package/bin/themes/default/layouts/partials/json-ld.html +0 -117
- package/bin/themes/default/layouts/partials/link-list-arrow.html +0 -16
- package/bin/themes/default/layouts/partials/link-list.html +0 -11
- package/bin/themes/default/layouts/partials/menu-header.html +0 -25
- package/bin/themes/default/layouts/partials/menu.html +0 -69
- package/bin/themes/default/layouts/partials/metadata.html +0 -27
- package/bin/themes/default/layouts/partials/navbar.html +0 -173
- package/bin/themes/default/layouts/partials/open-graph.html +0 -43
- package/bin/themes/default/layouts/partials/page-abstract.html +0 -7
- package/bin/themes/default/layouts/partials/page-bibliography.html +0 -59
- package/bin/themes/default/layouts/partials/page-class.html +0 -9
- package/bin/themes/default/layouts/partials/page-contributor.html +0 -48
- package/bin/themes/default/layouts/partials/page-header.html +0 -22
- package/bin/themes/default/layouts/partials/page-title.html +0 -9
- package/bin/themes/default/layouts/partials/page-tombstone.html +0 -36
- package/bin/themes/default/layouts/partials/pdf-info.html +0 -20
- package/bin/themes/default/layouts/partials/pdf-title-pages.html +0 -39
- package/bin/themes/default/layouts/partials/scripts.html +0 -5
- package/bin/themes/default/layouts/partials/search.html +0 -52
- package/bin/themes/default/layouts/partials/site-title.html +0 -9
- package/bin/themes/default/layouts/partials/tests/check-node-modules.html +0 -9
- package/bin/themes/default/layouts/partials/tests/check-page-one-class.html +0 -21
- package/bin/themes/default/layouts/partials/tests/check-page-weights.html +0 -49
- package/bin/themes/default/layouts/partials/tests/run.html +0 -13
- package/bin/themes/default/layouts/partials/twitter-card.html +0 -23
- package/bin/themes/default/layouts/shortcodes/q-bibliography.html +0 -61
- package/bin/themes/default/layouts/shortcodes/q-cite.html +0 -79
- package/bin/themes/default/layouts/shortcodes/q-class.html +0 -3
- package/bin/themes/default/layouts/shortcodes/q-contributor.html +0 -327
- package/bin/themes/default/layouts/shortcodes/q-contributors.html +0 -11
- package/bin/themes/default/layouts/shortcodes/q-figure-group.html +0 -457
- package/bin/themes/default/layouts/shortcodes/q-figure-new.html +0 -70
- package/bin/themes/default/layouts/shortcodes/q-figure-zoom.html +0 -408
- package/bin/themes/default/layouts/shortcodes/q-figure.html +0 -86
- package/bin/themes/default/layouts/sitemap.xml +0 -24
- package/bin/themes/default/layouts/splash/single.html +0 -67
- package/bin/themes/default/package-lock.json +0 -13198
- package/bin/themes/default/package.json +0 -96
- package/bin/themes/default/source/css/application.scss +0 -30
- package/bin/themes/default/source/css/bulma-components.scss +0 -21
- package/bin/themes/default/source/css/colors.scss +0 -16
- package/bin/themes/default/source/css/components/_all.scss +0 -15
- package/bin/themes/default/source/css/components/container.sass +0 -35
- package/bin/themes/default/source/css/components/quire-buttons.scss +0 -95
- package/bin/themes/default/source/css/components/quire-citation.scss +0 -77
- package/bin/themes/default/source/css/components/quire-contents-list.scss +0 -329
- package/bin/themes/default/source/css/components/quire-contributors.scss +0 -131
- package/bin/themes/default/source/css/components/quire-copyright.scss +0 -28
- package/bin/themes/default/source/css/components/quire-cover.scss +0 -216
- package/bin/themes/default/source/css/components/quire-deepzoom.scss +0 -181
- package/bin/themes/default/source/css/components/quire-entry.scss +0 -651
- package/bin/themes/default/source/css/components/quire-figure.scss +0 -589
- package/bin/themes/default/source/css/components/quire-map.scss +0 -17
- package/bin/themes/default/source/css/components/quire-menu.scss +0 -209
- package/bin/themes/default/source/css/components/quire-navbar.scss +0 -366
- package/bin/themes/default/source/css/components/quire-page.scss +0 -920
- package/bin/themes/default/source/css/components/quire-popup.scss +0 -233
- package/bin/themes/default/source/css/components/quire-search.scss +0 -121
- package/bin/themes/default/source/css/epub.scss +0 -549
- package/bin/themes/default/source/css/fonts.scss +0 -159
- package/bin/themes/default/source/css/layout.scss +0 -186
- package/bin/themes/default/source/css/print.scss +0 -613
- package/bin/themes/default/source/css/utilities.scss +0 -345
- package/bin/themes/default/source/css/variables.scss +0 -144
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.woff2 +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.woff2 +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.woff2 +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bold.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bold.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bold.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-italic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-italic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-italic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-regular.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-regular.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-regular.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.woff2 +0 -0
- package/bin/themes/default/source/img/cover.png +0 -0
- package/bin/themes/default/source/img/fullscreen.png +0 -0
- package/bin/themes/default/source/img/icons/arrow_forward.png +0 -0
- package/bin/themes/default/source/img/icons/baseline-headset-24px.png +0 -0
- package/bin/themes/default/source/img/icons/baseline-videocam-24px.png +0 -0
- package/bin/themes/default/source/img/icons/baseline-website-24px.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nc-nd.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nc-sa.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nc.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nd.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-sa.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by.png +0 -0
- package/bin/themes/default/source/img/icons/cc-zero.png +0 -0
- package/bin/themes/default/source/img/icons/close.png +0 -0
- package/bin/themes/default/source/img/icons/down-arrow.png +0 -0
- package/bin/themes/default/source/img/icons/download.png +0 -0
- package/bin/themes/default/source/img/icons/favicon.ico +0 -0
- package/bin/themes/default/source/img/icons/home.png +0 -0
- package/bin/themes/default/source/img/icons/left-arrow.png +0 -0
- package/bin/themes/default/source/img/icons/link.png +0 -0
- package/bin/themes/default/source/img/icons/nav.png +0 -0
- package/bin/themes/default/source/img/icons/right-arrow.png +0 -0
- package/bin/themes/default/source/img/icons/search.png +0 -0
- package/bin/themes/default/source/img/icons/start.png +0 -0
- package/bin/themes/default/source/img/layers-2x.png +0 -0
- package/bin/themes/default/source/img/layers.png +0 -0
- package/bin/themes/default/source/img/marker-icon.png +0 -0
- package/bin/themes/default/source/img/pattern-spiral-overlay.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/classic-catalogue.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/classic-entry.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/classic-essay.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/modern-contents.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/modern-cover.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/modern-essay.png +0 -0
- package/bin/themes/default/source/js/application.js +0 -604
- package/bin/themes/default/source/js/deepzoom.js +0 -186
- package/bin/themes/default/source/js/epub.js +0 -9
- package/bin/themes/default/source/js/fullscreen.js +0 -190
- package/bin/themes/default/source/js/helper.js +0 -197
- package/bin/themes/default/source/js/map.js +0 -94
- package/bin/themes/default/source/js/navigation.js +0 -59
- package/bin/themes/default/source/js/popup.js +0 -307
- package/bin/themes/default/source/js/search.js +0 -35
- package/bin/themes/default/source/js/soundcloud-api.js +0 -1
- package/bin/themes/default/static/css/epub.css +0 -401
- package/bin/themes/default/static/fonts/MaterialIcons-Regular.eot +0 -0
- package/bin/themes/default/static/fonts/MaterialIcons-Regular.woff +0 -0
- package/bin/themes/default/static/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-bold.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-bold.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-bold.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-bolditalic.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-bolditalic.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-bolditalic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-italic.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-italic.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-italic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-regular.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-regular.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-regular.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-bold.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-bold.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-bold.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-bolditalic.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-bolditalic.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-bolditalic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-italic.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-italic.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-italic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-regular.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-regular.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-regular.woff2 +0 -0
- package/bin/themes/default/static/img/baseline-website-24px.png +0 -0
- package/bin/themes/default/static/img/cover.png +0 -0
- package/bin/themes/default/static/img/fullscreen.png +0 -0
- package/bin/themes/default/static/img/fullscreen@2x.png +0 -0
- package/bin/themes/default/static/img/icons/arrow_forward.png +0 -0
- package/bin/themes/default/static/img/icons/baseline-headset-24px.png +0 -0
- package/bin/themes/default/static/img/icons/baseline-videocam-24px.png +0 -0
- package/bin/themes/default/static/img/icons/baseline-website-24px.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nc-nd.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nc-sa.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nc.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nd.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-sa.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by.png +0 -0
- package/bin/themes/default/static/img/icons/cc-zero.png +0 -0
- package/bin/themes/default/static/img/icons/close.png +0 -0
- package/bin/themes/default/static/img/icons/down-arrow.png +0 -0
- package/bin/themes/default/static/img/icons/download.png +0 -0
- package/bin/themes/default/static/img/icons/favicon.ico +0 -0
- package/bin/themes/default/static/img/icons/home.png +0 -0
- package/bin/themes/default/static/img/icons/left-arrow.png +0 -0
- package/bin/themes/default/static/img/icons/link.png +0 -0
- package/bin/themes/default/static/img/icons/nav.png +0 -0
- package/bin/themes/default/static/img/icons/right-arrow.png +0 -0
- package/bin/themes/default/static/img/icons/search.png +0 -0
- package/bin/themes/default/static/img/icons/soundcloud.png +0 -0
- package/bin/themes/default/static/img/icons/start.png +0 -0
- package/bin/themes/default/static/img/icons/vimeo.png +0 -0
- package/bin/themes/default/static/img/icons/website.png +0 -0
- package/bin/themes/default/static/img/icons/youtube.png +0 -0
- package/bin/themes/default/static/img/layers-2x.png +0 -0
- package/bin/themes/default/static/img/layers.png +0 -0
- package/bin/themes/default/static/img/marker-icon.png +0 -0
- package/bin/themes/default/static/img/pattern-spiral-overlay.png +0 -0
- package/bin/themes/default/tests/.gitkeep +0 -0
- package/bin/themes/default/tests/e2e/.eslintrc.js +0 -9
- package/bin/themes/default/tests/e2e/fixtures/blns.json +0 -483
- package/bin/themes/default/tests/e2e/plugins/index.js +0 -22
- package/bin/themes/default/tests/e2e/specs/quire-contents.spec.js +0 -52
- package/bin/themes/default/tests/e2e/specs/quire-contributors.spec.js +0 -66
- package/bin/themes/default/tests/e2e/specs/quire-entry.spec.js +0 -104
- package/bin/themes/default/tests/e2e/specs/quire-essay.spec.js +0 -105
- package/bin/themes/default/tests/e2e/specs/quire-menu.spec.js +0 -38
- package/bin/themes/default/tests/e2e/specs/quire-modal.spec.js +0 -69
- package/bin/themes/default/tests/e2e/specs/quire-next-back-buttons.spec.js +0 -27
- package/bin/themes/default/tests/e2e/specs/quire-page.spec.js +0 -28
- package/bin/themes/default/tests/e2e/specs/quire-search.spec.js +0 -48
- package/bin/themes/default/tests/e2e/specs/quire-splash.spec.js +0 -38
- package/bin/themes/default/tests/e2e/support/commands.js +0 -25
- package/bin/themes/default/tests/e2e/support/index.js +0 -20
- package/bin/themes/default/theme.toml +0 -22
- package/bin/themes/default/tsconfig.json +0 -5
- package/bin/themes/default/webpack/webpack.config.dev.js +0 -128
- package/bin/themes/default/webpack/webpack.config.epub.js +0 -140
- package/bin/themes/default/webpack/webpack.config.pdf.js +0 -135
- package/bin/themes/default/webpack/webpack.config.prod.js +0 -133
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
|
|
3
|
-
The q-contributor shortcode can be used to create a page of contributor
|
|
4
|
-
biographies, a section of bios for a single page, a list of contributors,
|
|
5
|
-
or a byline for a particular page.
|
|
6
|
-
|
|
7
|
-
This shortcode requires both a "range" and a "format" value. An optional
|
|
8
|
-
"align" value can also be used for all formats except "bio", on which it
|
|
9
|
-
has no effect.
|
|
10
|
-
|
|
11
|
-
range "page", "all", or an abritray value matching a contributor
|
|
12
|
-
`type` such as "primary" or "secondary"
|
|
13
|
-
format "initials", "name", "name-title", "name-title-block", "bio"
|
|
14
|
-
align "left" (default), "center", "right"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"initials" Looks for the capital letters in a contributor first
|
|
18
|
-
and last name and concatenates them together. Jane
|
|
19
|
-
Pauley, becomes J.P. Ralph Waldo Emerson becomes R.W.E.
|
|
20
|
-
"name" Just the first and last name.
|
|
21
|
-
"name-title" The first and last name, with, when available, their title
|
|
22
|
-
and affiliation.
|
|
23
|
-
"name-title-block" As above but with the title and affiliation on new lines
|
|
24
|
-
below the name.
|
|
25
|
-
"bio" Name, with pic, url, and bio.
|
|
26
|
-
|
|
27
|
-
Following the standard error message checks, in the first part of the
|
|
28
|
-
template below, creates a list of the requested contributors using the
|
|
29
|
-
contirbutor-info.html partial, creating a sorted list of contributor names
|
|
30
|
-
and information: a "contributorlist" map.
|
|
31
|
-
|
|
32
|
-
The second half of the template takes the "contributorlist" map and ranges
|
|
33
|
-
across it building the HTML as called for in the format value ("initials",
|
|
34
|
-
"name", "name_plus", or "bio").
|
|
35
|
-
|
|
36
|
-
NOTES:
|
|
37
|
-
|
|
38
|
-
Users can use a file_as value to control sort order. Otherwise lists are
|
|
39
|
-
sorted alphabetically by last_name. If you wanted, for example, a list of
|
|
40
|
-
essay contributors ordered in the way they are ordered in the page yaml, you
|
|
41
|
-
could assign a numeric file_as value to each. 1, 2, 3 etc. Note though that
|
|
42
|
-
this file_as override will cary over to other uses of the shortcode. For
|
|
43
|
-
example, a complete list of contributors at the end of a volume of collected
|
|
44
|
-
papers.
|
|
45
|
-
|
|
46
|
-
Contributors with the same exact name will override eachother. But using
|
|
47
|
-
a file_as value would fix this, and that value wouldn't show up in the
|
|
48
|
-
interface. For example if there are two Jane Smiths, assigning a file_as
|
|
49
|
-
value of "Smith, Jane 1" to one and "Smith, Jane 2" will sort them in that
|
|
50
|
-
order, but there names would still be listed as Jane Smith.
|
|
51
|
-
|
|
52
|
-
*/}}
|
|
53
|
-
|
|
54
|
-
{{/* Error messages */}}
|
|
55
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
56
|
-
{{ $errorRange := dict "shortcode" "q-contributor" "message" "This shortcode must include a value for `range`, and the supplied value for `range` may be “all”, “page”, or a specific contributor `type` such as “primary” ." "example" "{{< q-contributor range="all" format="bio" >}}" }}
|
|
57
|
-
|
|
58
|
-
{{ $errorFormat := dict "shortcode" "q-contributor" "message" "This shortcode must include a value for `format`, and the supplied value for `format` must be “initials”, “name”, “name-title”, “name-title-block”, or “bio”." "example" "{{< q-contributor range="all" format="bio" >}}" }}
|
|
59
|
-
|
|
60
|
-
{{ $errorUpdate := dict "shortcode" "q-contributor" "message" "THIS SHORTCODE HAS BEEN UPDATED. Rather than using `type` please specify a `format`. The values that can be supplied as a `format` remain the same as they were for `type`: “initials”, “name”, “name-title”, “name-title-block”, or “bio”." "example" "{{< q-contributor range="all" format="bio" >}}" }}
|
|
61
|
-
|
|
62
|
-
{{/* Image directory */}}
|
|
63
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
64
|
-
{{ if isset $.Site.Params "imagedir" }}
|
|
65
|
-
{{ $.Scratch.Set "imageDir" $.Site.Params.imageDir }}
|
|
66
|
-
{{ else }}
|
|
67
|
-
{{ $.Scratch.Set "imageDir" "" }}
|
|
68
|
-
{{ end }}
|
|
69
|
-
|
|
70
|
-
{{/* Clear previous usage */}}
|
|
71
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
72
|
-
{{ if ne ($.Page.Scratch.Get "contributorList") "" }}
|
|
73
|
-
{{ $.Page.Scratch.Delete "contributorlist" }}
|
|
74
|
-
{{ end }}
|
|
75
|
-
|
|
76
|
-
{{/* Contributor range variables */}}
|
|
77
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
78
|
-
{{ $listRange := $.Get "range" }}
|
|
79
|
-
|
|
80
|
-
{{ if eq ($.Get "range") "" }}
|
|
81
|
-
{{- partial "error-message.html" $errorRange -}}
|
|
82
|
-
{{ end }}
|
|
83
|
-
|
|
84
|
-
{{ $rangeAll := .Site.Pages }}
|
|
85
|
-
{{ $rangePage := (where .Site.Pages "File.UniqueID" .Page.File.UniqueID) }}
|
|
86
|
-
{{ $rangeType := (where .Site.Data.publication.contributor "type" $listRange) }}
|
|
87
|
-
|
|
88
|
-
{{- if eq $listRange "all" -}}
|
|
89
|
-
{{- $.Scratch.Add "range" $rangeAll -}}
|
|
90
|
-
{{- else if eq $listRange "page" -}}
|
|
91
|
-
{{- $.Scratch.Add "range" $rangePage -}}
|
|
92
|
-
{{- else -}}
|
|
93
|
-
{{- $.Scratch.Add "range" $rangeType -}}
|
|
94
|
-
{{- end -}}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
{{/* Contributor info */}}
|
|
98
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
99
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
100
|
-
|
|
101
|
-
{{/* Assign single page of contributors */}}
|
|
102
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
103
|
-
{{- if eq $listRange "page" -}}
|
|
104
|
-
{{- $.Scratch.Add "pageRange" (where .Site.Pages "File.UniqueID" .Page.File.UniqueID) -}}
|
|
105
|
-
|
|
106
|
-
{{/* Assign all pages of contributors */}}
|
|
107
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
108
|
-
{{- else -}}
|
|
109
|
-
{{- $.Scratch.Add "pageRange" .Site.Pages -}}
|
|
110
|
-
|
|
111
|
-
{{/* Also get all contributors listed in publication.yml */}}
|
|
112
|
-
{{/* -------------------------------------------------------------------- */}}
|
|
113
|
-
{{- range .Site.Data.publication.contributor -}}
|
|
114
|
-
{{ if eq ($.Get "range") "all" }}
|
|
115
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . ) }}
|
|
116
|
-
{{- else -}}
|
|
117
|
-
{{ if eq .type ($.Get "range") }}
|
|
118
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . ) }}
|
|
119
|
-
{{- end -}}
|
|
120
|
-
{{- end -}}
|
|
121
|
-
{{- end -}}
|
|
122
|
-
|
|
123
|
-
{{- end -}}
|
|
124
|
-
|
|
125
|
-
{{/* Range through assigned pages */}}
|
|
126
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
127
|
-
{{- range ($.Scratch.Get "pageRange") -}}
|
|
128
|
-
|
|
129
|
-
{{- range $index, $element := .Params.contributor -}}
|
|
130
|
-
|
|
131
|
-
{{/* Page contributors listed in page YAML with an ID */}}
|
|
132
|
-
{{/* ------------------------------------------------------------------ */}}
|
|
133
|
-
{{ if .id }}
|
|
134
|
-
{{ range where $.Site.Data.publication.contributor "id" .id }}
|
|
135
|
-
{{/* Get all contributors on the page */}}
|
|
136
|
-
{{/* -------------------------------------------------------------- */}}
|
|
137
|
-
{{ if eq ($.Get "range") "page" }}
|
|
138
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . "index" (string $index)) }}
|
|
139
|
-
{{ else if eq ($.Get "range") "all" }}
|
|
140
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . ) }}
|
|
141
|
-
{{- else -}}
|
|
142
|
-
{{/* Or, match contributors of desired type */}}
|
|
143
|
-
{{/* ------------------------------------------------------------ */}}
|
|
144
|
-
{{ if eq .type ($.Get "range") }}
|
|
145
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . ) }}
|
|
146
|
-
{{- end -}}
|
|
147
|
-
{{- end -}}
|
|
148
|
-
{{- end -}}
|
|
149
|
-
|
|
150
|
-
{{/* Page contributors listed in page YAML */}}
|
|
151
|
-
{{/* ------------------------------------------------------------------ */}}
|
|
152
|
-
{{- else -}}
|
|
153
|
-
{{/* Get all contributors on the page */}}
|
|
154
|
-
{{/* ---------------------------------------------------------------- */}}
|
|
155
|
-
{{ if eq ($.Get "range") "page" }}
|
|
156
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . "index" (string $index)) }}
|
|
157
|
-
{{ else if eq ($.Get "range") "all" }}
|
|
158
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . ) }}
|
|
159
|
-
{{- else -}}
|
|
160
|
-
{{/* Or, match contributors of desired type */}}
|
|
161
|
-
{{/* -------------------------------------------------------------- */}}
|
|
162
|
-
{{ if eq .type ($.Get "range") }}
|
|
163
|
-
{{ partial "contributor-info.html" (dict "Page" $.Page "contributor" . ) }}
|
|
164
|
-
{{- end -}}
|
|
165
|
-
{{- end -}}
|
|
166
|
-
{{- end -}}
|
|
167
|
-
|
|
168
|
-
{{- end -}}
|
|
169
|
-
|
|
170
|
-
{{- end -}}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
{{/* List variables */}}
|
|
174
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
175
|
-
{{ $listFormat := $.Get "format" }}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
{{/* List layout: Bio */}}
|
|
180
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
181
|
-
{{- if eq $listFormat "bio" -}}
|
|
182
|
-
<ul class="quire-contributors-list {{ $listFormat }}">
|
|
183
|
-
{{- range ($.Page.Scratch.GetSortedMapValues "contributorlist") -}}
|
|
184
|
-
{{- $nameid := anchorize (index . 0) -}}
|
|
185
|
-
|
|
186
|
-
<li class="quire-contributor" id="{{ $nameid }}">
|
|
187
|
-
<div class="title is-5"><span class="quire-contributor__name">{{ (index . 0) }}</span>
|
|
188
|
-
{{ if ne (index . 4) "n/a" }}
|
|
189
|
-
<a href="{{ index . 4 | relURL }}" class="quire-contributor__url" target="_blank">
|
|
190
|
-
{{- partial "icon.html" (dict "type" "link" "description" "") -}}</a>
|
|
191
|
-
{{- end -}}
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<div class="media">
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
<div class="quire-contributor__details media-content">
|
|
198
|
-
|
|
199
|
-
{{- if ne (index . 5) "n/a" -}}
|
|
200
|
-
<div class="media-left">
|
|
201
|
-
<img class="image quire-contributor__pic"
|
|
202
|
-
src='{{ with index . 5 }}{{ printf "%s/%s" ($.Scratch.Get "imageDir") . | relURL }}{{ end }}'
|
|
203
|
-
alt="Picture of {{ index . 0 }}"/>
|
|
204
|
-
</div>
|
|
205
|
-
{{- end -}}
|
|
206
|
-
<div class="quire-contributor__bio">
|
|
207
|
-
{{ if ne (index . 3) "n/a" }}{{ markdownify (index . 3) }}{{ end }}
|
|
208
|
-
</div>
|
|
209
|
-
|
|
210
|
-
{{ if ne $listRange "page" }}
|
|
211
|
-
|
|
212
|
-
{{ range $.Site.Pages }}
|
|
213
|
-
{{- $pagelabel := .Params.label -}}
|
|
214
|
-
{{- $labeldivider := $.Site.Params.pageLabelDivider -}}
|
|
215
|
-
{{- $pagetitle := .Params.title -}}
|
|
216
|
-
{{- $pagesubtitle := .Params.subtitle -}}
|
|
217
|
-
{{- $pagelink := .Permalink -}}
|
|
218
|
-
|
|
219
|
-
{{ range .Params.contributor }}
|
|
220
|
-
{{- if .id -}}
|
|
221
|
-
{{ range where $.Site.Data.publication.contributor "id" .id }}
|
|
222
|
-
{{ template "contribution" (dict "page" $.Page "person" . "nameId" $nameid "pageLabel" $pagelabel "labelDivider" $labeldivider "pageTitle" $pagetitle "pageSubtitle" $pagesubtitle "pageLink" $pagelink) }}
|
|
223
|
-
{{- end -}}
|
|
224
|
-
{{- else -}}
|
|
225
|
-
{{ template "contribution" (dict "page" $.Page "person" . "nameId" $nameid "pageLabel" $pagelabel "labelDivider" $labeldivider "pageTitle" $pagetitle "pageSubtitle" $pagesubtitle "pageLink" $pagelink) }}
|
|
226
|
-
{{- end -}}
|
|
227
|
-
{{- end -}}
|
|
228
|
-
|
|
229
|
-
{{- end -}}
|
|
230
|
-
|
|
231
|
-
{{- end -}}
|
|
232
|
-
</div>
|
|
233
|
-
</div>
|
|
234
|
-
</li>
|
|
235
|
-
{{- end -}}
|
|
236
|
-
</ul>
|
|
237
|
-
|
|
238
|
-
{{/* List layout: Name, name-title */}}
|
|
239
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
240
|
-
{{- else if or (or (eq $listFormat "name") (eq $listFormat "name-title")) (eq $listFormat "name-title-block") -}}
|
|
241
|
-
<ul class="quire-contributors-list {{ $listFormat }} {{ with ($.Get "align") }}align-{{ . }}{{ end }}">
|
|
242
|
-
{{- range ($.Page.Scratch.GetSortedMapValues "contributorlist") -}}
|
|
243
|
-
{{- $nameid := anchorize (index . 0) -}}
|
|
244
|
-
<li class="quire-contributor" id="{{ $nameid }}">
|
|
245
|
-
<span class="quire-contributor__name">{{ index . 0 }}</span>
|
|
246
|
-
{{- if or (eq ($.Get "format") "name-title") (eq ($.Get "format") "name-title-block") -}}
|
|
247
|
-
|
|
248
|
-
{{- if ne ($.Get "format") "name-title-block" -}}
|
|
249
|
-
{{- if or (ne (index . 1) "n/a") (ne (index . 2) "n/a") }}, {{ end -}}
|
|
250
|
-
{{- end -}}
|
|
251
|
-
|
|
252
|
-
{{- if ne (index . 1) "n/a" -}}
|
|
253
|
-
<span class="quire-contributor__title">{{ index . 1 }}</span>
|
|
254
|
-
{{- end -}}
|
|
255
|
-
|
|
256
|
-
{{- if ne ($.Get "format") "name-title-block" -}}
|
|
257
|
-
{{- if and (ne (index . 1) "n/a") (ne (index . 2) "n/a") }}, {{ end -}}
|
|
258
|
-
{{- end -}}
|
|
259
|
-
|
|
260
|
-
{{- if ne (index . 2) "n/a" -}}
|
|
261
|
-
<span class="quire-contributor__affiliation">{{ index . 2 }}</span>
|
|
262
|
-
{{- end -}}
|
|
263
|
-
{{- end -}}
|
|
264
|
-
</li>
|
|
265
|
-
{{- end -}}
|
|
266
|
-
</ul>
|
|
267
|
-
|
|
268
|
-
{{/* List layout: Initials */}}
|
|
269
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
270
|
-
{{- else if eq $listFormat "initials" -}}
|
|
271
|
-
<ul class="quire-contributors-list {{ $listFormat }} {{ with ($.Get "align") }}align-{{ . }}{{ end }}">
|
|
272
|
-
{{- if ($.Page.Scratch.GetSortedMapValues "contributorlist") -}}
|
|
273
|
-
{{- $len := len ($.Page.Scratch.GetSortedMapValues "contributorlist") -}}
|
|
274
|
-
{{- if gt $len 0 -}}
|
|
275
|
-
|
|
276
|
-
{{- $len := len ($.Page.Scratch.GetSortedMapValues "contributorlist") -}}
|
|
277
|
-
{{- range $index, $element := ($.Page.Scratch.GetSortedMapValues "contributorlist") -}}
|
|
278
|
-
{{- $initials := findRE "[[:upper:]]" (index . 0) -}}
|
|
279
|
-
{{- if eq $len 1 -}}
|
|
280
|
-
<li class="quire-contributor__name">{{ range $initials }}{{ . }}.{{ end }}</li>
|
|
281
|
-
{{- else if eq (add $index 1) $len -}}
|
|
282
|
-
<li class="quire-contributor__name"> and {{ range $initials }}{{ . }}.{{ end }}</li>
|
|
283
|
-
{{- else -}}
|
|
284
|
-
{{- if eq $len 2 -}}
|
|
285
|
-
<li class="quire-contributor__name">{{ range $initials }}{{ . }}.{{ end }} </li>
|
|
286
|
-
{{- else -}}
|
|
287
|
-
<li class="quire-contributor__name">{{ range $initials }}{{ . }}.{{ end }}, </li>
|
|
288
|
-
{{- end -}}
|
|
289
|
-
{{- end -}}
|
|
290
|
-
{{- end -}}
|
|
291
|
-
|
|
292
|
-
{{- end -}}
|
|
293
|
-
{{- end -}}
|
|
294
|
-
</ul>
|
|
295
|
-
{{- else if and (eq $listFormat "") (ne ($.Get "type") "") }}
|
|
296
|
-
|
|
297
|
-
{{- partial "error-message.html" $errorUpdate -}}
|
|
298
|
-
|
|
299
|
-
{{- else -}}
|
|
300
|
-
|
|
301
|
-
{{- partial "error-message.html" $errorFormat -}}
|
|
302
|
-
|
|
303
|
-
{{- end -}}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
{{ define "contribution" }}
|
|
307
|
-
|
|
308
|
-
{{- if .person.full_name }}
|
|
309
|
-
{{ $name := .person.full_name }}
|
|
310
|
-
{{ .page.Scratch.Set "name" $name }}
|
|
311
|
-
{{ else if and .person.first_name .person.last_name }}
|
|
312
|
-
{{ $name := add (add .person.first_name " ") .person.last_name }}
|
|
313
|
-
{{ .page.Scratch.Set "name" $name }}
|
|
314
|
-
{{- end -}}
|
|
315
|
-
{{- $checkid := anchorize (.page.Scratch.Get "name") -}}
|
|
316
|
-
{{ if eq $checkid .nameId }}
|
|
317
|
-
<p class="quire-contributor__page-link">
|
|
318
|
-
<a href="{{ .pageLink | relURL }}">
|
|
319
|
-
{{ $pagetitle := .pageTitle }}
|
|
320
|
-
{{ if .pageLabel }}{{ .pageLabel }}{{ .labelDivider }}{{ end }}
|
|
321
|
-
{{ markdownify $pagetitle }}{{ with .pageSubtitle }}{{- $endPunctuation := findRE "[!|?]$" $pagetitle -}}{{ if $endPunctuation }} {{ else }}: {{ end }}{{ markdownify . }}{{ end }}
|
|
322
|
-
</a>
|
|
323
|
-
</p>
|
|
324
|
-
{{- end -}}
|
|
325
|
-
{{ .page.Scratch.Delete "name" }}
|
|
326
|
-
|
|
327
|
-
{{ end }}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
|
|
3
|
-
The `q-contributors` shortcode has been deprecated in favor of `q-contributor`
|
|
4
|
-
|
|
5
|
-
*/}}
|
|
6
|
-
|
|
7
|
-
{{/* Error messages */}}
|
|
8
|
-
{{/* ---------------------------------------------------------------------- */}}
|
|
9
|
-
{{ $errorNewShortcode := dict "shortcode" "q-contributor" "message" "THIS SHORTCODE HAS BEEN UPDATED. Instead of `q-contributors` (plural), it is now called with `q-contributor` (singular)." "example" "{{< q-contributor range="all" format="bio" >}}" }}
|
|
10
|
-
|
|
11
|
-
{{- partial "error-message.html" $errorNewShortcode -}}
|