j1-template 2024.3.24 → 2024.3.25
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.
- checksums.yaml +4 -4
- data/assets/data/apps/amplitudehtml +1147 -0
- data/assets/data/apps/gallery.html +342 -0
- data/assets/data/{masonry.html → apps/masonry.html} +22 -9
- data/assets/data/apps/swiper.html +901 -0
- data/assets/data/masonry_app.html +521 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +21 -13
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +1 -2
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +14 -13
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +265 -226
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +1 -1
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +12 -2
- data/assets/theme/j1/modules/videojs/css/videojs.css +2 -3
- data/assets/theme/j1/modules/videojs/css/videojs.min.css +1 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.css +55 -55
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +2 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/js/zoom.js +590 -382
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/js/zoom.min.js +1 -1
- data/assets/theme/j1/modules/videojs/plugins/j1_core/template.min.js +31 -0
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/{simple.html → index.html} +11 -10
- data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.0.js +647 -0
- data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.1.js +653 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/{player → iframe_api}/index.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/{index.html → videojs_api/index.html} +7 -3
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/v2.21.0/vimeo.js +3562 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/v2.21.0/vimeo.min.js +36 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/vimeo.js +451 -1849
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/vimeo.min.js +2 -14
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/LICENSE +21 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/README.md +54 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/old/vimeo.js +666 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/old/vimeo.min.js +28 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.js +2318 -548
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +12 -18
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/{simple.html → index.html} +15 -6
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.js +12 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +1 -1
- data/lib/starter_web/_data/modules/authentication.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/masonry.yml +1 -1
- data/lib/starter_web/_data/modules/gallery.yml +35 -24
- data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
- data/lib/starter_web/_data/modules/masonry.yml +30 -14
- data/lib/starter_web/_data/modules/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +12 -8
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +206 -24
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/attic/1920x1280/admin-dashboard-bootstrap.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-shatov.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexey-ruban.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/andrea-badino.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bootstrap-modal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bp-miller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brad-neathery.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/build-with-gemini.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/clem-onojeghuo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/eleni-afiontzi.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/fly-d.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/ideas-start-here-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/isaac-davis.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-launch.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-mockup.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josep-martins.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/martin-sanchez.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/material_symbols.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/matthaeus.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/melanie-deziel.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/quino-al-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/towfiqu-barbhuiya.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +2 -2
- data/lib/starter_web/config.ru +1 -1
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/index.html +8 -8
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/features.adoc +5 -5
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +5 -5
- data/lib/starter_web/pages/public/about/site.adoc +14 -10
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/viewer_all_books.adoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -3
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +116 -43
- data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +1 -1
- data/lib/starter_web/pages/public/tour/video_data.adoc +28 -22
- metadata +25 -49
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-controls.html +0 -18
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-javascript.html +0 -28
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-playlist.html +0 -19
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/global-parameters.html +0 -30
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/switch.html +0 -39
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/global-parameters.html +0 -34
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/switch.html +0 -39
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-controls.html +0 -20
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-javascript.html +0 -29
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-list.html +0 -21
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-playlist.html +0 -21
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-3.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-starter-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/admin-dashboard-bootstrap-1280x600.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/alice-donovan-rouse-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/building-blocks-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/christina-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/franck-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/joanna-kosinska-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/leon-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/library-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/markus-krisetya-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/markus-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/markus-spiske4-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/matthew-dockery-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/no-time-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/rirri-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/shubham-dhage-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/shutterstock_sponsor-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/szabo-viktor-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/tldr-1920x800.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/yellow-cactus-1920x1280.jpg +0 -0
- /data/assets/theme/j1/modules/videojs/plugins/players/vm/{LICENSE → js/old/LICENSE} +0 -0
- /data/assets/theme/j1/modules/videojs/plugins/players/vm/{README.md → js/old/README.md} +0 -0
@@ -0,0 +1,342 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
exclude_from_search: true
|
4
|
+
---
|
5
|
+
|
6
|
+
{%- capture cache -%}
|
7
|
+
|
8
|
+
{% comment %}
|
9
|
+
# -----------------------------------------------------------------------------
|
10
|
+
# ~/assets/data/gallery.html
|
11
|
+
# Liquid procedure to generate the HTML portion for all J1 Galleries Apps
|
12
|
+
# configured (Justified Gallery)
|
13
|
+
#
|
14
|
+
# Product/Info:
|
15
|
+
# https://jekyll.one
|
16
|
+
#
|
17
|
+
# Copyright (C) 2023-2025 Juergen Adams
|
18
|
+
#
|
19
|
+
# J1 Template is licensed under the MIT License.
|
20
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
# NOTE: Data loaded dynamically by J1 Gallery module (AJAX)
|
23
|
+
# -----------------------------------------------------------------------------
|
24
|
+
# Test data:
|
25
|
+
# {{variable | debug}}
|
26
|
+
# -----------------------------------------------------------------------------
|
27
|
+
{% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Liquid procedures
|
30
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
+
|
32
|
+
{% comment %} Liquid var initialization
|
33
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
+
|
35
|
+
{% comment %} Set config files
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
{% assign template_config = site.data.j1_config %}
|
38
|
+
{% assign modules = site.data.modules %}
|
39
|
+
|
40
|
+
{% comment %} Set config data
|
41
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
42
|
+
{% assign environment = site.environment %}
|
43
|
+
{% assign gallery_defaults = modules.defaults.gallery.defaults %}
|
44
|
+
{% assign gallery_settings = modules.gallery.settings %}
|
45
|
+
|
46
|
+
{% comment %} Set config options
|
47
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
+
{% assign gallery_options = gallery_defaults | merge: gallery_settings %}
|
49
|
+
{% assign galleries = gallery_options.galleries %}
|
50
|
+
|
51
|
+
{% comment %} Configure permalink settings
|
52
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
53
|
+
{% assign ext = '' %}
|
54
|
+
{% if site.permalink == 'none' %}
|
55
|
+
{% assign ext = '.html' %}
|
56
|
+
{% endif %}
|
57
|
+
|
58
|
+
{% comment %} Detect prod mode
|
59
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
60
|
+
{% assign production = false %}
|
61
|
+
{% if environment == 'prod' or environment == 'production' %}
|
62
|
+
{% assign production = true %}
|
63
|
+
{% endif %}
|
64
|
+
|
65
|
+
|
66
|
+
{% comment %} Main
|
67
|
+
================================================================================ {% endcomment %}
|
68
|
+
<!DOCTYPE {{site.doctype}}>
|
69
|
+
<html lang="{{site.language}}">
|
70
|
+
<head>
|
71
|
+
<!-- [INFO ] [~/assets/data/galleries.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
72
|
+
<meta name="robots" content="noindex, nofollow">
|
73
|
+
<meta name="gallery" content="module data file">
|
74
|
+
</head>
|
75
|
+
<body>
|
76
|
+
{% comment %} Collect Galleries
|
77
|
+
galleries {{galleries | debug}}
|
78
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
79
|
+
{% for gallery in galleries %} {% if gallery.enabled %}
|
80
|
+
|
81
|
+
{% comment %} Image Galleries
|
82
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
83
|
+
{% if gallery.type == 'image' %}
|
84
|
+
|
85
|
+
{% comment %} Collect CSS image filters
|
86
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
87
|
+
{% assign css_filters = gallery_options.filters | merge: gallery.filters %}
|
88
|
+
{% assign image_filters = 'filter:' %}
|
89
|
+
|
90
|
+
{% if css_filters.enabled %}
|
91
|
+
{% for filter in css_filters %}
|
92
|
+
{% if filter[0] contains 'enabled' %}
|
93
|
+
{% continue %}
|
94
|
+
{% endif %}
|
95
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
96
|
+
{% endfor %}
|
97
|
+
{% endif %}
|
98
|
+
|
99
|
+
<!-- START Image Galleries -->
|
100
|
+
<div id="{{gallery.id}}">
|
101
|
+
{% for image in gallery.images %}
|
102
|
+
{% assign caption = image.caption_text %}
|
103
|
+
{% assign description = image.description %}
|
104
|
+
|
105
|
+
{% if gallery.lightbox.enabled %}
|
106
|
+
{% if gallery.lightbox.type == 'lb' %}
|
107
|
+
<a
|
108
|
+
href="{{gallery.image_base_path}}/{{image.file}}"
|
109
|
+
data-lightbox="{{gallery.id}}-image-group"
|
110
|
+
data-caption="{{caption|strip|strip_newlines}}"
|
111
|
+
data-title="{{caption|strip|strip_newlines}}">
|
112
|
+
<img
|
113
|
+
id="{{gallery.id}}_{{forloop.index}}"
|
114
|
+
class="{{gallery.image_styles}}"
|
115
|
+
src="{{gallery.image_base_path}}/{{image.file}}"
|
116
|
+
alt="{{caption|strip|strip_newlines}}"
|
117
|
+
aria-label="{{caption|strip|strip_newlines}}"
|
118
|
+
style="{{image_filters}};">
|
119
|
+
</a>
|
120
|
+
{% elsif gallery.lightbox.type == 'lg' %}
|
121
|
+
<a
|
122
|
+
href="{{gallery.image_base_path}}/{{image.file}}"
|
123
|
+
class="lg-item"
|
124
|
+
data-sub-html="{{description|strip|strip_newlines}}">
|
125
|
+
<img
|
126
|
+
id="{{gallery.id}}_{{forloop.index}}"
|
127
|
+
class="{{gallery.image_styles}}"
|
128
|
+
src="{{gallery.image_base_path}}/{{image.file}}"
|
129
|
+
alt="{{caption|strip|strip_newlines}}"
|
130
|
+
aria-label="{{caption|strip|strip_newlines}}"
|
131
|
+
style="{{image_filters}};">
|
132
|
+
</a>
|
133
|
+
{% endif %}
|
134
|
+
{% endif %}
|
135
|
+
{% endfor %}
|
136
|
+
</div>
|
137
|
+
<!-- END Image Galleries -->
|
138
|
+
{% endif %}
|
139
|
+
|
140
|
+
{% comment %} VIDEO Galleries
|
141
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
142
|
+
{% if gallery.type == 'video' %}
|
143
|
+
{% assign play-button = '/assets/theme/j1/modules/lightGallery/css/themes/uno/icons/play-button.svg' %}
|
144
|
+
|
145
|
+
{% comment %} Collect CSS image filters
|
146
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
147
|
+
{% assign css_filters = gallery_options.filters | merge: gallery.filters %}
|
148
|
+
{% assign image_filters = 'filter:' %}
|
149
|
+
|
150
|
+
{% if css_filters.enabled %}
|
151
|
+
{% for filter in css_filters %}
|
152
|
+
{% if filter[0] contains 'enabled' %}
|
153
|
+
{% continue %}
|
154
|
+
{% endif %}
|
155
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
156
|
+
{% endfor %}
|
157
|
+
{% endif %}
|
158
|
+
|
159
|
+
<!-- START Video Galleries -->
|
160
|
+
<div id="{{gallery.id}}" class="gallery justified-gallery">
|
161
|
+
{% for video in gallery.videos %}
|
162
|
+
|
163
|
+
{% if video.type == 'vimeo' or video.type == 'tiktoc' or video.type == 'wistia' or video.type == 'dailymotion' %}
|
164
|
+
{% assign description = video.description %}
|
165
|
+
{% assign alt = video.caption_text %}
|
166
|
+
|
167
|
+
<!-- START video type: {{video.type}} -->
|
168
|
+
<a
|
169
|
+
href="#"
|
170
|
+
class="lg-item lg-uno-video-icon speak2me-ignore"
|
171
|
+
data-lg-size="{{video.size}}"
|
172
|
+
data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
|
173
|
+
data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
|
174
|
+
data-src="{{video.source}}"
|
175
|
+
data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
|
176
|
+
data-sub-html="{{description|strip|strip_newlines}}">
|
177
|
+
|
178
|
+
<img
|
179
|
+
class="{{gallery.image_styles}}"
|
180
|
+
src="{{gallery.image_base_path}}/{{video.poster_image}}"
|
181
|
+
alt="{{alt|strip|strip_newlines}}"
|
182
|
+
aria-label="{{alt|strip|strip_newlines}}">
|
183
|
+
|
184
|
+
<span class="big-play-button"></span>
|
185
|
+
|
186
|
+
</a>
|
187
|
+
<!-- END video type: {{video.type}} -->
|
188
|
+
|
189
|
+
{% elsif video.type == 'html5' %}
|
190
|
+
{% assign description = video.description %}
|
191
|
+
{% assign alt = video.caption_text %}
|
192
|
+
{% assign video_split = video.source | split: '.' %}
|
193
|
+
{% assign extention = video_split[1] %}
|
194
|
+
<!-- START video type: {{video.type}} -->
|
195
|
+
<a
|
196
|
+
href="#"
|
197
|
+
class="lg-item lg-uno-video-icon speak2me-ignore"
|
198
|
+
data-lg-size="{{video.size}}"
|
199
|
+
data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
|
200
|
+
data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
|
201
|
+
data-src="{{video.source}}"
|
202
|
+
data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
|
203
|
+
data-sub-html="{{description|strip|strip_newlines}}"
|
204
|
+
data-video='{
|
205
|
+
"source": [{
|
206
|
+
"type": "video/{{extention}}",
|
207
|
+
"src": "{{gallery.video_base_path}}/{{video.source}}"
|
208
|
+
}],
|
209
|
+
"tracks": [
|
210
|
+
{% for track in video.tracks %}
|
211
|
+
{
|
212
|
+
{% for attribute in track %}
|
213
|
+
{% if attribute[0] == 'track' %} {% continue %} {% endif %}
|
214
|
+
{{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
|
215
|
+
{% endfor %}
|
216
|
+
}{% if forloop.last %}{% else %},{% endif %}
|
217
|
+
{% endfor %}
|
218
|
+
]
|
219
|
+
}'>
|
220
|
+
|
221
|
+
<img
|
222
|
+
class="{{gallery.image_styles}}"
|
223
|
+
src="{{gallery.image_base_path}}/{{video.poster_image}}"
|
224
|
+
alt="{{alt|strip|strip_newlines}}"
|
225
|
+
aria-label="{{alt|strip|strip_newlines}}">
|
226
|
+
|
227
|
+
<span class="big-play-button"></span>
|
228
|
+
|
229
|
+
</a>
|
230
|
+
<!-- END video type: {{video.type}} -->
|
231
|
+
|
232
|
+
{% elsif video.type == 'youtube' %}
|
233
|
+
{% assign description = video.description %}
|
234
|
+
{% assign alt = video.caption_text %}
|
235
|
+
{% if video.api == 'videojs' %}
|
236
|
+
<!-- START video api: {{video.api}} -->
|
237
|
+
<a
|
238
|
+
href="#"
|
239
|
+
class="lg-item lg-uno-video-icon speak2me-ignore"
|
240
|
+
data-lg-size="{{video.size}}"
|
241
|
+
data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
|
242
|
+
data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
|
243
|
+
data-src="{{video.source}}"
|
244
|
+
data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
|
245
|
+
data-sub-html="{{description|strip|strip_newlines}}"
|
246
|
+
data-video='{
|
247
|
+
"source": [{
|
248
|
+
"type": "video/youtube",
|
249
|
+
"src": "{{gallery.video_base_path}}/{{video.source}}"
|
250
|
+
}],
|
251
|
+
"tracks": [
|
252
|
+
{% for track in video.tracks %}
|
253
|
+
{
|
254
|
+
{% for attribute in track %}
|
255
|
+
{% if attribute[0] == 'track' %} {% continue %} {% endif %}
|
256
|
+
{{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
|
257
|
+
{% endfor %}
|
258
|
+
}{% if forloop.last %}{% else %},{% endif %}
|
259
|
+
{% endfor %}
|
260
|
+
]
|
261
|
+
}'>
|
262
|
+
|
263
|
+
<img
|
264
|
+
class="{{gallery.image_styles}}"
|
265
|
+
src="{{gallery.image_base_path}}/{{video.poster_image}}"
|
266
|
+
alt="{{alt|strip|strip_newlines}}"
|
267
|
+
aria-label="{{alt|strip|strip_newlines}}">
|
268
|
+
|
269
|
+
<span class="big-play-button"></span>
|
270
|
+
|
271
|
+
</a>
|
272
|
+
<!-- END video api: {{video.api}} -->
|
273
|
+
{% elsif video.api == 'iframe' %}
|
274
|
+
<!-- START video api: {{video.api}} -->
|
275
|
+
<a
|
276
|
+
href="#"
|
277
|
+
class="lg-item lg-uno-video-icon speak2me-ignore"
|
278
|
+
data-lg-size="{{video.size}}"
|
279
|
+
data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
|
280
|
+
data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
|
281
|
+
data-src="{{video.source}}"
|
282
|
+
data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
|
283
|
+
data-sub-html="{{description|strip|strip_newlines}}">
|
284
|
+
|
285
|
+
<img
|
286
|
+
class="{{gallery.image_styles}}"
|
287
|
+
src="{{gallery.image_base_path}}/{{video.poster_image}}"
|
288
|
+
alt="{{alt|strip|strip_newlines}}"
|
289
|
+
aria-label="{{alt|strip|strip_newlines}}">
|
290
|
+
|
291
|
+
<span class="big-play-button"></span>
|
292
|
+
|
293
|
+
</a>
|
294
|
+
<!-- END video api: {{video.api}} -->
|
295
|
+
{% else %}
|
296
|
+
<!-- START video api: {{video.api}} (fallback) -->
|
297
|
+
<a
|
298
|
+
href="#"
|
299
|
+
class="lg-item lg-uno-video-icon speak2me-ignore"
|
300
|
+
data-lg-size="{{video.size}}"
|
301
|
+
data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
|
302
|
+
data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
|
303
|
+
data-src="{{video.source}}"
|
304
|
+
data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
|
305
|
+
data-sub-html="{{description|strip|strip_newlines}}">
|
306
|
+
|
307
|
+
<img
|
308
|
+
class="{{gallery.image_styles}}"
|
309
|
+
src="{{gallery.image_base_path}}/{{video.poster_image}}"
|
310
|
+
alt="{{alt|strip|strip_newlines}}"
|
311
|
+
aria-label="{{alt|strip|strip_newlines}}">
|
312
|
+
|
313
|
+
<span class="big-play-button"></span>
|
314
|
+
|
315
|
+
</a>
|
316
|
+
<!-- END video api: {{video.api}} (fallback) -->
|
317
|
+
{% endif %}
|
318
|
+
<!-- END video type: {{video.type}} -->
|
319
|
+
|
320
|
+
{% endif %} {% endfor %}
|
321
|
+
</div>
|
322
|
+
<!-- END Video Galleries -->
|
323
|
+
|
324
|
+
{% endif %}
|
325
|
+
|
326
|
+
{% endif %} {% endfor %}
|
327
|
+
<!-- [INFO ] [~/assets/data/galleries.html ] [end collecting all grid items] -->
|
328
|
+
</body>
|
329
|
+
</html>
|
330
|
+
{%- endcapture -%}
|
331
|
+
|
332
|
+
{% comment %} Beautify|Compress page
|
333
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
334
|
+
{%- if production -%}
|
335
|
+
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _END %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _END %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
336
|
+
{%- else -%}
|
337
|
+
{{ cache | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
338
|
+
{%- endif -%}
|
339
|
+
|
340
|
+
{% comment %} Reset page cache
|
341
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
342
|
+
{%- assign cache = false -%}
|
@@ -456,6 +456,7 @@ exclude_from_search: true
|
|
456
456
|
data-lg-size="{{video.size}}"
|
457
457
|
data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
|
458
458
|
data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
|
459
|
+
data-src="{{video.source}}"
|
459
460
|
data-poster="{{grid.html5.poster_base_path}}/{{video.poster.source}}"
|
460
461
|
data-sub-html="{{video.description|strip|strip_newlines}}"
|
461
462
|
data-video='{
|
@@ -467,17 +468,29 @@ exclude_from_search: true
|
|
467
468
|
{% for attribute in grid.lightGallery.attributes %}
|
468
469
|
{{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
|
469
470
|
{% endfor %}
|
470
|
-
}
|
471
|
+
},
|
472
|
+
"tracks": [
|
473
|
+
{% for track in video.tracks %}
|
474
|
+
{
|
475
|
+
{% for attribute in track %}
|
476
|
+
{% if attribute[0] == 'track' %} {% continue %} {% endif %}
|
477
|
+
{{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
|
478
|
+
{% endfor %}
|
479
|
+
}{% if forloop.last %}{% else %},{% endif %}
|
480
|
+
{% endfor %}
|
481
|
+
]
|
471
482
|
}'>
|
472
|
-
<div class="lg-uno-video-icon">
|
473
|
-
<img
|
474
|
-
id="{{video.name | replace: ' ','_' | replace: '-','_' | downcase}}"
|
475
|
-
class="{{video.poster.style}}"
|
476
|
-
src="{{grid.html5.poster_base_path}}/{{video.poster.source}}"
|
477
|
-
aria-label="{{video.name}}">
|
478
483
|
|
479
|
-
|
480
|
-
|
484
|
+
<div class="lg-uno-video-icon">
|
485
|
+
<img
|
486
|
+
id="{{video.name | replace: ' ','_' | replace: '-','_' | downcase}}"
|
487
|
+
class="{{video.poster.style}}"
|
488
|
+
src="{{grid.html5.poster_base_path}}/{{video.poster.source}}"
|
489
|
+
aria-label="{{video.name}}">
|
490
|
+
|
491
|
+
<span class="big-play-button"></span>
|
492
|
+
</div>
|
493
|
+
|
481
494
|
</a>
|
482
495
|
<!-- END {{video.type}} video -->
|
483
496
|
<div class="caption">{{video.caption.text}}</div>
|