j1-template 2022.0.9 → 2022.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/apps/public/cc/index.adoc +0 -1
- data/assets/data/article_navigator/index.html +0 -1
- data/assets/data/news_panel_posts/index.html +0 -1
- data/assets/error_pages/HTTP445.html +5 -4
- data/assets/error_pages/HTTP446.html +2 -2
- data/assets/error_pages/HTTP447.html +110 -0
- data/assets/error_pages/HTTP448.html +111 -0
- data/assets/themes/j1/adapter/js/advertising.js +442 -0
- data/assets/themes/j1/adapter/js/algolia.js +10 -13
- data/assets/themes/j1/adapter/js/analytics.js +259 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
- data/assets/themes/j1/adapter/js/attic.js +10 -5
- data/assets/themes/j1/adapter/js/bmd.js +10 -14
- data/assets/themes/j1/adapter/js/carousel.js +10 -13
- data/assets/themes/j1/adapter/js/clipboard.js +9 -10
- data/assets/themes/j1/adapter/js/comments.js +407 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +107 -84
- data/assets/themes/j1/adapter/js/fab.js +11 -11
- data/assets/themes/j1/adapter/js/framer.js +59 -64
- data/assets/themes/j1/adapter/js/j1.js +203 -258
- data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
- data/assets/themes/j1/adapter/js/lightbox.js +12 -9
- data/assets/themes/j1/adapter/js/logger.js +11 -5
- data/assets/themes/j1/adapter/js/mmenu.js +11 -12
- data/assets/themes/j1/adapter/js/navigator.js +13 -12
- data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
- data/assets/themes/j1/adapter/js/rouge.js +11 -14
- data/assets/themes/j1/adapter/js/rtable.js +10 -13
- data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
- data/assets/themes/j1/adapter/js/scroller.js +14 -12
- data/assets/themes/j1/adapter/js/themer.js +12 -3
- data/assets/themes/j1/adapter/js/toccer.js +10 -13
- data/assets/themes/j1/adapter/js/translator.js +50 -96
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +13 -5
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +127 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -13
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/lightbox.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
- data/lib/starter_web/_data/blocks/footer.yml +3 -2
- data/lib/starter_web/_data/blocks/panel.yml +3 -2
- data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
- data/lib/starter_web/_data/j1_config.yml +0 -116
- data/lib/starter_web/_data/layouts/default.yml +21 -21
- data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.yml +24 -0
- data/lib/starter_web/_data/layouts/page.yml +7 -18
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/advertising.yml +139 -12
- data/lib/starter_web/_data/modules/analytics.yml +99 -0
- data/lib/starter_web/_data/modules/attics.yml +3 -2
- data/lib/starter_web/_data/modules/comments.yml +55 -0
- data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
- data/lib/starter_web/_data/modules/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
- data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
- data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/cookies.yml +105 -26
- data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +3 -2
- data/lib/starter_web/_data/modules/framer.yml +3 -4
- data/lib/starter_web/_data/modules/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +3 -3
- data/lib/starter_web/_data/modules/scroller.yml +2 -3
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
- data/lib/starter_web/_data/plugins/paginator.yml +2 -2
- data/lib/starter_web/_data/resources.yml +447 -290
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- 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/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
- data/lib/starter_web/index.html +0 -4
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +25 -70
- data/_includes/themes/j1/blocks/ads/ad.html +0 -64
- data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
- data/_includes/themes/j1/modules/connectors/ads +0 -56
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
- data/_includes/themes/j1/modules/connectors/analytics +0 -60
- data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
- data/_includes/themes/j1/modules/connectors/comments +0 -64
- data/_includes/themes/j1/modules/connectors/sharing +0 -29
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
- data/_includes/themes/j1/modules/connectors/surveys +0 -58
- data/_includes/themes/j1/modules/connectors/translator +0 -58
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
- data/_includes/themes/j1/modules/search/algolia.html +0 -181
- data/_includes/themes/j1/modules/search/docsearch.html +0 -42
- data/assets/data/disqus.js +0 -81
- data/assets/data/hyvor.js +0 -72
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
- data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
- data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
- data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
- data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
- data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
- data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
- data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
- data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
- data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
- data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
- data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
- data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
- data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
- data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
- data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
- data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
- data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
- data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -1,181 +0,0 @@
|
|
1
|
-
++++
|
2
|
-
<div id="search-searchbar"></div>
|
3
|
-
|
4
|
-
<div class="post-list" id="search-hits">
|
5
|
-
{% for post in site.posts %}
|
6
|
-
<div class="post-item">
|
7
|
-
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
8
|
-
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
9
|
-
|
10
|
-
<h2>
|
11
|
-
<a class="post-link" href="{{ post.url | relative_url }}">
|
12
|
-
{{ post.title | escape }}
|
13
|
-
</a>
|
14
|
-
</h2>
|
15
|
-
|
16
|
-
<div class="post-snippet">{{ post.excerpt }}</div>
|
17
|
-
</div>
|
18
|
-
{% endfor %}
|
19
|
-
</div>
|
20
|
-
++++
|
21
|
-
|
22
|
-
++++
|
23
|
-
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch.min.js"></script>
|
24
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script>
|
25
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch.min.css">
|
26
|
-
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch-theme-algolia.min.css">
|
27
|
-
|
28
|
-
<script>
|
29
|
-
|
30
|
-
const hitTemplate = function(hit) {
|
31
|
-
// var re = new RegExp("^\/posts");
|
32
|
-
// var re = new RegExp("^\/pages");
|
33
|
-
var re = new RegExp("^\/pages|^\/collections");
|
34
|
-
if ( re.test(hit.url) ) {
|
35
|
-
let date = '';
|
36
|
-
if (hit.date) {
|
37
|
-
date = moment.unix(hit.date).format('MMM D, YYYY');
|
38
|
-
}
|
39
|
-
// let url = `/jekyll-algolia-example${hit.url}#${hit.anchor}`;
|
40
|
-
let url = `${hit.url}`;
|
41
|
-
|
42
|
-
const title = hit._highlightResult.title.value;
|
43
|
-
let breadcrumbs = '';
|
44
|
-
|
45
|
-
if (hit._highlightResult.headings) {
|
46
|
-
breadcrumbs = hit._highlightResult.headings.map(match => {
|
47
|
-
return `<span class="post-breadcrumb">${match.value}</span>`
|
48
|
-
}).join(' > ')
|
49
|
-
}
|
50
|
-
|
51
|
-
const content = hit._highlightResult.html.value;
|
52
|
-
|
53
|
-
return `
|
54
|
-
<div class="search-result-item">
|
55
|
-
<div class="card">
|
56
|
-
<div class="card-body">
|
57
|
-
<span class="post-meta">${date}</span>
|
58
|
-
<h2 class="card-title">${title}</h2>
|
59
|
-
<h6 class="card-subtitle mb-2 text-muted">${hit.tagline}</h6>
|
60
|
-
<div class="card-text">${content}</div>
|
61
|
-
<div class="card-footer">
|
62
|
-
<a class="card-link" href="${url}" target="blank">Read more ..</a>
|
63
|
-
</div>
|
64
|
-
</div>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
`;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
<!-- Access credentials and index -->
|
72
|
-
const search = instantsearch({
|
73
|
-
appId: '{{ site.algolia.application_id }}',
|
74
|
-
apiKey: '{{ site.algolia.search_only_api_key }}',
|
75
|
-
indexName: '{{ site.algolia.index_name }}',
|
76
|
-
routing: true
|
77
|
-
});
|
78
|
-
// initialize SearchBox
|
79
|
-
search.addWidget(
|
80
|
-
instantsearch.widgets.searchBox({
|
81
|
-
container: '#search-searchbar',
|
82
|
-
placeholder: 'Search this site ..',
|
83
|
-
poweredBy: true // This is required if you're on the free Community plan
|
84
|
-
})
|
85
|
-
);
|
86
|
-
// initialize hits widget
|
87
|
-
search.addWidget(
|
88
|
-
instantsearch.widgets.hits({
|
89
|
-
container: '#search-hits',
|
90
|
-
templates: {
|
91
|
-
empty: 'No results',
|
92
|
-
item: hitTemplate
|
93
|
-
}
|
94
|
-
})
|
95
|
-
);
|
96
|
-
// initialize RefinementList
|
97
|
-
search.addWidget(
|
98
|
-
instantsearch.widgets.refinementList({
|
99
|
-
container: '#refinement-list',
|
100
|
-
attributeName: 'outsideDiameter.description',
|
101
|
-
collapsible: true,
|
102
|
-
operator: "and",
|
103
|
-
limit: 5,
|
104
|
-
sortBy: ["isRefined","count:asc","name:asc"],
|
105
|
-
showMore: true,
|
106
|
-
attributeName: 'tags'
|
107
|
-
// cssClasses: {
|
108
|
-
// "root": "ais-refinement-list",
|
109
|
-
// "header": "ais-refinement-list--header",
|
110
|
-
// "body": "ais-refinement-list--body",
|
111
|
-
// "footer": "ais-refinement-list--footer",
|
112
|
-
// "list": "ais-refinement-list--list",
|
113
|
-
// "item": "ais-refinement-list--item",
|
114
|
-
// "active": "ais-refinement-list--item__active",
|
115
|
-
// "label": "ais-refinement-list--label",
|
116
|
-
// "checkbox": "ais-refinement-list--checkbox",
|
117
|
-
// "count": "ais-refinement-list--count"
|
118
|
-
// }
|
119
|
-
})
|
120
|
-
);
|
121
|
-
|
122
|
-
search.start();
|
123
|
-
</script>
|
124
|
-
|
125
|
-
|
126
|
-
<style>
|
127
|
-
.ais-search-box {
|
128
|
-
max-width: 100%;
|
129
|
-
margin-bottom: 15px;
|
130
|
-
}
|
131
|
-
|
132
|
-
.ais-search-box--input {
|
133
|
-
padding-left: 2rem !important;
|
134
|
-
}
|
135
|
-
|
136
|
-
.ais-search-box--magnifier {
|
137
|
-
top: 0 !important;
|
138
|
-
right: 0 !important;
|
139
|
-
}
|
140
|
-
|
141
|
-
.ais-search-box--reset {
|
142
|
-
top: 0 !important;
|
143
|
-
right: 0 !important;
|
144
|
-
}
|
145
|
-
|
146
|
-
.search-result-item {
|
147
|
-
margin-bottom: 30px;
|
148
|
-
}
|
149
|
-
|
150
|
-
/*
|
151
|
-
.post-item {
|
152
|
-
margin-bottom: 30px;
|
153
|
-
}
|
154
|
-
.post-link .ais-Highlight {
|
155
|
-
color: #111;
|
156
|
-
font-style: normal;
|
157
|
-
text-decoration: underline;
|
158
|
-
}
|
159
|
-
.post-breadcrumbs {
|
160
|
-
color: #424242;
|
161
|
-
display: block;
|
162
|
-
}
|
163
|
-
.post-breadcrumb {
|
164
|
-
font-size: 18px;
|
165
|
-
color: #424242;
|
166
|
-
}
|
167
|
-
.post-breadcrumb .ais-Highlight {
|
168
|
-
font-weight: bold;
|
169
|
-
font-style: normal;
|
170
|
-
}
|
171
|
-
.post-snippet .ais-Highlight {
|
172
|
-
color: #2a7ae2;
|
173
|
-
font-style: normal;
|
174
|
-
font-weight: bold;
|
175
|
-
}
|
176
|
-
.post-snippet img {
|
177
|
-
display: none;
|
178
|
-
}
|
179
|
-
*/
|
180
|
-
|
181
|
-
</style>
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<div>
|
2
|
-
<form class="bd-search d-flex align-items-center">
|
3
|
-
<span class="algolia-autocomplete algolia-autocomplete-left" style="position: relative; display: inline-block; direction: ltr;">
|
4
|
-
<span class="bmd-form-group"><input type="search" class="form-control ds-input" id="search-input" placeholder="Search..." autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-owns="algolia-autocomplete-listbox-0" dir="auto" style="position: relative; vertical-align: top;"></span>
|
5
|
-
<pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: normal; text-indent: 0px; text-rendering: auto; text-transform: none;">c</pre>
|
6
|
-
<span class="ds-dropdown-menu ds-with-1" role="listbox" id="algolia-autocomplete-listbox-0" style="position: absolute; top: 100%; z-index: 100; left: 0px; right: auto; display: none;">
|
7
|
-
<div class="ds-dataset-1"></div>
|
8
|
-
</span>
|
9
|
-
</span>
|
10
|
-
<button class="btn-link bd-search-docs-toggle d-md-none p-0 ml-3" type="button" data-bs-toggle="collapse" data-bs-target="#bd-docs-nav" aria-controls="bd-docs-nav" aria-expanded="false" aria-label="Toggle docs avigation">
|
11
|
-
<svg class="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30" height="30" focusable="false">
|
12
|
-
<title>Menu</title>
|
13
|
-
<path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"></path>
|
14
|
-
</svg>
|
15
|
-
</button>
|
16
|
-
</form>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
{% if page.layout == "page" %}
|
20
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
|
21
|
-
<script type="text/javascript">
|
22
|
-
var docsearch = docsearch({
|
23
|
-
apiKey: 'b5c13bef25101d81f781cc15f4485a52',
|
24
|
-
indexName: 'fezvrasta_bootstrap_material_design',
|
25
|
-
inputSelector: '#search-input',
|
26
|
-
handleSelected: function (input, event, suggestion) {
|
27
|
-
var url = suggestion.url;
|
28
|
-
url = suggestion.isLvl1 ? url.split('#')[0]: url;
|
29
|
-
// If it's a title we remove the anchor so it does not jump.
|
30
|
-
window.location.href = url;
|
31
|
-
},
|
32
|
-
transformData: function (hits) {
|
33
|
-
return hits.map(function (hit) {
|
34
|
-
console.log(hit.url);
|
35
|
-
hit.url = hit.url.replace('http://localhost:41000/', '/');
|
36
|
-
return hit;
|
37
|
-
});
|
38
|
-
},
|
39
|
-
debug: false // Set debug to true if you want to inspect the dropdown
|
40
|
-
});
|
41
|
-
</script>
|
42
|
-
{% endif %}
|
data/assets/data/disqus.js
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
---
|
4
|
-
|
5
|
-
{% capture cache %}
|
6
|
-
|
7
|
-
{% comment %}
|
8
|
-
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/disqus.js
|
10
|
-
# Liquid PROCEDURE to generate the JS portion used by J1 Connector Disqus
|
11
|
-
#
|
12
|
-
# Product/Info:
|
13
|
-
# https://jekyll.one
|
14
|
-
#
|
15
|
-
# Copyright (C) 2021 Juergen Adams
|
16
|
-
#
|
17
|
-
# J1 Template is licensed under the MIT License.
|
18
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
-
# -----------------------------------------------------------------------------
|
20
|
-
# Test data:
|
21
|
-
# liquid_var: {{ liquid_var | debug }}
|
22
|
-
# config: {{ config | debug }}
|
23
|
-
# -----------------------------------------------------------------------------
|
24
|
-
{% endcomment %}
|
25
|
-
|
26
|
-
{% comment %} Liquid procedures
|
27
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
-
|
29
|
-
{% comment %} Set global settings
|
30
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
-
{% assign environment = site.environment %}
|
32
|
-
|
33
|
-
{% comment %} Set config files
|
34
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
-
{% assign modules = site.data.modules %}
|
36
|
-
{% assign j1_config = site.data.j1_config %}
|
37
|
-
|
38
|
-
{% comment %} Set variables
|
39
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
{% assign comment_provider = 'disqus' %}
|
41
|
-
{% assign site_id = j1_config.comments.disqus.site_id %}
|
42
|
-
|
43
|
-
{% comment %} Main
|
44
|
-
================================================================================ {% endcomment %}
|
45
|
-
|
46
|
-
$(document).ready(function() {
|
47
|
-
var dependencies_met_page_finished = setInterval (function () {
|
48
|
-
if (j1.getState() === 'finished') {
|
49
|
-
var disqus_shortname = '{{site_id}}';
|
50
|
-
// -----------------------------------------------------------------
|
51
|
-
// RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE
|
52
|
-
// SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
53
|
-
// LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
|
54
|
-
// https://disqus.com/admin/universalcode/#configuration-variables
|
55
|
-
// -----------------------------------------------------------------
|
56
|
-
//
|
57
|
-
// var disqus_config = function () {
|
58
|
-
// this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
59
|
-
// Replace PAGE_IDENTIFIER with your page's unique
|
60
|
-
// identifier variable
|
61
|
-
// this.page.identifier = PAGE_IDENTIFIER;
|
62
|
-
// };
|
63
|
-
//
|
64
|
-
// DON'T EDIT BELOW THIS LINE
|
65
|
-
// -----------------------------------------------------------------
|
66
|
-
(function() {
|
67
|
-
var d = document,
|
68
|
-
s = d.createElement('script');
|
69
|
-
s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
70
|
-
s.setAttribute('data-timestamp', +new Date());
|
71
|
-
(d.head || d.body).appendChild(s);
|
72
|
-
})();
|
73
|
-
clearInterval(dependencies_met_page_finished);
|
74
|
-
}
|
75
|
-
}, 25);
|
76
|
-
});
|
77
|
-
|
78
|
-
{% endcapture %}
|
79
|
-
|
80
|
-
{{ cache | strip_empty_lines }}
|
81
|
-
{% assign cache = nil %}
|
data/assets/data/hyvor.js
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
---
|
4
|
-
|
5
|
-
{% capture cache %}
|
6
|
-
|
7
|
-
{% comment %}
|
8
|
-
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/disqus.js
|
10
|
-
# Liquid PROCEDURE to generate the JS portion used by J1 Connector Disqus
|
11
|
-
#
|
12
|
-
# Product/Info:
|
13
|
-
# https://jekyll.one
|
14
|
-
#
|
15
|
-
# Copyright (C) 2021 Juergen Adams
|
16
|
-
#
|
17
|
-
# J1 Template is licensed under the MIT License.
|
18
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
-
# -----------------------------------------------------------------------------
|
20
|
-
# Test data:
|
21
|
-
# liquid_var: {{ liquid_var | debug }}
|
22
|
-
# config: {{ config | debug }}
|
23
|
-
# -----------------------------------------------------------------------------
|
24
|
-
{% endcomment %}
|
25
|
-
|
26
|
-
{% comment %} Liquid procedures
|
27
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
-
|
29
|
-
{% comment %} Set global settings
|
30
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
-
{% assign environment = site.environment %}
|
32
|
-
|
33
|
-
{% comment %} Set config files
|
34
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
-
{% assign modules = site.data.modules %}
|
36
|
-
{% assign j1_config = site.data.j1_config %}
|
37
|
-
|
38
|
-
{% comment %} Set variables
|
39
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
{% assign comment_provider = 'hyvor' %}
|
41
|
-
{% assign site_id = j1_config.comments.hyvor.site_id %}
|
42
|
-
|
43
|
-
{% assign production = false %}
|
44
|
-
{% if environment == 'prod' or environment == 'production' %}
|
45
|
-
{% assign production = true %}
|
46
|
-
{% endif %}
|
47
|
-
|
48
|
-
{% comment %} Main
|
49
|
-
================================================================================ {% endcomment %}
|
50
|
-
|
51
|
-
$(document).ready(function() {
|
52
|
-
var dependencies_met_page_finished = setInterval (function () {
|
53
|
-
if (j1.getState() === 'finished') {
|
54
|
-
// DON'T EDIT BELOW THIS LINE
|
55
|
-
// -----------------------------------------------------------------------
|
56
|
-
var site_id = {{site_id}};
|
57
|
-
(function() {
|
58
|
-
var HYVOR_TALK_WEBSITE = site_id;
|
59
|
-
var HYVOR_TALK_CONFIG = {
|
60
|
-
url: false,
|
61
|
-
id: false
|
62
|
-
};
|
63
|
-
})();
|
64
|
-
}
|
65
|
-
clearInterval(dependencies_met_page_finished);
|
66
|
-
}, 25);
|
67
|
-
});
|
68
|
-
|
69
|
-
{% endcapture %}
|
70
|
-
|
71
|
-
{{ cache | strip_empty_lines }}
|
72
|
-
{% assign cache = nil %}
|
@@ -1,244 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: sidebar
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/side_bar_tester/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [
|
20
|
-
clipboard, rouge, carousel, lightbox,
|
21
|
-
justifiedGallery, lightGallery
|
22
|
-
]
|
23
|
-
resource_options:
|
24
|
-
- attic:
|
25
|
-
padding_top: 400
|
26
|
-
padding_bottom: 50
|
27
|
-
opacity: 0.5
|
28
|
-
slides:
|
29
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
30
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
31
|
-
badge:
|
32
|
-
type: unsplash
|
33
|
-
author: Ricardo Gomez Angel
|
34
|
-
href: https://unsplash.com/@ripato/portfolio
|
35
|
-
---
|
36
|
-
|
37
|
-
// Page Initializer
|
38
|
-
// =============================================================================
|
39
|
-
// Enable the Liquid Preprocessor
|
40
|
-
:page-liquid:
|
41
|
-
|
42
|
-
// Set (local) page attributes here
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
// :page--attr: <attr-value>
|
45
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="all" %}
|
54
|
-
|
55
|
-
// Page content
|
56
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
-
|
58
|
-
// Include sub-documents (if any)
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
|
61
|
-
Welcome to the first preview page focussing on the image module. This page
|
62
|
-
shows some valuable features of the J1 Template to manage your image-based
|
63
|
-
content using lightboxes, carousels (slider), and galleries.
|
64
|
-
|
65
|
-
The image module offers complex functionality based on powerful OpenSource
|
66
|
-
libraries like JustifiedGallery for high-end, masonry-styled preview maps.
|
67
|
-
J1 Template uses the jQuery plugin Owl Carousel as a base for image sliders.
|
68
|
-
A carousel app (slider) lets you present your images as shows.
|
69
|
-
|
70
|
-
Lightboxes like LightGallery or Lightbox V2 support your web for enlarged
|
71
|
-
image views of your picture or video content. Have a look, a quick tour
|
72
|
-
of what J1 can do for image data. Have fun!
|
73
|
-
|
74
|
-
== J1 Lightboxes
|
75
|
-
|
76
|
-
A Lightbox, in general, is a helper which displays enlarged, almost
|
77
|
-
screen-filling versions of pictures (or videos) while dimming the rest of the
|
78
|
-
page. The technique, introduced by Lightbox V2, gained widespread popularity
|
79
|
-
due to its simple and elegant style. The term lightbox is used since then for
|
80
|
-
Javascript libraries to support such functionality.
|
81
|
-
|
82
|
-
For the J1 Template, two different lightboxes can be used:
|
83
|
-
|
84
|
-
* Lightbox V2 (lightbox)
|
85
|
-
* LightGallery
|
86
|
-
|
87
|
-
The default lightbox used by J1 Template is Lightbox V2, a Javascript library
|
88
|
-
written by _Lokesh Dhakar_. The name of that (build-in) is simply: lightbox.
|
89
|
-
For more complex use cases, like a thumbnail gallery preview or video support,
|
90
|
-
LightGallery can be used alternatively.
|
91
|
-
|
92
|
-
NOTE: The name LightGallery implies a sort of a Gallery, but the library is a
|
93
|
-
_lightbox_. And, LightGallery provides much more functionality on image-based
|
94
|
-
data rather than enlarged displaying of images. See the examples below to check
|
95
|
-
for the differences in comparison to the simpler Lightbox V2 lightbox.
|
96
|
-
|
97
|
-
Both lightboxes are fully integrated to be used as standalone modules or
|
98
|
-
used as helpers *under-the-hood* by other apps or modules focussing on
|
99
|
-
image-data like gallery or carousel, the build-in carousel module.
|
100
|
-
|
101
|
-
== Lightbox Examples
|
102
|
-
|
103
|
-
Find below an example of using the lightbox Lightbox standalone. See how
|
104
|
-
single (individual) images are linked for use with Lightbox.
|
105
|
-
|
106
|
-
.Lightbox block for standalone images
|
107
|
-
lightbox::example-standalone[ 400, {data-images-standalone} ]
|
108
|
-
|
109
|
-
Lightbox supports image groups (image sets). Click on the images below to
|
110
|
-
see how Lightbox manages a group of images.
|
111
|
-
|
112
|
-
.Lightbox block for grouped images
|
113
|
-
lightbox::example-group[ 400, {data-images-group}, group ]
|
114
|
-
|
115
|
-
=== LightGallery Example
|
116
|
-
|
117
|
-
LightGallery provides more complex functions on image data. The module
|
118
|
-
supports a gallery-style thumbnail preview plus image resizing, a download
|
119
|
-
dialog, sharing provider support, and some more helpful. Check what
|
120
|
-
LightGallery can do by the following example.
|
121
|
-
|
122
|
-
gallery::jg_old_times[]
|
123
|
-
|
124
|
-
|
125
|
-
++++
|
126
|
-
|
127
|
-
<button class="btn u-sidebar-navigation__toggler" id="sideNav-toggler" aria-haspopup="true" aria-expanded="false" aria-controls="sideNav" aria-label="Toggle Header" data-bs-target="#sideNav" style="display: block;">
|
128
|
-
<i id="fam-icon" class="mdi mdi-wrap mdi-"></i>
|
129
|
-
</button>
|
130
|
-
|
131
|
-
<style>
|
132
|
-
|
133
|
-
/* Sidebar shortcode navigation styles */
|
134
|
-
/*------------------------------------
|
135
|
-
Sidebar Navigation
|
136
|
-
------------------------------------*/
|
137
|
-
@media all and (min-width: 992px) {
|
138
|
-
.u-sidebar-navigation {
|
139
|
-
position: fixed;
|
140
|
-
top: 0;
|
141
|
-
left: -21.42857rem;
|
142
|
-
width: 300px;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
/*
|
147
|
-
.u-sidebar-navigation-inner {
|
148
|
-
background-color: #1c2434;
|
149
|
-
color: #fff;
|
150
|
-
padding: 20px 0;
|
151
|
-
}
|
152
|
-
|
153
|
-
.u-sidebar-navigation__search-input {
|
154
|
-
border-radius: 3px;
|
155
|
-
border: none;
|
156
|
-
}
|
157
|
-
|
158
|
-
.u-sidebar-navigation .nav-link {
|
159
|
-
color: #fff;
|
160
|
-
padding: 0.5rem 1.42857rem;
|
161
|
-
}
|
162
|
-
|
163
|
-
.u-sidebar-navigation .nav-link:hover {
|
164
|
-
background-color: rgba(255, 255, 255, 0.15);
|
165
|
-
}
|
166
|
-
|
167
|
-
.u-sidebar-navigation .nav-link.active {
|
168
|
-
background-color: rgba(255, 255, 255, 0.1);
|
169
|
-
}
|
170
|
-
|
171
|
-
*/
|
172
|
-
.u-sidebar-navigation__toggler {
|
173
|
-
position: fixed;
|
174
|
-
top: 120px;
|
175
|
-
left: 0;
|
176
|
-
width: 53px;
|
177
|
-
height: 53px;
|
178
|
-
background-color: #1c2434;
|
179
|
-
color: #fff;
|
180
|
-
border-radius: 0 3px 3px 0;
|
181
|
-
font-size: 22px;
|
182
|
-
z-index: 2;
|
183
|
-
}
|
184
|
-
|
185
|
-
.u-sidebar-navigation__toggler:hover, .u-sidebar-navigation__toggler:focus {
|
186
|
-
color: #fff;
|
187
|
-
}
|
188
|
-
|
189
|
-
/*
|
190
|
-
.u-sidebar-navigation__closer {
|
191
|
-
position: absolute;
|
192
|
-
top: 22px;
|
193
|
-
right: 15px;
|
194
|
-
width: 25px;
|
195
|
-
height: 25px;
|
196
|
-
padding: 0;
|
197
|
-
color: #fff;
|
198
|
-
background-color: transparent;
|
199
|
-
z-index: 3;
|
200
|
-
}
|
201
|
-
|
202
|
-
.u-sidebar-navigation__closer:hover, .u-sidebar-navigation__closer:focus {
|
203
|
-
color: #fff;
|
204
|
-
}
|
205
|
-
|
206
|
-
@media all and (max-width: 992px - 1) {
|
207
|
-
.u-sidebar-navigation-list {
|
208
|
-
display: block;
|
209
|
-
-webkit-columns: 4;
|
210
|
-
columns: 4;
|
211
|
-
}
|
212
|
-
.u-sidebar-navigation-list .dropdown-toggle {
|
213
|
-
display: none;
|
214
|
-
}
|
215
|
-
.u-sidebar-navigation-list .dropdown-menu {
|
216
|
-
display: block;
|
217
|
-
max-height: 100%;
|
218
|
-
margin: 0;
|
219
|
-
float: none;
|
220
|
-
opacity: 1;
|
221
|
-
}
|
222
|
-
}
|
223
|
-
|
224
|
-
@media all and (max-width: 768px - 1) {
|
225
|
-
.u-sidebar-navigation-list {
|
226
|
-
-webkit-columns: 3;
|
227
|
-
columns: 3;
|
228
|
-
}
|
229
|
-
}
|
230
|
-
|
231
|
-
@media all and (max-width: 576px - 1) {
|
232
|
-
.u-sidebar-navigation-list {
|
233
|
-
-webkit-columns: 1;
|
234
|
-
columns: 1;
|
235
|
-
}
|
236
|
-
}
|
237
|
-
|
238
|
-
.u-has-sidebar-navigation .u-header__overlay {
|
239
|
-
display: none;
|
240
|
-
}
|
241
|
-
*/
|
242
|
-
|
243
|
-
</style>
|
244
|
-
++++
|