j1-template 2020.0.20 → 2020.0.21
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/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +3 -3
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/generator.html +1 -1
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +117 -0
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +14 -12
- data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +3 -3
- data/apps/public/cc/cc.yml +34 -35
- data/assets/data/authclient.html +1 -1
- data/assets/data/banner.html +1 -1
- data/assets/data/carousel.json +1 -1
- data/assets/data/cookiebar.html +1 -1
- data/assets/data/footer.html +1 -1
- data/assets/data/galleries.json +1 -1
- data/assets/data/gallery_customizer.html +1 -1
- data/assets/data/mdi_icons.json +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 +1 -1
- data/assets/data/quicklinks.html +1 -1
- data/assets/data/search.json +1 -1
- data/assets/data/ssm.html +1 -1
- data/assets/data/themes.json +1 -1
- data/assets/data/twa_v1.json +1 -1
- data/assets/themes/j1/adapter/js/algolia.js +1 -1
- data/assets/themes/j1/adapter/js/attic.js +1 -1
- data/assets/themes/j1/adapter/js/back2top.js +1 -1
- data/assets/themes/j1/adapter/js/bmd.js +1 -1
- data/assets/themes/j1/adapter/js/carousel.js +1 -1
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/cookiebar.js +1 -1
- data/assets/themes/j1/adapter/js/framer.js +1 -1
- data/assets/themes/j1/adapter/js/gallery_customizer.js +1 -1
- data/assets/themes/j1/adapter/js/j1.js +1 -1
- data/assets/themes/j1/adapter/js/jf_gallery.js +1 -1
- data/assets/themes/j1/adapter/js/lightbox.js +1 -1
- data/assets/themes/j1/adapter/js/logger.js +1 -1
- data/assets/themes/j1/adapter/js/mmenu.js +1 -1
- data/assets/themes/j1/adapter/js/navigator.js +2 -2
- data/assets/themes/j1/adapter/js/searcher.js +1 -1
- data/assets/themes/j1/adapter/js/ssm.js +1 -1
- data/assets/themes/j1/adapter/js/themer.js +2 -2
- data/assets/themes/j1/adapter/js/toccer.js +1 -1
- data/assets/themes/j1/core/css/animate.css +15 -15
- data/assets/themes/j1/core/css/bootstrap.css +12 -12
- data/assets/themes/j1/core/css/icons-fontawesome.css +17 -17
- data/assets/themes/j1/core/css/icons-iconify.css +15 -15
- data/assets/themes/j1/core/css/icons-materialdesign.css +17 -17
- data/assets/themes/j1/core/css/icons-twemoji.css +18 -18
- data/assets/themes/j1/core/css/theme-extensions.css +106 -92
- data/assets/themes/j1/core/css/theme-extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno-dark.css +346 -249
- data/assets/themes/j1/core/css/uno-dark.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +125 -88
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +57 -37
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -1
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/popper/js/popper.js +1 -1
- data/assets/themes/j1/modules/popper/js/popper.js.map +1 -1
- data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -1
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/resources.yml +2 -2
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +81 -0
- data/lib/starter_web/collections/_biography/becoming.adoc +72 -0
- data/lib/starter_web/collections/_biography/born-to-run.adoc +78 -0
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +75 -0
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +69 -0
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +72 -0
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +73 -0
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +64 -0
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +64 -0
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +62 -0
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +63 -0
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +62 -0
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +60 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +67 -0
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +61 -0
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +69 -0
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +66 -0
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +78 -0
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +62 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +27 -23
- data/lib/starter_web/collections/posts/public/series/_posts/includes/attributes.asciidoc +66 -0
- data/lib/starter_web/collections/posts/public/series/_posts/includes/documents/100-docker-using-shared-folders.asciidoc +430 -0
- data/lib/starter_web/collections/posts/public/series/_posts/includes/documents/loop.sh +28 -0
- data/lib/starter_web/collections/posts/public/series/_posts/includes/tables/debug_variables.asciidoc +48 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +134 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/includes/attributes.asciidoc +41 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/includes/tables/debug_variables.asciidoc +48 -0
- data/lib/starter_web/includes/attributes.asciidoc +183 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/protected/site_search.adoc +8 -19
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/bookshelf/100_whats_up.adoc +281 -0
- data/lib/starter_web/pages/public/bookshelf/200_book_shelf_biography.adoc +52 -0
- data/lib/starter_web/pages/public/bookshelf/300_book_shelf_fantasy.adoc +54 -0
- data/lib/starter_web/pages/public/bookshelf/400_book_shelf_romance.adoc +54 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +10 -19
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +12 -23
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +11 -21
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → includes}/attributes.asciidoc +21 -12
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → includes}/documents/100_meet_and_greet_jekyll.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → includes}/documents/200_preparations.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → includes}/documents/300_first_awesome_web.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → includes}/parts.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +7 -20
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +7 -20
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +9 -24
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +23 -37
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +14 -29
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +14 -28
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +7 -22
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +11 -26
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/attributes.asciidoc +5 -30
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/100_gistblock.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_bottom_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_bottom_left_warning.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_bottom_right_danger.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_central_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_full_height_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_full_height_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_table_3_column.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_top_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_top_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/410_top_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → includes}/documents/419_advanced_modals_demo.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/whats_up.adoc +6 -25
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +5 -11
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +25 -31
- data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +3 -2
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -0
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +41 -47
- data/lib/starter_web/pages/public/previewer/iframer.adoc +2 -7
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/attributes.asciidoc +16 -8
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/120_relative_sizes.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/200_rotate.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/300_flip.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/600_md_color_palette.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/twitter_emoji/200_rotate.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/twitter_emoji/300_flip.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → includes}/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +8 -21
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +10 -19
- data/lib/starter_web/pages/public/{learn/examples → test_pages}/floating_ad.adoc +0 -0
- data/lib/starter_web/pages/public/{learn/examples → test_pages}/floating_div.adoc +0 -0
- data/lib/starter_web/pages/public/test_pages/includes/attributes.asciidoc +47 -0
- data/lib/starter_web/pages/public/test_pages/includes/documents/100_gistblock.asciidoc +27 -0
- data/lib/starter_web/pages/public/test_pages/includes/images/pages/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/pages/public/test_pages/includes/tables/000_bem_specifiers.asciidoc +22 -0
- data/lib/starter_web/pages/public/test_pages/includes/tables/000_specifier_examples.asciidoc +56 -0
- data/lib/starter_web/pages/public/{000_nav_pagination_tester.adoc → test_pages/nav_pagination_tester.adoc} +1 -1
- data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +103 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +82 -46
- data/assets/README.md +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/bs_tour.js +0 -98
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b681224aa78c5feac1963cc0c68b8f6525d0a35a3d20706700d16ced3fd6d90
|
4
|
+
data.tar.gz: 77a63976580b15abb2d83b1d563334ded39a4ade3edd970e778c36e3cb7efb41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c5fe2db9d6b14fd5c1d24fcda6c5ae54584568169d922313806565a3341bbefac37d80731204ddbcede2d468b010efd401126ca697dc5b8416979dbc4306a5b
|
7
|
+
data.tar.gz: 366f13212b8612f231de02c87d163a0821e847660f2e41a2a3d3e03e09693edb12e9d8b63d2a15598c7b9c91058ed3b0b7eaba5e8fc5b1326ab0ee5a86abe42e
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<!-- [INFO ] [about_box.proc ] [ place about box ] -->
|
34
34
|
<div class="col-md-{{footer_box_width_md}}">
|
35
35
|
<!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
|
36
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
36
|
+
<h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0">{{title}}</h2>
|
37
37
|
<p class="tagline mb-0">
|
38
38
|
<large>{{tagline}}</large>
|
39
39
|
</p>
|
@@ -32,18 +32,18 @@
|
|
32
32
|
<!-- [INFO ] [links_box.proc ] [ place links box ] -->
|
33
33
|
<div class="col-md-{{footer_box_width_md}}">
|
34
34
|
<!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
|
35
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
35
|
+
<h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0">{{title}}</h2>
|
36
36
|
<p class="tagline mb-0">
|
37
37
|
<large>{{tagline}}</large>
|
38
38
|
</p>
|
39
39
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
|
40
40
|
|
41
|
-
<ul class="list-unstyled
|
41
|
+
<ul class="list-unstyled link-news">
|
42
42
|
{% for property in links %}
|
43
43
|
{% comment %} <!-- proc - property.link: {{ property.link }} --> {% endcomment %}
|
44
44
|
<li>
|
45
45
|
<a href="{{property.link.href}}" target="_blank" rel="noopener noreferrer">{{property.link.title}}</a>
|
46
|
-
<div
|
46
|
+
<div class="text-uppercase"><small>{{property.link.tagline}}</small></div>
|
47
47
|
</li>
|
48
48
|
{% endfor %}
|
49
49
|
</ul>
|
@@ -39,7 +39,7 @@
|
|
39
39
|
<!-- [INFO ] [news_box.proc ] [ place news box ] -->
|
40
40
|
<div class="col-md-{{footer_box_width_md}}">
|
41
41
|
<!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
|
42
|
-
<h2 class="text-uppercase g-color-white-opacity-
|
42
|
+
<h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0">{{title}}</h2>
|
43
43
|
<p class="tagline mb-0">
|
44
44
|
<large>{{tagline}}</large>
|
45
45
|
</p>
|
@@ -0,0 +1,117 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/procedures/global/attributes_loader.proc
|
4
|
+
#
|
5
|
+
# Liquid PROCEDURE to setup the Asciidoc attributes for an (entry)
|
6
|
+
# document. Initializes the all include paths for folders: images,
|
7
|
+
# documents and tables
|
8
|
+
#
|
9
|
+
# Copyright (C) 2020 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
# Usage:
|
15
|
+
# 1) capture the 'load_attributes' variable by full path
|
16
|
+
# 2) include|configure the load_attributes procedure
|
17
|
+
#
|
18
|
+
# Example:
|
19
|
+
# {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
20
|
+
# {% include {{load_attributes}} scope="global|local|all" %}
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
# NOTE:
|
23
|
+
# Default: scope="global"
|
24
|
+
# -----------------------------------------------------------------------------
|
25
|
+
# NOTE:
|
26
|
+
# Include directive (include::)
|
27
|
+
#
|
28
|
+
# The include directive looks like a >>block macro<< but it is a
|
29
|
+
# >>preprocessor directive<< like ifdef and ifeval. It gets processed
|
30
|
+
# before the lines are parsed into a document structure.
|
31
|
+
#
|
32
|
+
# If the path relative, the processor resolves the path using the following
|
33
|
+
# rules:
|
34
|
+
#
|
35
|
+
# If the include directive is used in the main (top-level) document,
|
36
|
+
# relative paths are resolved relative to the base directory. (The base
|
37
|
+
# directory defaults to the directory of the main document and can be
|
38
|
+
# overridden from the CLI or API).
|
39
|
+
#
|
40
|
+
# If the include directive is used in a file that has >>itself<<
|
41
|
+
# been included, the path is resolved relative to the including
|
42
|
+
# (i.e. current) file.
|
43
|
+
# -----------------------------------------------------------------------------
|
44
|
+
# NOTE:
|
45
|
+
# Calculation of Pathes
|
46
|
+
#
|
47
|
+
# Web sources are loaded by the Web Server. The location imagesdir
|
48
|
+
# is calculated relative to "_site" (web root). Asciidoc resources
|
49
|
+
# are being collected by AsciiDoctor relative to "page_root".
|
50
|
+
# -----------------------------------------------------------------------------
|
51
|
+
# TODO:
|
52
|
+
# For POSTS, currently the ASCIIDOC macro include:: does NOT work.
|
53
|
+
# Path calculation needes to be fixed. Seems Jekyll is using different
|
54
|
+
# flavours for page_path (for posts and pages).
|
55
|
+
# -----------------------------------------------------------------------------
|
56
|
+
# Test data:
|
57
|
+
# liquid_var: {{ liquid_var | debug }}
|
58
|
+
# -----------------------------------------------------------------------------
|
59
|
+
{% endcomment %}
|
60
|
+
|
61
|
+
{% comment %} Liquid procedures
|
62
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
63
|
+
{% capture get_page_path %}themes/{{site.template.name}}/procedures/global/get_page_path.proc{% endcapture %}
|
64
|
+
{% include {{get_page_path}} %}
|
65
|
+
|
66
|
+
{% comment %} Variables
|
67
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
68
|
+
{% assign scope = include.scope %}
|
69
|
+
{% assign path_elements = page.path|strip|split:'/' %}
|
70
|
+
|
71
|
+
{% comment %} Source pathes
|
72
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
73
|
+
{% capture content_root %}path_elements[0]/..{% endcapture %}
|
74
|
+
{% capture page_root %}{{page_path|strip|remove_first:'./'}}{% endcapture %}
|
75
|
+
{% capture site_root %}{{page_path source_dir}}{% endcapture %}
|
76
|
+
|
77
|
+
{% comment %} Set PATH attributes
|
78
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
79
|
+
:globalincludedir: {{content_root}}/includes
|
80
|
+
:includedir: {{page_root}}/includes
|
81
|
+
:documentdir: {includedir}/documents
|
82
|
+
:imagedir: {includedir}/images
|
83
|
+
:tabledir: {includedir}/tables
|
84
|
+
|
85
|
+
// Load|Publish attributes from FILE|S
|
86
|
+
// -----------------------------------------------------------------------------
|
87
|
+
{% if scope == "global" %}
|
88
|
+
include::{globalincludedir}/attributes.asciidoc[tag=urls]
|
89
|
+
include::{globalincludedir}/attributes.asciidoc[tag=tags]
|
90
|
+
include::{globalincludedir}/attributes.asciidoc[tag=data]
|
91
|
+
include::{globalincludedir}/attributes.asciidoc[tag=images]
|
92
|
+
include::{globalincludedir}/attributes.asciidoc[tag=products]
|
93
|
+
include::{globalincludedir}/attributes.asciidoc[tag=authors]
|
94
|
+
{% elsif scope == "local" %}
|
95
|
+
include::{includedir}/attributes.asciidoc[tag=authors]
|
96
|
+
include::{includedir}/attributes.asciidoc[tag=tags]
|
97
|
+
include::{includedir}/attributes.asciidoc[tag=urls]
|
98
|
+
include::{includedir}/attributes.asciidoc[tag=data]
|
99
|
+
{% elsif scope == "all" %}
|
100
|
+
include::{globalincludedir}/attributes.asciidoc[tag=urls]
|
101
|
+
include::{globalincludedir}/attributes.asciidoc[tag=tags]
|
102
|
+
include::{globalincludedir}/attributes.asciidoc[tag=data]
|
103
|
+
include::{globalincludedir}/attributes.asciidoc[tag=images]
|
104
|
+
include::{globalincludedir}/attributes.asciidoc[tag=products]
|
105
|
+
include::{globalincludedir}/attributes.asciidoc[tag=authors]
|
106
|
+
include::{includedir}/attributes.asciidoc[tag=authors]
|
107
|
+
include::{includedir}/attributes.asciidoc[tag=tags]
|
108
|
+
include::{includedir}/attributes.asciidoc[tag=urls]
|
109
|
+
include::{includedir}/attributes.asciidoc[tag=data]
|
110
|
+
{% else %}
|
111
|
+
include::{globalincludedir}/attributes.asciidoc[tag=urls]
|
112
|
+
include::{globalincludedir}/attributes.asciidoc[tag=tags]
|
113
|
+
include::{globalincludedir}/attributes.asciidoc[tag=data]
|
114
|
+
include::{globalincludedir}/attributes.asciidoc[tag=images]
|
115
|
+
include::{globalincludedir}/attributes.asciidoc[tag=products]
|
116
|
+
include::{globalincludedir}/attributes.asciidoc[tag=authors]
|
117
|
+
{% endif %}
|
@@ -38,6 +38,8 @@
|
|
38
38
|
# -----------------------------------------------------------------------------
|
39
39
|
{% endcomment %}
|
40
40
|
|
41
|
+
{% comment %} Liquid procedures
|
42
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
41
43
|
|
42
44
|
{% comment %} Variables
|
43
45
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -50,19 +52,19 @@
|
|
50
52
|
{% endif %}
|
51
53
|
|
52
54
|
|
53
|
-
{% comment %} Liquid procedures
|
54
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
55
|
-
|
56
|
-
|
57
55
|
{% comment %} Main
|
56
|
+
--------------------------------------------------------------------------------
|
57
|
+
jadams, 2020-07-24: style cart creates a unwanted border, removed
|
58
|
+
card styles
|
59
|
+
jadams, 2020-07-24: class "cart" is NOT longer overloaded since CSS
|
60
|
+
generation has changed
|
61
|
+
<!-- div class="card tag__box raised-z0 mt-0 mb-2" -->
|
58
62
|
-------------------------------------------------------------------------------- {% endcomment %}
|
63
|
+
|
59
64
|
<div id="word-cloud" class="row ml-3 mr-3">
|
60
|
-
|
61
|
-
|
62
|
-
<!-- div class="card tagbox raised-z0 mt-0 mb-2" -->
|
63
|
-
<div class="tagbox mt-0 mb-2">
|
65
|
+
<div class="tag__box mt-0 mb-2">
|
66
|
+
<div class="tag__cloud">
|
64
67
|
|
65
|
-
<div class="tag-cloud">
|
66
68
|
{% unless word_list %}
|
67
69
|
{% assign word_list = 'empty wordlist' %}
|
68
70
|
<div class="content"><b>Cannot create word cloud. <span class="color-red">EMPTY or INVALID word cloud specified: <i>{{word_list}}</i></span></b></div>
|
@@ -92,7 +94,7 @@
|
|
92
94
|
{% endif %}
|
93
95
|
</ul>
|
94
96
|
{% endunless %}
|
95
|
-
</div> <!-- end tag-cloud -->
|
96
97
|
|
97
|
-
|
98
|
-
</div
|
98
|
+
</div> <!-- end tag__cloud -->
|
99
|
+
</div> <!-- end tag__box -->
|
100
|
+
</div> <!-- end row -->
|
@@ -51,7 +51,7 @@
|
|
51
51
|
{% capture web_root %}{{ page_path | remove_first: source_dir }}{% endcapture %}
|
52
52
|
|
53
53
|
:includedir: {{page_root}}/000_includes
|
54
|
-
:
|
54
|
+
:documentdir: {includedir}/documents
|
55
55
|
:tabledir: {includedir}/tables
|
56
56
|
//:tabledir: ../tables
|
57
57
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
{% comment %} TODO: For POSTS, currently the ASCIIDOC macro include:: does NOT work.
|
32
32
|
Path calculation needes to be fixed. Seems Jekyll is using different flavours
|
33
|
-
for page_path (post|pages).
|
33
|
+
for page_path (post|pages).
|
34
34
|
-------------------------------------------------------------------------------- {% endcomment %}
|
35
35
|
|
36
36
|
|
@@ -70,17 +70,17 @@ for page_path (post|pages).
|
|
70
70
|
{% comment %} Variables
|
71
71
|
-------------------------------------------------------------------------------- {% endcomment %}
|
72
72
|
{% if site.source.size %} {% assign source_dir = site.source %} {% else %} {% assign source_path = "." %} {% endif %}
|
73
|
-
|
74
73
|
{% include {{get_page_path}} %}
|
75
74
|
|
76
75
|
{% comment %} dot issue: Woraround - remove "./" from path if site.source = "."
|
77
76
|
TODO: Improve Liquid scripts to manage the "dot issue"
|
78
77
|
-------------------------------------------------------------------------------- {% endcomment %}
|
78
|
+
|
79
79
|
{% capture page_root %}{{ page_path | strip | remove_first: './' }}{% endcapture %}
|
80
80
|
{% capture web_root %}{{ page_path source_dir }}{% endcapture %}
|
81
81
|
|
82
82
|
:includedir: {{page_root}}/000_includes
|
83
|
-
:
|
83
|
+
:documentdir: {includedir}/documents
|
84
84
|
:tabledir: {includedir}/tables
|
85
85
|
|
86
86
|
{% comment %} Moved imagesdir setting to the document
|
data/apps/public/cc/cc.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ------------------------------------------------------------------------------
|
2
|
-
# ~/
|
2
|
+
# ~/admin/config/config.yml
|
3
3
|
# Netlify CMS configuration for J1 Template
|
4
4
|
#
|
5
5
|
# Product/Info:
|
@@ -9,54 +9,54 @@
|
|
9
9
|
#
|
10
10
|
# J1 Template is licensed under the MIT License.
|
11
11
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
-
#
|
13
|
-
# NOTE: If 'localhost' is used, the base_url (external OAuth Client)
|
14
|
-
# in the backend settings could be set to an 'empty string'
|
12
|
+
#
|
15
13
|
# ------------------------------------------------------------------------------
|
16
14
|
|
17
15
|
# ==============================================================================
|
18
|
-
#
|
16
|
+
# Global settings
|
19
17
|
#
|
20
18
|
|
21
19
|
# ------------------------------------------------------------------------------
|
22
|
-
#
|
20
|
+
# Backend settings (Repo|OAuth Client)
|
23
21
|
#
|
24
22
|
# publish_mode: editorial_workflow
|
25
23
|
#
|
26
24
|
backend:
|
27
25
|
# git-gateway
|
28
26
|
name: github
|
29
|
-
# path to your
|
30
|
-
repo:
|
27
|
+
# path to your GitHub repository (w/o https://github.com/)
|
28
|
+
repo: your-repo
|
31
29
|
# e.g master | develop
|
32
|
-
branch:
|
33
|
-
# url of 'external' oauth client (e.g. j1 utility server at: http://localhost:44444)
|
30
|
+
branch: your-repo-branch
|
31
|
+
# url of 'external' oauth client (e.g. j1 utility server at: http://localhost:44444)
|
34
32
|
# base_url: http://localhost:44444 # web
|
35
33
|
# base_url: http://localhost:5000 # app
|
34
|
+
# base_url: http:/your.domain:port # app
|
35
|
+
# NOTE: for domain localhost, baseurl could be set to EMPTY
|
36
36
|
base_url:
|
37
37
|
|
38
38
|
# ------------------------------------------------------------------------------
|
39
|
-
#
|
39
|
+
# Site (production) settings
|
40
40
|
#
|
41
|
-
# logo_url:
|
42
|
-
# site_url:
|
43
|
-
# display_url:
|
41
|
+
# logo_url: your-logo-url
|
42
|
+
# site_url: your-site-url
|
43
|
+
# display_url: your-display-url
|
44
44
|
#
|
45
45
|
show_preview_links: false
|
46
46
|
|
47
47
|
# ------------------------------------------------------------------------------
|
48
|
-
#
|
48
|
+
# Media (asset) settings
|
49
49
|
#
|
50
50
|
# media_library:
|
51
51
|
# name: uploadcare
|
52
52
|
# config:
|
53
53
|
# publicKey: demopublickey
|
54
54
|
#
|
55
|
-
media_folder:
|
56
|
-
public_folder:
|
55
|
+
media_folder: /assets/images/public
|
56
|
+
public_folder: /assets/uploads/
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
|
-
#
|
59
|
+
# File (name) settings
|
60
60
|
#
|
61
61
|
# The slug option allows you to change how filenames for entries are
|
62
62
|
# created and sanitized. For modifying the actual data in a slug, see
|
@@ -68,28 +68,29 @@ slug:
|
|
68
68
|
sanitize_replacement: "_"
|
69
69
|
|
70
70
|
|
71
|
+
|
71
72
|
# ==============================================================================
|
72
|
-
#
|
73
|
+
# Collection (files and folders) settings
|
73
74
|
#
|
74
75
|
collections:
|
75
76
|
|
76
77
|
# ----------------------------------------------------------------------------
|
77
|
-
#
|
78
|
+
# Site Configuration
|
78
79
|
#
|
79
80
|
- label: Site Configuration
|
80
|
-
name: site_config
|
81
|
+
name: site_config
|
81
82
|
files:
|
82
83
|
|
83
84
|
# ------------------------------------------------------------------------
|
84
|
-
#
|
85
|
+
# Global Site Configuration
|
85
86
|
#
|
86
87
|
- label: Global Settings
|
87
88
|
name: global_site_config
|
88
|
-
file:
|
89
|
+
file: _cc_test_data/_config.yml
|
89
90
|
fields:
|
90
91
|
|
91
92
|
# --------------------------------------------------------------------
|
92
|
-
#
|
93
|
+
# About this configuration (used for J1 CC only)
|
93
94
|
#
|
94
95
|
- label: about
|
95
96
|
name: about_config
|
@@ -526,7 +527,7 @@ collections:
|
|
526
527
|
#
|
527
528
|
- label: Resource Settings
|
528
529
|
name: site_resource_settings
|
529
|
-
file:
|
530
|
+
file: _cc_test_data/_data/resources.yml
|
530
531
|
fields:
|
531
532
|
|
532
533
|
# --------------------------------------------------------------------
|
@@ -613,7 +614,7 @@ collections:
|
|
613
614
|
#
|
614
615
|
- label: Banner Settings
|
615
616
|
name: banner_settings
|
616
|
-
file:
|
617
|
+
file: _cc_test_data/_data/blocks/banner.yml
|
617
618
|
fields:
|
618
619
|
|
619
620
|
# --------------------------------------------------------------------
|
@@ -817,7 +818,7 @@ collections:
|
|
817
818
|
#
|
818
819
|
- label: Panel Settings
|
819
820
|
name: panel_settings
|
820
|
-
file:
|
821
|
+
file: _cc_test_data/_data/blocks/panel.yml
|
821
822
|
fields:
|
822
823
|
|
823
824
|
# --------------------------------------------------------------------
|
@@ -1015,7 +1016,7 @@ collections:
|
|
1015
1016
|
#
|
1016
1017
|
- label: Footer Settings
|
1017
1018
|
name: footer_settings
|
1018
|
-
file:
|
1019
|
+
file: _cc_test_data/_data/blocks/footer.yml
|
1019
1020
|
fields:
|
1020
1021
|
|
1021
1022
|
# --------------------------------------------------------------------
|
@@ -1196,7 +1197,7 @@ collections:
|
|
1196
1197
|
#
|
1197
1198
|
- label: J1 Cookie Consent
|
1198
1199
|
name: config_cookie_consent
|
1199
|
-
file:
|
1200
|
+
file: _cc_test_data/_data/modules/cookie_consent.yml
|
1200
1201
|
fields:
|
1201
1202
|
|
1202
1203
|
# --------------------------------------------------------------------
|
@@ -1261,7 +1262,7 @@ collections:
|
|
1261
1262
|
#
|
1262
1263
|
- label: J1 Jekyll Search
|
1263
1264
|
name: config_jekyll_search
|
1264
|
-
file:
|
1265
|
+
file: _cc_test_data/_data/modules/jekyll_search.yml
|
1265
1266
|
fields:
|
1266
1267
|
|
1267
1268
|
# --------------------------------------------------------------------
|
@@ -1301,7 +1302,7 @@ collections:
|
|
1301
1302
|
#
|
1302
1303
|
- label: J1 Navigation
|
1303
1304
|
name: config_navigation
|
1304
|
-
file:
|
1305
|
+
file: _cc_test_data/_data/modules/navigator.yml
|
1305
1306
|
fields:
|
1306
1307
|
|
1307
1308
|
# --------------------------------------------------------------------
|
@@ -1489,7 +1490,7 @@ collections:
|
|
1489
1490
|
#
|
1490
1491
|
- label: J1 Back2Top
|
1491
1492
|
name: config_back2top
|
1492
|
-
file:
|
1493
|
+
file: _cc_test_data/_data/modules/back2top.yml
|
1493
1494
|
fields:
|
1494
1495
|
|
1495
1496
|
# --------------------------------------------------------------------
|
@@ -1539,7 +1540,7 @@ collections:
|
|
1539
1540
|
#
|
1540
1541
|
- label: J1 WebHook
|
1541
1542
|
name: config_webhook
|
1542
|
-
file:
|
1543
|
+
file: _cc_test_data/_data/modules/webhook.yml
|
1543
1544
|
fields:
|
1544
1545
|
|
1545
1546
|
# --------------------------------------------------------------------
|
@@ -1643,7 +1644,5 @@ collections:
|
|
1643
1644
|
- { label: response success, name: response_success, widget: string, hint: Response send if built script finishes successfully }
|
1644
1645
|
- { label: response failed, name: response_failed, widget: string, hint: Response send if Built script failed }
|
1645
1646
|
|
1646
|
-
|
1647
|
-
|
1648
1647
|
# ------------------------------------------------------------------------------
|
1649
1648
|
# END config
|