From b1a0dc31db48471ea71cf858b2ad0f7d2091f1ca Mon Sep 17 00:00:00 2001 From: zzossig Date: Sun, 1 Dec 2019 20:58:24 +0900 Subject: [PATCH] Code clean up, Prepare for reveal.js --- README.md | 3 +- .../{css => lib}/photoswipe/custom-skin.css | 1170 ++++++++--------- .../photoswipe}/photoswipe-ui-default.min.js | 6 +- assets/{css => lib}/photoswipe/photoswipe.css | 406 +++--- .../{js => lib/photoswipe}/photoswipe.min.js | 6 +- assets/{css => lib}/reveal/reveal.css | 0 assets/{js => lib/reveal}/reveal.js | 0 data/lib.toml | 18 + exampleSite/config/_default/config.toml | 9 +- exampleSite/config/_default/languages.toml | 2 +- exampleSite/config/_default/params.toml | 3 +- layouts/partials/comments/commento.html | 2 +- layouts/partials/comments/isso.html | 2 +- layouts/partials/head/service.html | 4 +- layouts/partials/header/header-slide.html | 4 +- .../partials/marketing/google_analytics.html | 6 - .../marketing/google_tag_manager.html | 9 - layouts/partials/script/gallery-script.html | 8 +- layouts/partials/script/pt-script.html | 28 +- layouts/partials/script/single-script.html | 38 +- layouts/partials/search/site-search.html | 6 +- layouts/pt/list.html | 33 - layouts/pt/single.html | 15 + 23 files changed, 873 insertions(+), 905 deletions(-) rename assets/{css => lib}/photoswipe/custom-skin.css (95%) rename assets/{js => lib/photoswipe}/photoswipe-ui-default.min.js (99%) rename assets/{css => lib}/photoswipe/photoswipe.css (95%) rename assets/{js => lib/photoswipe}/photoswipe.min.js (99%) rename assets/{css => lib}/reveal/reveal.css (100%) rename assets/{js => lib/reveal}/reveal.js (100%) delete mode 100644 layouts/partials/marketing/google_analytics.html delete mode 100644 layouts/partials/marketing/google_tag_manager.html delete mode 100644 layouts/pt/list.html diff --git a/README.md b/README.md index 18a160b..6a94686 100644 --- a/README.md +++ b/README.md @@ -297,8 +297,7 @@ commento = false dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'" [marketing] - google_analytics = "" - google_tag_manager = "" + googleAnalytics = "" [socialOptions] # if set, social icons will show up. email = "mailto:your@email.com" diff --git a/assets/css/photoswipe/custom-skin.css b/assets/lib/photoswipe/custom-skin.css similarity index 95% rename from assets/css/photoswipe/custom-skin.css rename to assets/lib/photoswipe/custom-skin.css index 45c131f..84bd678 100644 --- a/assets/css/photoswipe/custom-skin.css +++ b/assets/lib/photoswipe/custom-skin.css @@ -1,586 +1,586 @@ -/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */ -/* - Contents: - 1. Buttons - 2. Share modal and links - 3. Index indicator ("1 of X" counter) - 4. Caption - 5. Loading indicator - 6. Additional styles (root element, top bar, idle state, hidden state, etc.) -*/ -/* - - 1. Buttons - */ -/*