j1-template 2024.3.15 → 2024.3.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/data/amplitude.html +139 -68
- data/assets/data/banner.html +1 -1
- data/assets/data/cookieconsent.html +1 -1
- data/assets/data/docsearch.html +1 -1
- data/assets/data/fab.html +1 -1
- data/assets/data/footer.html +1 -1
- data/assets/data/galeries.html +1 -1
- data/assets/data/gallery_customizer.html +1 -1
- data/assets/data/gemini-ui.html +1 -1
- data/assets/data/iframes.html +1 -1
- data/assets/data/masonry.html +1 -1
- data/assets/data/masterslider.html +1 -1
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu.html +1 -1
- data/assets/data/mmenu_sidebar.html +1 -1
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/panel.html +5 -4
- data/assets/data/quicklinks.html +1 -1
- data/assets/data/rtext_resizer.html +1 -1
- data/assets/data/slick.html +1 -1
- data/assets/data/speak2me.html +1 -1
- data/assets/data/swiper.html +313 -0
- data/assets/theme/j1/adapter/js/amplitude.30.js +1177 -0
- data/assets/theme/j1/adapter/js/amplitude.js +241 -191
- data/assets/theme/j1/adapter/js/j1.js +3 -3
- data/assets/theme/j1/adapter/js/masonry.js +2 -2
- data/assets/theme/j1/adapter/js/masterslider.js +2 -1
- data/assets/theme/j1/adapter/js/swiper.js +231 -0
- data/assets/theme/j1/adapter/js/videojs.js +212 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +7 -4
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -1
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -1
- data/assets/theme/j1/core/js/template.js +4 -0
- data/assets/theme/j1/core/js/template.min.js +2 -2
- data/assets/theme/j1/core/js/template.min.js.map +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +94 -4
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +3 -2
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +72 -10
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +2 -1
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/artist.svg +78 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/mute.svg +52 -20
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/next.svg +20 -39
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg +24 -38
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-music.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist.svg +85 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/previous.svg +18 -37
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +33 -30
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +33 -29
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/next.svg +55 -14
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/previous.svg +56 -14
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg +38 -21
- data/assets/theme/j1/modules/amplitudejs/js/amplitude.map +20 -20
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.15.js +1594 -0
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +1617 -89
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/bar.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/circular-equalizer.js +31 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/frequency-analyzer.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/michael-bromley.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/template.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +206 -122
- data/assets/theme/j1/modules/photoswipe/.version_5.4.4 +6 -0
- data/assets/theme/j1/modules/photoswipe/LICENSE +21 -0
- data/assets/theme/j1/modules/photoswipe/README.md +32 -0
- data/assets/theme/j1/modules/photoswipe/css/org/photoswipe-dynamic-caption-plugin.umd.min.js +5 -0
- data/assets/theme/j1/modules/photoswipe/css/org/photoswipe.css +420 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.css +67 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.min.css +16 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe.css +376 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe.min.css +17 -0
- data/assets/theme/j1/modules/photoswipe/css/scss/photoswipe.scss +427 -0
- data/assets/theme/j1/modules/photoswipe/example/photoswipe-caption-plugin.html +237 -0
- data/assets/theme/j1/modules/photoswipe/example/test-gallery.html +36 -0
- data/assets/theme/j1/modules/photoswipe/js/README.md +43 -0
- data/assets/theme/j1/modules/photoswipe/js/photoswipe-caption-plugin.min.js +5 -0
- data/assets/theme/j1/modules/photoswipe/js/photoswipe-core.min.js +18 -0
- data/assets/theme/j1/modules/photoswipe/js/photoswipe-lightbox.min.js +18 -0
- data/assets/theme/j1/modules/swiper/.version_1.2.0 +15 -0
- data/assets/theme/j1/modules/swiper/LICENSE +20 -0
- data/assets/theme/j1/modules/swiper/README.md +95 -0
- data/assets/theme/j1/modules/swiper/css/swiper-bundle.css +740 -0
- data/assets/theme/j1/modules/swiper/css/swiper-bundle.min..css +17 -0
- data/assets/theme/j1/modules/swiper/css/theme/uno.css +249 -0
- data/assets/theme/j1/modules/swiper/css/theme/uno.min.css +154 -0
- data/assets/theme/j1/modules/swiper/js/swiper-bundle.js +9785 -0
- data/assets/theme/j1/modules/swiper/js/swiper-bundle.min.js +17 -0
- data/assets/theme/j1/modules/swiper/swiperjs.com-demos.url +2 -0
- data/assets/theme/j1/modules/videojs/assets/icons/custom-icons/next.svg +82 -0
- data/assets/theme/j1/modules/videojs/css/font/README.md +151 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.svg +150 -0
- data/assets/theme/j1/modules/videojs/css/font/video-js-cdn.css +2012 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +32 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +31 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.css +31 -0
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.min.css +21 -0
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +14 -3
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +1 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/LICENSE +13 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/README.md +75 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.js +149 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.min.js +21 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/README.md +76 -30
- data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.js +64 -53
- data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.min.js +1 -1
- data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/README.md +133 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.js +137 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.min.js +21 -0
- data/assets/theme/j1/modules/videojs/js/plugins/controls/zoom/zoom.js +15 -12
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.js +43 -16
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/rubyeventmachine.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/rubyeventmachine.so +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/config.rb +0 -4
- data/lib/starter_web/Gemfile +45 -22
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +4 -6
- data/lib/starter_web/_data/modules/amplitude.yml +308 -363
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +60 -35
- data/lib/starter_web/_data/modules/defaults/gallery.yml +42 -0
- data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/swiper.yml +515 -0
- data/lib/starter_web/_data/modules/defaults/videojs.yml +107 -0
- data/lib/starter_web/_data/modules/gallery.yml +30 -14
- data/lib/starter_web/_data/modules/masonry.yml +15 -0
- data/lib/starter_web/_data/modules/swiper.yml +227 -0
- data/lib/starter_web/_data/modules/videojs.yml +57 -0
- data/lib/starter_web/_data/resources.yml +50 -16
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -0
- data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -0
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +4 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +141 -24
- data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +4 -1
- data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +313 -0
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +192 -17
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/der_unverzichtbare_feind.jpg +0 -0
- data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/ein_diener_vieler_herren.jpg +0 -0
- data/lib/starter_web/assets/video/poster/youtube/the_piano/the-piano.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/_includes/attributes.asciidoc +45 -0
- data/lib/starter_web/pages/public/_includes/documents/photoswipe/200_photoswipe_parameters.asciidoc +510 -0
- data/lib/starter_web/pages/public/_includes/documents/photoswipe/210_photoswipe_lightbox_parameters.asciidoc +98 -0
- data/lib/starter_web/pages/public/_includes/documents/photoswipe/300_caption_plugin_for_photoSwipe.asciidoc +327 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_features.asciidoc +50 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_html_layout.asciidoc +122 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_initialization.asciidoc +53 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/110_swiper_common_options.asciidoc +43 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_a_k.asciidoc +994 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_l_o.asciidoc +473 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_p_s.asciidoc +700 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_t_z.asciidoc +413 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/300_swiper_instance_properties.asciidoc +873 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/400_swiper_modules.asciidoc +2514 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/500_swiper_methods.asciidoc +989 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/600_swiper_events.asciidoc +1534 -0
- data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +89 -62
- data/lib/starter_web/pages/public/manuals/integrations/amplitudejs/amplitudejs-api.adoc +1 -1
- data/lib/starter_web/pages/public/manuals/integrations/videojs/youtube-api.adoc +1638 -0
- data/lib/starter_web/pages/public/photoswipe_api.adoc +150 -0
- data/lib/starter_web/pages/public/swiper_api.adoc +128 -0
- data/lib/starter_web/pages/public/swiper_tester.adoc +973 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -6
- data/lib/starter_web/pages/public/tools/previewer/preview_videojs.adoc +203 -0
- data/lib/starter_web/pages/{tour → public/tour}/modal_extentions.adoc +12 -5
- data/lib/starter_web/pages/{tour → public/tour}/play_audio.adoc +63 -15
- data/lib/starter_web/pages/{tour → public/tour}/play_video.adoc +79 -40
- data/lib/starter_web/pages/{tour → public/tour}/present_images.adoc +5 -5
- metadata +114 -41
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_pause.svg +0 -19
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_play.svg +0 -18
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/show-playlist.svg +0 -15
- data/assets/theme/j1/modules/jqueryScrollbar/LICENSE +0 -20
- data/assets/theme/j1/modules/jqueryScrollbar/README.md +0 -28
- data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.css +0 -939
- data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.min.css +0 -20
- data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.js +0 -851
- data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.min.js +0 -36
- data/assets/theme/j1/modules/jqueryScrollbar/sass/scrollbar.scss +0 -806
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +0 -794
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/attributes.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/100_gistblock.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_left_warning.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_right_danger.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_central_success.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_full_height_left_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_full_height_right_success.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_left_info.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_right_success.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/419_advanced_modals_demo.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/tables/bs_modal_examples.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/themes_bootstrap.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/themes_rouge.asciidoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/asciidoc_extensions.adoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/bootstrap_themes.adoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/highlghter_rouge.adoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/icon_fonts.adoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/quicksearch.adoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/responsive_tables.adoc +0 -0
- /data/lib/starter_web/pages/{tour → public/tour}/typography.adoc +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2ebc68fcc74a9338ed7d59eae9936fea701ceb916a647f5cc83363900c19cbb
|
4
|
+
data.tar.gz: 7adb79dea06c3c5422844d2d630cef21e56c89413315bfa127e21170a3905edc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af0a5f1f4242d0e5dcf6fc78ae6e75e6a6014af77a0c4ce68f65dadd9bf992977e101352e63e809a98977f1a137fd6fe43be9bda3f2d5a59e997fc3619e2314f
|
7
|
+
data.tar.gz: a40943dbe4071c04364c28babd1b408c44f1df34a20f8d0dc8af442f47e36cd145ab42d2b39df1869aebbf6bbac0159428d87212e6a2ce703000f2762252315d
|
data/assets/data/amplitude.html
CHANGED
@@ -97,7 +97,8 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
97
97
|
{% assign shuffle_button = amplitude_defaults.player.shuffle_button %}
|
98
98
|
{% assign skip_forward_backward_button = amplitude_defaults.player.skip_forward_backward_button %}
|
99
99
|
{% assign playlist_controls = amplitude_defaults.player.playlist.controls %}
|
100
|
-
{% assign playlist_audio_info = amplitude_defaults.player.playlist.audio_info %}
|
100
|
+
{% assign playlist_audio_info = amplitude_defaults.player.playlist.audio_info %}
|
101
|
+
{% assign playlist_audio_rating = amplitude_defaults.player.playlist.audio_rating %}
|
101
102
|
|
102
103
|
{% comment %} player settings
|
103
104
|
---------------------------------------------------------------------------- {% endcomment %}
|
@@ -111,7 +112,9 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
111
112
|
|
112
113
|
{% if player.playlist.controls %}
|
113
114
|
{% assign playlist_controls = player.playlist.controls %}
|
114
|
-
{%
|
115
|
+
{% else %}
|
116
|
+
{% assign playlist_controls = playlist_controls %}
|
117
|
+
{% endif %}
|
115
118
|
|
116
119
|
{% if player.song_progress_bar %}
|
117
120
|
{% assign song_progress_bar = player.song_progress_bar %}
|
@@ -147,13 +150,15 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
147
150
|
{% endif %}
|
148
151
|
|
149
152
|
{% if player.playlist.audio_info %}
|
150
|
-
{% assign
|
153
|
+
{% assign player_audio_info_enabled = player.playlist.audio_info %}
|
154
|
+
{% else %}
|
155
|
+
{% assign player_audio_info_enabled = playlist_audio_info %}
|
151
156
|
{% endif %}
|
152
157
|
|
153
|
-
{% if player.audio_rating %}
|
154
|
-
{% assign
|
158
|
+
{% if player.playlist.audio_rating %}
|
159
|
+
{% assign player_audio_rating_enabled = player.playlist.audio_rating %}
|
155
160
|
{% else %}
|
156
|
-
{% assign
|
161
|
+
{% assign player_audio_rating_enabled = playlist_audio_rating %}
|
157
162
|
{% endif %}
|
158
163
|
|
159
164
|
|
@@ -280,10 +285,12 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
280
285
|
</span>
|
281
286
|
<div class="audio-artist-album">
|
282
287
|
<span
|
288
|
+
class="artist"
|
283
289
|
data-amplitude-playlist="{{player_playlist}}"
|
284
290
|
data-amplitude-song-info="artist">
|
285
291
|
</span>
|
286
292
|
<span
|
293
|
+
class="album"
|
287
294
|
data-amplitude-playlist="{{player_playlist}}"
|
288
295
|
data-amplitude-song-info="album">
|
289
296
|
</span>
|
@@ -327,31 +334,48 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
327
334
|
<div id="playlist_screen_{{player_id}}" class="compact-player-playlist slide-in-top">
|
328
335
|
|
329
336
|
<div id="hide_playlist_{{player_id}}" class="compact-player-header hide-playlist">
|
330
|
-
<img class="compact-player-header-arrows" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/
|
331
|
-
|
337
|
+
<img class="compact-player-header-arrows" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg" alt="Hide Playlist">
|
338
|
+
Playlist
|
332
339
|
</div> <!-- END playlist-screen header (toggle playlist) -->
|
333
|
-
|
334
|
-
{% if playlist_controls %}
|
340
|
+
|
335
341
|
<div class="playlist-screen-controls">
|
336
342
|
<div class="playlist-screen-meta-container">
|
337
343
|
<span
|
338
344
|
class="song-name" data-amplitude-playlist="{{player_playlist}}"
|
339
345
|
data-amplitude-source="{{source_media_attribute}}"
|
340
|
-
data-amplitude-song-info="name"
|
346
|
+
data-amplitude-song-info="name">
|
347
|
+
</span>
|
348
|
+
|
349
|
+
<!-- START player_audio_info -->
|
350
|
+
<!-- load initial (first) info URL -->
|
351
|
+
{% for item in playlist_items %} {% if item.enabled %}
|
352
|
+
{% if playlist_audio_info and forloop.first %}
|
353
|
+
<span class="audio-info">
|
354
|
+
<a class="audio-info-link" href="{{item.audio_info}}" target="_blank">
|
355
|
+
<i class="mdib mdib-information md-gray-400 mdib-24px"></i>
|
356
|
+
</a>
|
357
|
+
</span>
|
358
|
+
{% else %}
|
359
|
+
{% break %}
|
360
|
+
{% endif %}
|
361
|
+
{% endif %} {% endfor %}
|
362
|
+
<!-- END player_audio_info -->
|
363
|
+
|
341
364
|
<div class="song-artist-album">
|
342
365
|
<span
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
366
|
+
data-amplitude-source="{{source_media_attribute}}"
|
367
|
+
data-amplitude-playlist="{{player_playlist}}"
|
368
|
+
data-amplitude-song-info="artist">
|
369
|
+
</span>
|
370
|
+
<span class="song-artist-album-delimiter">·</span>
|
371
|
+
<span
|
372
|
+
data-amplitude-source="audio"
|
373
|
+
data-amplitude-playlist="{{player_playlist}}"
|
374
|
+
data-amplitude-song-info="album">
|
375
|
+
</span>
|
353
376
|
</div>
|
354
377
|
</div>
|
378
|
+
{% if playlist_controls %}
|
355
379
|
<div class="list-controls">
|
356
380
|
<div
|
357
381
|
class="list-previous amplitude-prev"
|
@@ -369,13 +393,14 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
369
393
|
data-amplitude-playlist="{{player_playlist}}">
|
370
394
|
</div>
|
371
395
|
</div>
|
396
|
+
{% endif %}
|
372
397
|
</div> <!-- END playlist controls -->
|
373
|
-
|
398
|
+
|
374
399
|
|
375
400
|
<!-- START playlist items (COMPACT player )-->
|
376
401
|
<div
|
377
402
|
id="compact_player_title_list_{{player_playlist}}"
|
378
|
-
class="compact-player-title-list">
|
403
|
+
class="amplitude-scroller-gradient compact-player-title-list">
|
379
404
|
{% for item in playlist_items %} {% if item.enabled %}
|
380
405
|
<!-- START list item -->
|
381
406
|
<div
|
@@ -400,12 +425,14 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
400
425
|
data-amplitude-playlist="{{player_playlist}}">
|
401
426
|
<span class="song-name">{{item.title}}</span>
|
402
427
|
|
403
|
-
{%
|
428
|
+
{% comment %}
|
429
|
+
{% if playlist_audio_rating %}
|
404
430
|
<span class="audio-rating">
|
405
431
|
{{item.rating}}
|
406
432
|
<i class="mdib mdib-star md-gray-400 mdib-18px"></i>
|
407
433
|
</span>
|
408
434
|
{% endif %}
|
435
|
+
{% endcomment %}
|
409
436
|
|
410
437
|
<!-- span class="song-artist-album">
|
411
438
|
<span>{{item.name}}</span>
|
@@ -417,7 +444,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
417
444
|
<span>{{item.artist}}</span>
|
418
445
|
</span>
|
419
446
|
|
420
|
-
{% if
|
447
|
+
{% if player_audio_infooo %}
|
421
448
|
<span class="audio-info">
|
422
449
|
<a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
|
423
450
|
<i class="mdib mdib-information md-gray-400 mdib-24px"></i>
|
@@ -458,8 +485,8 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
458
485
|
</span>
|
459
486
|
<img
|
460
487
|
class="compact-player-header-arrows"
|
461
|
-
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/
|
462
|
-
alt="
|
488
|
+
src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg"
|
489
|
+
alt="Show Playlist">
|
463
490
|
</div> <!-- END compact player header (toggle playlist) -->
|
464
491
|
|
465
492
|
<div class="player-top">
|
@@ -624,11 +651,13 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
624
651
|
</span>
|
625
652
|
<div class="audio-artist-album">
|
626
653
|
<span
|
654
|
+
class="artist"
|
627
655
|
data-amplitude-source="{{source_media_attribute}}"
|
628
656
|
data-amplitude-playlist="{{player_playlist}}"
|
629
657
|
data-amplitude-song-info="artist">
|
630
658
|
</span>
|
631
659
|
<span
|
660
|
+
class="album"
|
632
661
|
data-amplitude-source="{{source_media_attribute}}"
|
633
662
|
data-amplitude-playlist="{{player_playlist}}"
|
634
663
|
data-amplitude-song-info="album">
|
@@ -669,9 +698,11 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
669
698
|
<!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
|
670
699
|
{% capture large_player_left_side %}
|
671
700
|
<!-- START LARGE player left TOP -->
|
672
|
-
<div
|
701
|
+
<div class="player-left-top">
|
673
702
|
|
674
|
-
<div
|
703
|
+
<div
|
704
|
+
id="large_player_title_header_{{player_id}}"
|
705
|
+
class="large-player-playlist-header">
|
675
706
|
<span class="audio-artist">
|
676
707
|
<span
|
677
708
|
data-amplitude-playlist="{{player_playlist}}"
|
@@ -690,6 +721,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
690
721
|
<!-- NOTE: album cover image (replaced by AJS API based on playlist) -->
|
691
722
|
<div class="album-cover-image">
|
692
723
|
<img
|
724
|
+
class="cover-image-{{player_playlist}} cover-image"
|
693
725
|
src="/assets/audio/cover/default/placeholder-blue.jpg"
|
694
726
|
data-amplitude-playlist="{{player_playlist}}"
|
695
727
|
data-amplitude-source="{{source_media_attribute}}"
|
@@ -701,7 +733,8 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
701
733
|
<!-- START progress bar -->
|
702
734
|
{% if song_progress_bar %}
|
703
735
|
<progress
|
704
|
-
|
736
|
+
id="large_player_progress_{{player_id}}"
|
737
|
+
class="large-player-progress-{{player_playlist}} large-player-progress amplitude-song-played-progress"
|
705
738
|
data-amplitude-source="{{source_media_attribute}}"
|
706
739
|
data-amplitude-playlist="{{player_playlist}}">
|
707
740
|
|
@@ -721,47 +754,49 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
721
754
|
{% if shuffle_button %}
|
722
755
|
<div
|
723
756
|
id="large_player_shuffle"
|
724
|
-
class="amplitude-shuffle amplitude-shuffle-off"
|
757
|
+
class="large-player-shuffle-{{player_id}} amplitude-shuffle amplitude-shuffle-off"
|
725
758
|
data-amplitude-source="{{source_media_attribute}}"
|
726
759
|
data-amplitude-playlist="{{player_playlist}}">
|
727
760
|
</div>
|
728
761
|
{% endif %}
|
729
762
|
<div
|
730
763
|
id="large_player_previous"
|
731
|
-
class="amplitude-prev"
|
764
|
+
class="large-player-previous-{{player_id}} large-player-previous amplitude-prev"
|
732
765
|
data-amplitude-source="{{source_media_attribute}}"
|
733
766
|
data-amplitude-playlist="{{player_playlist}}">
|
734
767
|
</div>
|
735
768
|
{% if skip_forward_backward_button %}
|
736
769
|
<div
|
737
770
|
id="skip-backward_{{player_id}}"
|
738
|
-
class="large-player-skip-backward"
|
739
|
-
data-amplitude-source="{{source_media_attribute}}"
|
771
|
+
class="large-player-skip-backward-{{player_id}} large-player-skip-backward"
|
772
|
+
data-amplitude-source="{{source_media_attribute}}"
|
773
|
+
data-amplitude-playlist="{{player_playlist}}">
|
740
774
|
</div>
|
741
775
|
{% endif %}
|
742
776
|
<div
|
743
777
|
id="large_player_play_pause"
|
744
|
-
class="amplitude-play-pause amplitude-paused"
|
778
|
+
class="large-player-play-pause-{{player_id}} large-player-play-pause amplitude-play-pause amplitude-paused"
|
745
779
|
data-amplitude-source="{{source_media_attribute}}"
|
746
780
|
data-amplitude-playlist="{{player_playlist}}">
|
747
781
|
</div>
|
748
782
|
{% if skip_forward_backward_button %}
|
749
783
|
<div
|
750
784
|
id="skip-forward_{{player_id}}"
|
751
|
-
class="large-player-skip-forward"
|
752
|
-
data-amplitude-source="{{source_media_attribute}}"
|
785
|
+
class="large-player-skip-forward-{{player_id}} large-player-skip-forward"
|
786
|
+
data-amplitude-source="{{source_media_attribute}}"
|
787
|
+
data-amplitude-playlist="{{player_playlist}}">
|
753
788
|
</div>
|
754
789
|
{% endif %}
|
755
790
|
<div
|
756
791
|
id="large_player_next"
|
757
|
-
class="amplitude-next"
|
792
|
+
class="large-player-next-{{player_id}} large-player-next amplitude-next"
|
758
793
|
data-amplitude-source="{{source_media_attribute}}"
|
759
794
|
data-amplitude-playlist="{{player_playlist}}">
|
760
795
|
</div>
|
761
796
|
{% if repeat_button %}
|
762
797
|
<div
|
763
798
|
id="large_player_repeat"
|
764
|
-
class="amplitude-repeat amplitude-repeat-off"
|
799
|
+
class="large-player-repeat-{{player_id}} large-player-repeat amplitude-repeat amplitude-repeat-off"
|
765
800
|
data-amplitude-source="{{source_media_attribute}}"
|
766
801
|
data-amplitude-playlist="{{player_playlist}}">
|
767
802
|
</div>
|
@@ -800,20 +835,20 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
800
835
|
<span class="current-time">
|
801
836
|
{% if display_hours %}
|
802
837
|
<span
|
803
|
-
class="amplitude-current-hours"
|
838
|
+
class="amplitude-current-hours-{{player_playlist}} amplitude-current-hours"
|
804
839
|
data-amplitude-source="{{source_media_attribute}}"
|
805
840
|
data-amplitude-playlist="{{player_playlist}}">
|
806
841
|
</span>
|
807
842
|
:
|
808
843
|
{% endif %}
|
809
844
|
<span
|
810
|
-
class="amplitude-current-minutes"
|
845
|
+
class="amplitude-current-minutes-{{player_playlist}} amplitude-current-minutes"
|
811
846
|
data-amplitude-source="{{source_media_attribute}}"
|
812
847
|
data-amplitude-playlist="{{player_playlist}}">
|
813
848
|
</span>
|
814
849
|
:
|
815
850
|
<span
|
816
|
-
class="amplitude-current-seconds"
|
851
|
+
class="amplitude-current-seconds-{{player_playlist}} amplitude-current-seconds"
|
817
852
|
data-amplitude-source="{{source_media_attribute}}"
|
818
853
|
data-amplitude-playlist="{{player_playlist}}">
|
819
854
|
</span>
|
@@ -821,20 +856,20 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
821
856
|
<span class="duration">
|
822
857
|
{% if display_hours %}
|
823
858
|
<span
|
824
|
-
class="amplitude-duration-hours"
|
859
|
+
class="amplitude-duration-hours-{{player_playlist}} amplitude-duration-hours"
|
825
860
|
data-amplitude-source="{{source_media_attribute}}"
|
826
861
|
data-amplitude-playlist="{{player_playlist}}">
|
827
862
|
</span>
|
828
863
|
:
|
829
864
|
{% endif %}
|
830
865
|
<span
|
831
|
-
class="amplitude-duration-minutes"
|
866
|
+
class="amplitude-duration-minutes-{{player_playlist}} amplitude-duration-minutes"
|
832
867
|
data-amplitude-source="{{source_media_attribute}}"
|
833
868
|
data-amplitude-playlist="{{player_playlist}}">
|
834
869
|
</span>
|
835
870
|
:
|
836
871
|
<span
|
837
|
-
class="amplitude-duration-seconds"
|
872
|
+
class="amplitude-duration-seconds-{{player_playlist}} amplitude-duration-seconds"
|
838
873
|
data-amplitude-source="{{source_media_attribute}}"
|
839
874
|
data-amplitude-playlist="{{player_playlist}}">
|
840
875
|
</span>
|
@@ -844,19 +879,21 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
844
879
|
|
845
880
|
<div class="meta-container large-player">
|
846
881
|
<span
|
847
|
-
class="song-name"
|
882
|
+
class="song-name-{{player_playlist}} song-name"
|
848
883
|
data-amplitude-source="{{source_media_attribute}}"
|
849
884
|
data-amplitude-playlist="{{player_playlist}}"
|
850
885
|
data-amplitude-song-info="name">
|
851
886
|
</span>
|
852
887
|
<div class="audio-artist-album">
|
853
888
|
<span
|
854
|
-
|
889
|
+
class="artist-name-{{player_playlist}} artist"
|
890
|
+
data-amplitude-source="{{source_media_attribute}}"
|
855
891
|
data-amplitude-playlist="{{player_playlist}}"
|
856
892
|
data-amplitude-song-info="artist">
|
857
893
|
</span>
|
858
894
|
<span
|
859
|
-
|
895
|
+
class="album-name-{{player_playlist}} album"
|
896
|
+
data-amplitude-source="{{source_media_attribute}}"
|
860
897
|
data-amplitude-playlist="{{player_playlist}}"
|
861
898
|
data-amplitude-song-info="album">
|
862
899
|
</span>
|
@@ -888,29 +925,65 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
888
925
|
class="large-player-playlist-header">Playlist
|
889
926
|
</div>
|
890
927
|
|
891
|
-
{% if playlist_controls %}
|
892
928
|
<div class="playlist-screen-controls large-player">
|
893
929
|
<div class="playlist-screen-meta-container">
|
894
930
|
<span
|
895
|
-
class="song-name"
|
931
|
+
class="song-name-{{player_playlist}} song-name"
|
896
932
|
data-amplitude-source="{{source_media_attribute}}"
|
897
933
|
data-amplitude-playlist="{{player_playlist}}"
|
898
934
|
data-amplitude-song-info="name">
|
899
935
|
</span>
|
936
|
+
|
937
|
+
<!-- START player_audio_info -->
|
938
|
+
<!-- load initial (first element) info URL -->
|
939
|
+
{% for item in playlist_items %} {% if item.enabled %}
|
940
|
+
{% if playlist_audio_info and forloop.first %}
|
941
|
+
<span class="audio-info">
|
942
|
+
<a class="audio-info-link-{player_playlist}} audio-info-link" href="{{item.audio_info}}" target="_blank">
|
943
|
+
<i class="mdib mdib-information md-gray-400 mdib-24px"></i>
|
944
|
+
</a>
|
945
|
+
</span>
|
946
|
+
{% else %}
|
947
|
+
{% break %}
|
948
|
+
{% endif %}
|
949
|
+
|
950
|
+
<!-- load initial (first element) rating -->
|
951
|
+
{% if playlist_audio_rating and forloop.first %}
|
952
|
+
{% if item.rating %}
|
953
|
+
<span class="audio-rating-{player_playlist}} audio-rating">
|
954
|
+
{{item.rating}}
|
955
|
+
<i class="mdib mdib-star md-gray-400 mdib-18px"></i>
|
956
|
+
</span>
|
957
|
+
{% else %}
|
958
|
+
<!-- place empty (span) element (placeholder) -->
|
959
|
+
<span class="audio-rating-{player_playlist}} audio-rating"></span>
|
960
|
+
{% endif %}
|
961
|
+
{% else %}
|
962
|
+
{% break %}
|
963
|
+
{% endif %}
|
964
|
+
{% endif %} {% endfor %}
|
965
|
+
<!-- END playlist_audio_info -->
|
966
|
+
|
900
967
|
<div class="song-artist-album">
|
901
968
|
<span
|
969
|
+
class="song-artist-{{player_playlist}}"
|
902
970
|
data-amplitude-source="{{source_media_attribute}}"
|
903
971
|
data-amplitude-playlist="{{player_playlist}}"
|
904
972
|
data-amplitude-song-info="artist">
|
905
973
|
</span>
|
906
|
-
<!--
|
974
|
+
<!-- jadams, 2024-12-08: make album info configurable -->
|
975
|
+
<span class="song-artist-album-delimiter">·</span>
|
907
976
|
<span
|
977
|
+
class="song-info-{{player_playlist}}"
|
908
978
|
data-amplitude-source="audio"
|
909
979
|
data-amplitude-playlist="{{player_playlist}}"
|
910
980
|
data-amplitude-song-info="album">
|
911
|
-
</span
|
981
|
+
</span>
|
912
982
|
</div>
|
913
983
|
</div>
|
984
|
+
|
985
|
+
<!-- place extra control buttons (playlist_controls: {{playlist_controls}}) -->
|
986
|
+
{% if playlist_controls %}
|
914
987
|
<div class="list-controls">
|
915
988
|
<div
|
916
989
|
class="list-previous amplitude-prev"
|
@@ -925,19 +998,22 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
925
998
|
<div
|
926
999
|
class="list-next amplitude-next"
|
927
1000
|
data-amplitude-source="{{source_media_attribute}}"
|
928
|
-
data-amplitude-playlist="{{player_playlist}}"
|
1001
|
+
data-amplitude-playlist="{{player_playlist}}">
|
1002
|
+
</div>
|
929
1003
|
</div>
|
1004
|
+
{% endif %}
|
1005
|
+
|
930
1006
|
</div> <!-- END playlist controls -->
|
931
|
-
|
1007
|
+
|
932
1008
|
|
933
1009
|
<!-- START playlist items (Large Player) -->
|
934
1010
|
<div
|
935
1011
|
id="large_player_title_list_{{player_playlist}}"
|
936
|
-
class="large-player-title-list">
|
1012
|
+
class="amplitude-scroller-gradient large-player-title-list">
|
937
1013
|
{% for item in playlist_items %}{% if item.enabled %}
|
938
1014
|
<!-- START list item -->
|
939
1015
|
<div
|
940
|
-
class="song amplitude-song-container amplitude-play-pause"
|
1016
|
+
class="amplitude-song-container-large-player-{{player_id}} song amplitude-song-container amplitude-play-pause"
|
941
1017
|
data-amplitude-song-index="{{forloop.index0}}"
|
942
1018
|
data-amplitude-source="{{source_media_attribute}}"
|
943
1019
|
data-amplitude-playlist="{{player_playlist}}">
|
@@ -956,28 +1032,23 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
956
1032
|
|
957
1033
|
<div
|
958
1034
|
class="audio-meta-data"
|
959
|
-
data-amplitude-playlist="{{player_playlist}}"
|
1035
|
+
data-amplitude-playlist="{{player_playlist}}"
|
1036
|
+
data-amplitude-song-index="{{forloop.index0}}">
|
960
1037
|
<span class="audio-title">{{item.title}}</span>
|
961
1038
|
|
962
|
-
{%
|
1039
|
+
{% comment %}
|
1040
|
+
{% if playlist_audio_rating %}
|
963
1041
|
<span class="audio-rating">
|
964
1042
|
{{item.rating}}
|
965
1043
|
<i class="mdib mdib-star md-gray-400 mdib-18px"></i>
|
966
1044
|
</span>
|
967
1045
|
{% endif %}
|
1046
|
+
{% endcomment %}
|
968
1047
|
|
969
1048
|
<span class="audio-artist">
|
970
1049
|
<span>{{item.artist}}</span>
|
971
1050
|
<!-- span class="song-artist-album-delimiter">·</span>
|
972
|
-
<span>{{item.name}}</span -->
|
973
|
-
|
974
|
-
{% if player_audio_info %}
|
975
|
-
<span class="audio-info">
|
976
|
-
<a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
|
977
|
-
<i class="mdib mdib-information md-gray-400 mdib-24px"></i>
|
978
|
-
</a>
|
979
|
-
</span>
|
980
|
-
{% endif %}
|
1051
|
+
<span>{{item.name}}</span -->
|
981
1052
|
</span>
|
982
1053
|
</div>
|
983
1054
|
|
@@ -1025,7 +1096,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
|
|
1025
1096
|
</html>
|
1026
1097
|
{%- endcapture -%}
|
1027
1098
|
|
1028
|
-
{% comment %}
|
1099
|
+
{% comment %} Beautify|compress page
|
1029
1100
|
-------------------------------------------------------------------------------- {% endcomment %}
|
1030
1101
|
{%- if production -%}
|
1031
1102
|
{% 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 %}
|
data/assets/data/banner.html
CHANGED
@@ -529,7 +529,7 @@ exclude_from_search: true
|
|
529
529
|
</html>
|
530
530
|
{%- endcapture -%}
|
531
531
|
|
532
|
-
{% comment %}
|
532
|
+
{% comment %} Beautify|Compress page
|
533
533
|
-------------------------------------------------------------------------------- {% endcomment %}
|
534
534
|
{%- if production -%}
|
535
535
|
{% 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 %}
|
@@ -266,7 +266,7 @@ exclude_from_search: true
|
|
266
266
|
</html>
|
267
267
|
{%- endcapture -%}
|
268
268
|
|
269
|
-
{% comment %}
|
269
|
+
{% comment %} Beautify|Compress page
|
270
270
|
-------------------------------------------------------------------------------- {% endcomment %}
|
271
271
|
{%- if production -%}
|
272
272
|
{% 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 %}
|
data/assets/data/docsearch.html
CHANGED
@@ -148,7 +148,7 @@ exclude_from_search: true
|
|
148
148
|
</html>
|
149
149
|
{%- endcapture -%}
|
150
150
|
|
151
|
-
{% comment %}
|
151
|
+
{% comment %} Beautify|Compress page
|
152
152
|
-------------------------------------------------------------------------------- {% endcomment %}
|
153
153
|
{%- if production -%}
|
154
154
|
{% 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 %}
|
data/assets/data/fab.html
CHANGED
@@ -148,7 +148,7 @@ fab_defaults: {{fab_defaults | debug}}
|
|
148
148
|
</html>
|
149
149
|
{%- endcapture -%}
|
150
150
|
|
151
|
-
{% comment %}
|
151
|
+
{% comment %} Beautify|Compress page
|
152
152
|
-------------------------------------------------------------------------------- {% endcomment %}
|
153
153
|
{%- if production -%}
|
154
154
|
{% 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 %}
|
data/assets/data/footer.html
CHANGED
@@ -274,7 +274,7 @@ exclude_from_search: true
|
|
274
274
|
</html>
|
275
275
|
{%- endcapture -%}
|
276
276
|
|
277
|
-
{% comment %}
|
277
|
+
{% comment %} Beautify|Compress page
|
278
278
|
-------------------------------------------------------------------------------- {% endcomment %}
|
279
279
|
{%- if production -%}
|
280
280
|
{% 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 %}
|
data/assets/data/galeries.html
CHANGED
@@ -241,7 +241,7 @@ exclude_from_search: true
|
|
241
241
|
</html>
|
242
242
|
{%- endcapture -%}
|
243
243
|
|
244
|
-
{% comment %}
|
244
|
+
{% comment %} Beautify|Compress page
|
245
245
|
-------------------------------------------------------------------------------- {% endcomment %}
|
246
246
|
{%- if production -%}
|
247
247
|
{% 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 %}
|