j1_template_mde 2018.4.24 → 2018.4.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_app.html +3 -3
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +8 -6
- data/_includes/themes/j1/layouts/content_generator_collection.html +7 -7
- data/_includes/themes/j1/layouts/content_generator_page.html +17 -6
- data/_includes/themes/j1/layouts/content_generator_post.html +8 -4
- data/_includes/themes/j1/layouts/content_generator_raw.html +3 -3
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +7 -12
- data/_includes/themes/j1/layouts/layout_module_generator.html +3 -3
- data/_includes/themes/j1/layouts/layout_resource_generator.html +3 -3
- data/_includes/themes/j1/layouts/layout_shim_generator.html +2 -2
- data/_includes/themes/j1/layouts/layout_theme_generator.html +3 -3
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +4 -4
- data/_includes/themes/j1/modules/footers/boxes/links_box.proc +4 -1
- data/_includes/themes/j1/modules/footers/boxes/news_box.proc +3 -3
- data/_includes/themes/j1/modules/footers/footer_light_generator.html +3 -3
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +10 -10
- data/_layouts/blog_archive.html +1 -1
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +2 -2
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +2 -4
- data/lib/j1_app/j1_auth_manager/config.rb +5 -5
- data/lib/j1_app/j1_auth_manager/helpers.rb +1 -1
- data/lib/starter_web/Gemfile +4 -2
- data/lib/starter_web/_config.yml +47 -21
- data/lib/starter_web/_config.yml.kapott +1064 -0
- data/lib/starter_web/_data/j1_resources.yml +18 -1
- data/lib/starter_web/_data/layouts/page.yml +10 -0
- data/lib/starter_web/_data/modules/j1_footer.yml +6 -7
- data/lib/starter_web/_data/modules/j1_header.yml +4 -2
- data/lib/starter_web/_data/modules/j1_jekyll_search.yml +1 -1
- data/lib/starter_web/assets/data/_panel.html +597 -0
- data/lib/starter_web/assets/data/panel.html +15 -15
- data/lib/starter_web/assets/data/{search.json → search.yml} +21 -23
- data/lib/starter_web/assets/themes/j1/core/css/bootstrap.css +328 -229
- data/lib/starter_web/assets/themes/j1/core/css/bootstrap.min.css +4 -4
- data/lib/starter_web/assets/themes/j1/core/css/uno.css +31 -2
- data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
- data/lib/starter_web/assets/themes/j1/core/css/vendor.css +403 -293
- data/lib/starter_web/assets/themes/j1/core/css/vendor.min.css +4 -5
- data/lib/starter_web/assets/themes/j1/core/js/adapter/master_header.js +23 -21
- data/lib/starter_web/assets/themes/j1/core/js/adapter/toccer.js +23 -43
- data/lib/starter_web/assets/themes/j1/core/js/adapter/toccer.js.new +265 -0
- data/lib/starter_web/assets/themes/j1/core/js/template.js +13 -6
- data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
- data/lib/starter_web/assets/themes/j1/extensions/stickyfill/LICENSE +21 -0
- data/lib/starter_web/assets/themes/j1/extensions/stickyfill/README.md +229 -0
- data/lib/starter_web/assets/themes/j1/extensions/stickyfill/js/stickyfill.es6.js +533 -0
- data/lib/starter_web/assets/themes/j1/extensions/stickyfill/js/stickyfill.js +546 -0
- data/lib/starter_web/assets/themes/j1/extensions/stickyfill/js/stickyfill.min.js +6 -0
- data/lib/starter_web/collections/posts/premium/series/_posts/2018-11-01-docker-using-shared-folders.adoc +8 -7
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/start/bmd_examples/{100_bmd_landing_page.adoc → 100_bmd_landing_page.asciidoc} +0 -0
- data/lib/starter_web/pages/public/start/change_me_first.adoc +7 -2
- data/lib/starter_web/pages/public/start/read_me_first.adoc +4 -0
- metadata +12 -5
- data/lib/j1_app/j1_auth_manager/auth_manager.previous.rb +0 -939
data/_layouts/blog_archive.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
|
-
debug: false
|
|
3
|
+
debug: false
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
{% comment %}
|
|
6
|
+
{% comment %}
|
|
7
7
|
# -----------------------------------------------------------------------------
|
|
8
8
|
# ~/_layouts/post.html
|
|
9
9
|
# Liquid layout template for all pages of content-type POST
|
data/lib/j1/version.rb
CHANGED
data/lib/j1_app.rb
CHANGED
|
@@ -55,7 +55,7 @@ require_relative 'j1_app/j1_site_manager/static_site'
|
|
|
55
55
|
# Main
|
|
56
56
|
# ------------------------------------------------------------------------------
|
|
57
57
|
|
|
58
|
-
#
|
|
58
|
+
# App in production mode
|
|
59
59
|
#
|
|
60
60
|
module J1App
|
|
61
61
|
def self.site
|
|
@@ -67,7 +67,7 @@ module J1App
|
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
#
|
|
70
|
+
# App in development mode
|
|
71
71
|
#
|
|
72
72
|
module J1AppTest
|
|
73
73
|
def self.site
|
|
@@ -55,10 +55,8 @@ module J1App
|
|
|
55
55
|
|
|
56
56
|
# Enable SSL for the rack session if configured
|
|
57
57
|
# --------------------------------------------------------------------------
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
use Rack::SslEnforcer if J1App.ssl?
|
|
61
|
-
end
|
|
58
|
+
require 'rack-ssl-enforcer' if J1App.ssl?
|
|
59
|
+
use Rack::SslEnforcer if J1App.ssl?
|
|
62
60
|
|
|
63
61
|
# Set the session cookie used by Rack to track all relevant data
|
|
64
62
|
# for the authentication service
|
|
@@ -19,10 +19,14 @@ module J1App
|
|
|
19
19
|
jekyll_config.fetch('j1_auth', {})
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
def self.
|
|
22
|
+
def self.auth?
|
|
23
23
|
!!auth_config['enabled']
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
def self.ssl?
|
|
27
|
+
!!auth_config['ssl']
|
|
28
|
+
end
|
|
29
|
+
|
|
26
30
|
def self.whitelist
|
|
27
31
|
whitelist = auth_config['whitelist']
|
|
28
32
|
Regexp.new(whitelist.join("|")) unless whitelist.nil?
|
|
@@ -33,10 +37,6 @@ module J1App
|
|
|
33
37
|
Regexp.new(public_content.join("|")) unless public_content.nil?
|
|
34
38
|
end
|
|
35
39
|
|
|
36
|
-
def self.ssl?
|
|
37
|
-
!!config['ssl']
|
|
38
|
-
end
|
|
39
|
-
|
|
40
40
|
def self.active_providers
|
|
41
41
|
auth_config['providers']['activated']
|
|
42
42
|
end
|
data/lib/starter_web/Gemfile
CHANGED
|
@@ -46,7 +46,7 @@ gem 'jekyll', '~> 3.8.5'
|
|
|
46
46
|
# Theme Rubies
|
|
47
47
|
# Default: J1 Template
|
|
48
48
|
#
|
|
49
|
-
gem 'j1_template_mde', '~> 2018.4.
|
|
49
|
+
gem 'j1_template_mde', '~> 2018.4.25'
|
|
50
50
|
|
|
51
51
|
# --------------------------------------------------------------------
|
|
52
52
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
|
@@ -95,7 +95,9 @@ gem 'wdm', '>= 0.1.1' if Gem.win_platform?
|
|
|
95
95
|
# See for more details:
|
|
96
96
|
# packages\300_template_src\_install\ruby\issues\eventmachine.txt
|
|
97
97
|
#
|
|
98
|
-
# gem
|
|
98
|
+
# gem install eventmachine --platform ruby -- --use-system-libraries # gem install eventmachine -v 1.2.7 --platform ruby
|
|
99
|
+
#
|
|
100
|
+
# gem install --local eventmachine-1.3.0.dev.1-x64-mingw32.gem
|
|
99
101
|
|
|
100
102
|
# ---------------------------------------------------------
|
|
101
103
|
# Additional Gem needed for Docker images
|
data/lib/starter_web/_config.yml
CHANGED
|
@@ -60,7 +60,7 @@ environment: development
|
|
|
60
60
|
# anything here because version information is bumped-in by
|
|
61
61
|
# the build process
|
|
62
62
|
#
|
|
63
|
-
version: 2018.4.
|
|
63
|
+
version: 2018.4.25
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
# ==============================================================================
|
|
@@ -225,7 +225,7 @@ doctype: html
|
|
|
225
225
|
# values: boolean (true|false)
|
|
226
226
|
# default: false
|
|
227
227
|
#
|
|
228
|
-
title: J1 Template
|
|
228
|
+
title: J1 Template MDE
|
|
229
229
|
slogan: Starter Web
|
|
230
230
|
description: Made for Jekyll · Made for Your Web
|
|
231
231
|
keywords: Jekyll, One, Template, Ruby, Asciidoctor,
|
|
@@ -339,14 +339,14 @@ base_path: ""
|
|
|
339
339
|
#
|
|
340
340
|
# Defaults:
|
|
341
341
|
# protocol: http
|
|
342
|
-
# host: localhost
|
|
343
|
-
# port:
|
|
342
|
+
# host: localhost | 0.0.0.0
|
|
343
|
+
# port: 4000
|
|
344
344
|
# timezone: Europe/Berlin
|
|
345
345
|
# encoding: UTF-8
|
|
346
346
|
#
|
|
347
347
|
protocol: http
|
|
348
348
|
host: localhost
|
|
349
|
-
port:
|
|
349
|
+
port: 4000
|
|
350
350
|
timezone: Europe/Berlin
|
|
351
351
|
encoding: UTF-8
|
|
352
352
|
|
|
@@ -371,7 +371,7 @@ includes_dir: _includes
|
|
|
371
371
|
collections_dir: collections
|
|
372
372
|
|
|
373
373
|
# -------------------------------------------------------------
|
|
374
|
-
#
|
|
374
|
+
# FILES configuration
|
|
375
375
|
# Set the files to include, exclude and ignore
|
|
376
376
|
#
|
|
377
377
|
include: [.htaccess]
|
|
@@ -391,7 +391,7 @@ safe: false
|
|
|
391
391
|
strict_front_matter: false
|
|
392
392
|
|
|
393
393
|
# -------------------------------------------------------------
|
|
394
|
-
#
|
|
394
|
+
# SASS conversion options
|
|
395
395
|
#
|
|
396
396
|
# style, possible values: compact|compressed|expanded|nested
|
|
397
397
|
#
|
|
@@ -399,9 +399,8 @@ sass:
|
|
|
399
399
|
sass_dir: _sass/scss
|
|
400
400
|
style: expanded
|
|
401
401
|
|
|
402
|
-
|
|
403
402
|
# -------------------------------------------------------------
|
|
404
|
-
#
|
|
403
|
+
# WEBRICK customizations
|
|
405
404
|
# You can provide custom headers for your site
|
|
406
405
|
#
|
|
407
406
|
# Note: Jekyll provides by default Content-Type and Cache-Control
|
|
@@ -416,13 +415,13 @@ sass:
|
|
|
416
415
|
# My-Other-Header: My-Other-Value
|
|
417
416
|
|
|
418
417
|
# -------------------------------------------------------------
|
|
419
|
-
#
|
|
420
|
-
# Set the
|
|
418
|
+
# POSTS Management
|
|
419
|
+
# Set the post articles to include, exclude and ignore
|
|
421
420
|
#
|
|
422
|
-
#show_drafts: null
|
|
423
|
-
#limit_posts: 0
|
|
424
421
|
#future: false
|
|
422
|
+
#show_drafts: false
|
|
425
423
|
#unpublished: false
|
|
424
|
+
#limit_posts: 10
|
|
426
425
|
|
|
427
426
|
|
|
428
427
|
# --------------------------------------------------------------------
|
|
@@ -502,7 +501,7 @@ algolia:
|
|
|
502
501
|
files_to_exclude: []
|
|
503
502
|
|
|
504
503
|
# ---------------------------------------------------------------
|
|
505
|
-
#
|
|
504
|
+
# AUTH Manager (j1_auth)
|
|
506
505
|
#
|
|
507
506
|
# If a site is started as an app, this transforms the web into an
|
|
508
507
|
# Web Application based on Rack and Sinatra using the Omniauth
|
|
@@ -756,6 +755,7 @@ defaults:
|
|
|
756
755
|
resources: toccer
|
|
757
756
|
toc: true
|
|
758
757
|
adsense: true
|
|
758
|
+
comments: true
|
|
759
759
|
|
|
760
760
|
icons:
|
|
761
761
|
family: MDI
|
|
@@ -774,7 +774,7 @@ defaults:
|
|
|
774
774
|
#
|
|
775
775
|
|
|
776
776
|
# --------------------------------------------------------
|
|
777
|
-
#
|
|
777
|
+
# PUBLIC - FEATURED
|
|
778
778
|
#
|
|
779
779
|
- scope:
|
|
780
780
|
path: posts/public/featured/_posts
|
|
@@ -803,7 +803,33 @@ defaults:
|
|
|
803
803
|
collapseDepth: 2
|
|
804
804
|
|
|
805
805
|
# --------------------------------------------------------
|
|
806
|
-
#
|
|
806
|
+
# PRIVATE - FEATURED
|
|
807
|
+
#
|
|
808
|
+
- scope:
|
|
809
|
+
path: posts/private/featured/_posts
|
|
810
|
+
type: posts
|
|
811
|
+
|
|
812
|
+
values:
|
|
813
|
+
layout: post
|
|
814
|
+
author: J1 Team
|
|
815
|
+
resources: toccer
|
|
816
|
+
toc: true
|
|
817
|
+
adsense: true
|
|
818
|
+
comments: true
|
|
819
|
+
|
|
820
|
+
icons:
|
|
821
|
+
# category-icon: comment-text-outline
|
|
822
|
+
family: MDI
|
|
823
|
+
color: md-indigo
|
|
824
|
+
size: 5x
|
|
825
|
+
|
|
826
|
+
images:
|
|
827
|
+
# category-image: img26.jpg
|
|
828
|
+
dir: /assets/images/blog/featured
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
# --------------------------------------------------------
|
|
832
|
+
# SERIES
|
|
807
833
|
#
|
|
808
834
|
- scope:
|
|
809
835
|
type: posts
|
|
@@ -828,7 +854,7 @@ defaults:
|
|
|
828
854
|
|
|
829
855
|
|
|
830
856
|
# --------------------------------------------------------
|
|
831
|
-
#
|
|
857
|
+
# WIKIPEDIA
|
|
832
858
|
#
|
|
833
859
|
- scope:
|
|
834
860
|
type: posts
|
|
@@ -857,7 +883,7 @@ defaults:
|
|
|
857
883
|
#
|
|
858
884
|
|
|
859
885
|
# --------------------------------------------------------
|
|
860
|
-
#
|
|
886
|
+
# FEATURED Articles
|
|
861
887
|
#
|
|
862
888
|
- scope:
|
|
863
889
|
type: featured
|
|
@@ -868,7 +894,7 @@ defaults:
|
|
|
868
894
|
adsense: true
|
|
869
895
|
|
|
870
896
|
# --------------------------------------------------------
|
|
871
|
-
#
|
|
897
|
+
# BIOGRAPHY (Book Shelf)
|
|
872
898
|
#
|
|
873
899
|
- scope:
|
|
874
900
|
type: biography
|
|
@@ -879,7 +905,7 @@ defaults:
|
|
|
879
905
|
adsense: true
|
|
880
906
|
|
|
881
907
|
# --------------------------------------------------------
|
|
882
|
-
#
|
|
908
|
+
# FANTASY (Book Shelf)
|
|
883
909
|
#
|
|
884
910
|
- scope:
|
|
885
911
|
type: fantasy
|
|
@@ -891,7 +917,7 @@ defaults:
|
|
|
891
917
|
|
|
892
918
|
|
|
893
919
|
# --------------------------------------------------------
|
|
894
|
-
#
|
|
920
|
+
# ROMANCE (Book Shelf)
|
|
895
921
|
#
|
|
896
922
|
- scope:
|
|
897
923
|
type: romance
|
|
@@ -0,0 +1,1064 @@
|
|
|
1
|
+
# ------------------------------------------------------------------------------
|
|
2
|
+
# J1: ~/_config.yml
|
|
3
|
+
# Site specific configuration for J1 Template
|
|
4
|
+
#
|
|
5
|
+
# Product/Info:
|
|
6
|
+
# https://jekyll-one.com
|
|
7
|
+
#
|
|
8
|
+
# Copyright (C) 2019 Juergen Adams
|
|
9
|
+
#
|
|
10
|
+
# J1 Template is licensed under the MIT License.
|
|
11
|
+
# See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE
|
|
12
|
+
#
|
|
13
|
+
# ------------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
# ==============================================================================
|
|
16
|
+
# 1. BUILD configuration
|
|
17
|
+
#
|
|
18
|
+
# ------------------------------------------------------------------------------
|
|
19
|
+
#
|
|
20
|
+
# Set the environment data for the build
|
|
21
|
+
#
|
|
22
|
+
# A build specific configuration giFhighves all templates access to a
|
|
23
|
+
# variable site.environment to use this to optionally include|exclude
|
|
24
|
+
# certain content based on which environment is set.
|
|
25
|
+
#
|
|
26
|
+
# NOTE:
|
|
27
|
+
# You can specify a Jekyll environment at build time. In the build
|
|
28
|
+
# (or serve) arguments, you can specify a Jekyll environment and
|
|
29
|
+
# value like:
|
|
30
|
+
#
|
|
31
|
+
# *nix: JEKYLL_ENV=production jekyll build
|
|
32
|
+
# Windows: set JEKYLL_ENV=production & jekyll build
|
|
33
|
+
# jekyll build
|
|
34
|
+
#
|
|
35
|
+
# The default value for JEKYLL_ENV is "development". Therefore if you
|
|
36
|
+
# omit JEKYLL_ENV from the build arguments, the default value will be
|
|
37
|
+
# JEKYLL_ENV=development.
|
|
38
|
+
#
|
|
39
|
+
# The Jekyll environment variable JEKYLL_ENV is accessible via the
|
|
40
|
+
# Liquid variable "jekyll.environment". J1 template overwrites the site
|
|
41
|
+
# variable "site.environment" with the value of the Liquid variable
|
|
42
|
+
# "jekyll.environment" automatically - in other words: JEKYLL_ENV takes
|
|
43
|
+
# PRECENDENCE over the site variable "site.environment" given with the
|
|
44
|
+
# _config.yml file.
|
|
45
|
+
#
|
|
46
|
+
# ------------------------------------------------------------------------------
|
|
47
|
+
#
|
|
48
|
+
# environment
|
|
49
|
+
# --------------------------------------------------------------------
|
|
50
|
+
# Sets the build environment of the website
|
|
51
|
+
#
|
|
52
|
+
# values: development|test|production
|
|
53
|
+
# default: development
|
|
54
|
+
#
|
|
55
|
+
environment: development
|
|
56
|
+
|
|
57
|
+
# version
|
|
58
|
+
# --------------------------------------------------------------------
|
|
59
|
+
# Sets the build environment of the web site. Do not change
|
|
60
|
+
# anything here because version information is bumped-in by
|
|
61
|
+
# the build process
|
|
62
|
+
#
|
|
63
|
+
version: 2018.4.25
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
# ==============================================================================
|
|
67
|
+
# 2. THEME configuration
|
|
68
|
+
#
|
|
69
|
+
# ------------------------------------------------------------------------------
|
|
70
|
+
#
|
|
71
|
+
# Set the (gem-based) theme and the (Bootrap) theme used for the site
|
|
72
|
+
#
|
|
73
|
+
# J1 Template is a so-called gem-based template for Jekyll. All components
|
|
74
|
+
# for the template J1 (template core and template modules) are Ruby gem
|
|
75
|
+
# managed by the Ruby bundler respectively by the GEM manager "gem". All
|
|
76
|
+
# components are available public at RubyGems.org.
|
|
77
|
+
#
|
|
78
|
+
#
|
|
79
|
+
# theme
|
|
80
|
+
# --------------------------------------------------------------------
|
|
81
|
+
# Sets the name of the (gem-based) theme used for Jekyll
|
|
82
|
+
# serve and build
|
|
83
|
+
#
|
|
84
|
+
# Note: Do not change anything here because (gem-based) theme name
|
|
85
|
+
# information is bumped-in by the build process automatically
|
|
86
|
+
#
|
|
87
|
+
# default: j1_template_mde
|
|
88
|
+
#
|
|
89
|
+
#theme:
|
|
90
|
+
|
|
91
|
+
# --------------------------------------------------------------------
|
|
92
|
+
# J1 Template configuration
|
|
93
|
+
# Sets J1 Template specific configurations
|
|
94
|
+
#
|
|
95
|
+
# Note:
|
|
96
|
+
# Parameter "theme" is used by Jekyll >= 3.2.0 for gem-based
|
|
97
|
+
# templates. For that reason, the configuration parameter for
|
|
98
|
+
# the J1 Template was changed to "template" to not conflict with
|
|
99
|
+
# new versions of Jekyll.
|
|
100
|
+
#
|
|
101
|
+
# template.name
|
|
102
|
+
# ---------------------------------------------------------------
|
|
103
|
+
# Sets the theme "path" of J1 Template for the ~/assets/themes
|
|
104
|
+
# folder. To not conflict with other template systems, all
|
|
105
|
+
# template assets for J1 Template are stored under the default
|
|
106
|
+
# path "/assets/themes/j1".
|
|
107
|
+
#
|
|
108
|
+
# Note:
|
|
109
|
+
# Do NOT change template.name to other values.
|
|
110
|
+
#
|
|
111
|
+
# default: j1
|
|
112
|
+
#
|
|
113
|
+
# template.config
|
|
114
|
+
# ---------------------------------------------------------------
|
|
115
|
+
# Sets the name of the J1 Template configuration file
|
|
116
|
+
#
|
|
117
|
+
# default: j1_config
|
|
118
|
+
#
|
|
119
|
+
template:
|
|
120
|
+
name: j1
|
|
121
|
+
config: j1_config
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# ==============================================================================
|
|
125
|
+
# 3. SITE configuration
|
|
126
|
+
#
|
|
127
|
+
# ------------------------------------------------------------------------------
|
|
128
|
+
#
|
|
129
|
+
# Set language, coding and HTML document type (DOCTYPE)
|
|
130
|
+
#
|
|
131
|
+
# language
|
|
132
|
+
# --------------------------------------------------------------------
|
|
133
|
+
# Sets the language used by the website. The parameter language
|
|
134
|
+
# is used by Content-Language entity-header field (meta tag )
|
|
135
|
+
# that describes the natural language(s) of the intended audience
|
|
136
|
+
# for the enclosed entity. This might helpful for robots|search
|
|
137
|
+
# engines.
|
|
138
|
+
#
|
|
139
|
+
# Note:
|
|
140
|
+
# This might not be equivalent to all the languages used within
|
|
141
|
+
# the entity-body of the website but should describe the language
|
|
142
|
+
# the language the site is using "overall".
|
|
143
|
+
# See: https://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html
|
|
144
|
+
# for more details
|
|
145
|
+
#
|
|
146
|
+
# values: Content-Language tags
|
|
147
|
+
# default: en
|
|
148
|
+
#
|
|
149
|
+
# coding
|
|
150
|
+
# --------------------------------------------------------------------
|
|
151
|
+
# Sets the content coding scheme (character encoding for the
|
|
152
|
+
# HTML documents) of the website. Used for the meta tag "charset".
|
|
153
|
+
#
|
|
154
|
+
# values: charset
|
|
155
|
+
# default: UTF-8
|
|
156
|
+
#
|
|
157
|
+
# doctype
|
|
158
|
+
# --------------------------------------------------------------------
|
|
159
|
+
# Sets the HTML standard of the website. J1 template is using
|
|
160
|
+
# HTML5, therefor the doctype is: <!DOCTYPE html>
|
|
161
|
+
#
|
|
162
|
+
# values: HTML doc types
|
|
163
|
+
# default: html
|
|
164
|
+
#
|
|
165
|
+
language: en
|
|
166
|
+
coding: UTF-8
|
|
167
|
+
doctype: html
|
|
168
|
+
|
|
169
|
+
# --------------------------------------------------------------------
|
|
170
|
+
# META data
|
|
171
|
+
# Mainly to set the meta tags for the document <head> section.
|
|
172
|
+
|
|
173
|
+
# title
|
|
174
|
+
# ---------------------------------------------------------------
|
|
175
|
+
# Sets the ...
|
|
176
|
+
#
|
|
177
|
+
# values: string
|
|
178
|
+
# default: no default
|
|
179
|
+
#
|
|
180
|
+
# slogan
|
|
181
|
+
# ---------------------------------------------------------------
|
|
182
|
+
# Sets the <title> tag within the <head> section.
|
|
183
|
+
#
|
|
184
|
+
# values: string
|
|
185
|
+
# default: no default
|
|
186
|
+
#
|
|
187
|
+
# description
|
|
188
|
+
# ---------------------------------------------------------------
|
|
189
|
+
# Sets the meta tag for "description"
|
|
190
|
+
#
|
|
191
|
+
# values: string
|
|
192
|
+
# default: no default
|
|
193
|
+
#
|
|
194
|
+
# keywords
|
|
195
|
+
# ---------------------------------------------------------------
|
|
196
|
+
# Sets the meta tag for "keywords"
|
|
197
|
+
#
|
|
198
|
+
# values: string (comma separated)
|
|
199
|
+
# default: no default
|
|
200
|
+
#
|
|
201
|
+
# author.name
|
|
202
|
+
# ---------------------------------------------------------------
|
|
203
|
+
# Sets the meta tag for "author"
|
|
204
|
+
#
|
|
205
|
+
# values: string (comma separated)
|
|
206
|
+
# default: no default
|
|
207
|
+
#
|
|
208
|
+
# robots.index
|
|
209
|
+
# ---------------------------------------------------------------
|
|
210
|
+
# Controls spider|robots of search engines. Sets the meta
|
|
211
|
+
# tag for "robots". If set to "false", the meta tag robots
|
|
212
|
+
# is set to "noindex", if set to "true" the tag is set to
|
|
213
|
+
# "index"
|
|
214
|
+
#
|
|
215
|
+
# values: boolean (true|false)
|
|
216
|
+
# default: false
|
|
217
|
+
#
|
|
218
|
+
# robots.follow
|
|
219
|
+
# ---------------------------------------------------------------
|
|
220
|
+
# Controls spider|robots of search engines. Sets the meta
|
|
221
|
+
# tag for "robots". If set to "false", the meta tag robots
|
|
222
|
+
# is set to "nofollow", if set to "true" the tag is set to
|
|
223
|
+
# "follow".
|
|
224
|
+
#
|
|
225
|
+
# values: boolean (true|false)
|
|
226
|
+
# default: false
|
|
227
|
+
#
|
|
228
|
+
title: J1 Template MDE
|
|
229
|
+
slogan: Starter Web
|
|
230
|
+
description: Made for Jekyll · Made for Your Web
|
|
231
|
+
keywords: Jekyll, One, Template, Ruby, Asciidoctor,
|
|
232
|
+
Asciidoc, Bootstrap, Javascript,
|
|
233
|
+
JS, JS3, CSS, CSS3, HTML5, Material, Design
|
|
234
|
+
author:
|
|
235
|
+
name: username
|
|
236
|
+
email: username@email.domain
|
|
237
|
+
github: username
|
|
238
|
+
twitter: username
|
|
239
|
+
feedburner: feedname
|
|
240
|
+
|
|
241
|
+
robots:
|
|
242
|
+
index: false
|
|
243
|
+
follow: true
|
|
244
|
+
|
|
245
|
+
# ---------------------------------------------------------------
|
|
246
|
+
# BRAND configuration
|
|
247
|
+
# Set the brand image and favicon
|
|
248
|
+
|
|
249
|
+
brand:
|
|
250
|
+
image: icons/j1/j1-512x512.png
|
|
251
|
+
image_height: 64
|
|
252
|
+
text: Starter Web
|
|
253
|
+
text_color: "#9E9E9E"
|
|
254
|
+
|
|
255
|
+
# Set the favicon (located in the asset_path/images) and type
|
|
256
|
+
#
|
|
257
|
+
favicon:
|
|
258
|
+
image: icons/j1/j1-32x32.ico
|
|
259
|
+
type: image/ico
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
# ==============================================================================
|
|
263
|
+
# 4. JEKYLL specific site configuration
|
|
264
|
+
#
|
|
265
|
+
# ------------------------------------------------------------------------------
|
|
266
|
+
#
|
|
267
|
+
# -------------------------------------------------------------------------
|
|
268
|
+
# LOCATION configuration
|
|
269
|
+
# Set uri, files and path specific configurations
|
|
270
|
+
|
|
271
|
+
# --------------------------------------------------------------------
|
|
272
|
+
# URI configuration
|
|
273
|
+
|
|
274
|
+
# For default, J1 is using "pretty" links (URLs) ofr ALL types
|
|
275
|
+
# of conten (pages, posts, collections). For J1 Template the
|
|
276
|
+
# permalink style (pretty):
|
|
277
|
+
#
|
|
278
|
+
# pretty: /:categories/:year/:month/:day/:title/
|
|
279
|
+
#
|
|
280
|
+
# used for default. Read mor about permalinks for pages and
|
|
281
|
+
# collections at:
|
|
282
|
+
#
|
|
283
|
+
# https://jekyllrb.com/docs/permalinks/#pages-and-collections
|
|
284
|
+
#
|
|
285
|
+
# All links are using an a trailing file extension of .html
|
|
286
|
+
# for best support of various Web Servers with NO addtional
|
|
287
|
+
# configuration needed.
|
|
288
|
+
#
|
|
289
|
+
# Note: The build-in Web server Ruby "Webrick" for Jekyll support
|
|
290
|
+
# pretty "links" out of the box. If other web servers are used to
|
|
291
|
+
# serve the Web like Apache or Nginx, "extensionless" URLs are to
|
|
292
|
+
# be enabled for those. See https://jekyllrb.com/docs/permalinks/
|
|
293
|
+
# for more details.
|
|
294
|
+
#
|
|
295
|
+
# Note: For development, respectively "live-reload" functionality,
|
|
296
|
+
# webpack-dev-server is used. The build-in Web server "Express"
|
|
297
|
+
# for Webpack does *NOT* support "pretty links" out of the box.
|
|
298
|
+
#
|
|
299
|
+
# Note: The permalink style can individualy configured by
|
|
300
|
+
# frontmatter variables. It is highly recommended to use a
|
|
301
|
+
# "pretty style" for individual permalinks as well. For that
|
|
302
|
+
# reason, the permalink should always have a trailing backslash.
|
|
303
|
+
#
|
|
304
|
+
# See: https://jekyllrb.com/docs/permalinks/#template-variables
|
|
305
|
+
#
|
|
306
|
+
permalink: pretty
|
|
307
|
+
|
|
308
|
+
# If your site has set a CNAME (pages.github.com), set the custom
|
|
309
|
+
# domain http|s://your-site.domain here. Accessible in Liquid as
|
|
310
|
+
# "site.url". For the development environment there is an EXCEPTION:
|
|
311
|
+
# if you are running jekyll serve in a development environment,
|
|
312
|
+
# site.url will be set to the value of host, port. This defaults to
|
|
313
|
+
# url: http://localhost:4000.
|
|
314
|
+
#
|
|
315
|
+
url: "http://localhost:40000"
|
|
316
|
+
|
|
317
|
+
# The subpath of your site, e.g. /blog/. Used in conjunction with
|
|
318
|
+
# site.url (see above) when you want a link to something with the
|
|
319
|
+
# full URL to it.
|
|
320
|
+
#
|
|
321
|
+
baseurl: ""
|
|
322
|
+
|
|
323
|
+
# TODO: Following parameters should moved to header or panel that uses
|
|
324
|
+
# these values (production_url, download_url, base_path)
|
|
325
|
+
#
|
|
326
|
+
#production_url: http://jekyll.one
|
|
327
|
+
#download_url: http://jekyll.one/downloads
|
|
328
|
+
|
|
329
|
+
# The production_url is only used when full-domain names are needed
|
|
330
|
+
# such as sitemap.txt. For most places will/should use base_path to
|
|
331
|
+
# make the URLs.
|
|
332
|
+
#
|
|
333
|
+
base_path: ""
|
|
334
|
+
|
|
335
|
+
# --------------------------------------------------------------------
|
|
336
|
+
# TODO: Following parameters should moved to the components that uses
|
|
337
|
+
# these values (protocol, host, port)
|
|
338
|
+
# Base hostname and protocol for the site
|
|
339
|
+
#
|
|
340
|
+
# Defaults:
|
|
341
|
+
# protocol: http
|
|
342
|
+
# host: localhost | 0.0.0.0
|
|
343
|
+
# port: 4000
|
|
344
|
+
# timezone: Europe/Berlin
|
|
345
|
+
# encoding: UTF-8
|
|
346
|
+
#
|
|
347
|
+
protocol: http
|
|
348
|
+
host: localhost
|
|
349
|
+
port: 4000
|
|
350
|
+
timezone: Europe/Berlin
|
|
351
|
+
encoding: UTF-8
|
|
352
|
+
|
|
353
|
+
detach: false
|
|
354
|
+
show_dir_listing: false
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
# --------------------------------------------------------------------
|
|
358
|
+
# PATH configuration
|
|
359
|
+
# Global folder configuration where Jekyll will read files from
|
|
360
|
+
#
|
|
361
|
+
# Defaults:
|
|
362
|
+
# source: .
|
|
363
|
+
# destination: _site
|
|
364
|
+
#
|
|
365
|
+
source: .
|
|
366
|
+
destination: _site
|
|
367
|
+
plugins_dir: _plugins
|
|
368
|
+
layouts_dir: _layouts
|
|
369
|
+
data_dir: _data
|
|
370
|
+
includes_dir: _includes
|
|
371
|
+
collections_dir: collections
|
|
372
|
+
|
|
373
|
+
# -------------------------------------------------------------
|
|
374
|
+
# FILES configuration
|
|
375
|
+
# Set the files to include, exclude and ignore
|
|
376
|
+
#
|
|
377
|
+
include: [.htaccess]
|
|
378
|
+
exclude: [
|
|
379
|
+
vendor, node_modules, "package*",
|
|
380
|
+
".sass-cache",".vscode","*.ignore",
|
|
381
|
+
"*.bat*", "*.sh", "*.tmp",
|
|
382
|
+
"*.ppt*", "*.zip","*.7z","*.a2p",
|
|
383
|
+
"*.asciidoc", "History.markdown",
|
|
384
|
+
"README.md", "changelog.md",
|
|
385
|
+
"Rakefile", "Gemfile", "Guardfile",
|
|
386
|
+
"Gemfile.lock", "yarn.lock","*.log"
|
|
387
|
+
]
|
|
388
|
+
keep_files: [ ".git", ".gitignore", node_modules, "package*" ]
|
|
389
|
+
|
|
390
|
+
safe: false
|
|
391
|
+
strict_front_matter: false
|
|
392
|
+
|
|
393
|
+
# -------------------------------------------------------------
|
|
394
|
+
# SASS conversion options
|
|
395
|
+
#
|
|
396
|
+
# style, possible values: compact|compressed|expanded|nested
|
|
397
|
+
#
|
|
398
|
+
sass:
|
|
399
|
+
sass_dir: _sass/scss
|
|
400
|
+
style: expanded
|
|
401
|
+
|
|
402
|
+
# -------------------------------------------------------------
|
|
403
|
+
# WEBRICK customizations
|
|
404
|
+
# You can provide custom headers for your site
|
|
405
|
+
#
|
|
406
|
+
# Note: Jekyll provides by default Content-Type and Cache-Control
|
|
407
|
+
# response headers: one dynamic in order to specify the nature of
|
|
408
|
+
# the data being served, the other static in order to disable
|
|
409
|
+
# caching so that you don’t have to fight with Chrome’s aggressive
|
|
410
|
+
# caching when you are in development mode.
|
|
411
|
+
#
|
|
412
|
+
#webrick:
|
|
413
|
+
# headers:
|
|
414
|
+
# My-Header: My-Value
|
|
415
|
+
# My-Other-Header: My-Other-Value
|
|
416
|
+
|
|
417
|
+
# -------------------------------------------------------------
|
|
418
|
+
# POSTS Management
|
|
419
|
+
# Set the post articles to include, exclude and ignore
|
|
420
|
+
#
|
|
421
|
+
#future: false
|
|
422
|
+
#show_drafts: false
|
|
423
|
+
#unpublished: false
|
|
424
|
+
#limit_posts: 10
|
|
425
|
+
|
|
426
|
+
# --------------------------------------------------------------------
|
|
427
|
+
# LIQUID template engine
|
|
428
|
+
#
|
|
429
|
+
liquid:
|
|
430
|
+
error_mode: warn
|
|
431
|
+
|
|
432
|
+
# --------------------------------------------------------------------
|
|
433
|
+
# PLUGIN configuration
|
|
434
|
+
#
|
|
435
|
+
plugins:
|
|
436
|
+
- asciidoctor
|
|
437
|
+
# - asciidoctor-pdf
|
|
438
|
+
- jekyll-asciidoc
|
|
439
|
+
# - jekyll-algolia
|
|
440
|
+
# - jekyll-feed
|
|
441
|
+
# - jekyll-gist
|
|
442
|
+
# - jekyll-sitemap
|
|
443
|
+
# - jekyll-redirect-from
|
|
444
|
+
- jekyll-paginate-v2
|
|
445
|
+
- jekyll-sass-converter
|
|
446
|
+
|
|
447
|
+
# ---------------------------------------------------------------
|
|
448
|
+
# JEKYLL FEED
|
|
449
|
+
#
|
|
450
|
+
# feed:
|
|
451
|
+
# path: /assets/data/atom.xml
|
|
452
|
+
|
|
453
|
+
# ---------------------------------------------------------------
|
|
454
|
+
# MARKDOWN
|
|
455
|
+
#
|
|
456
|
+
# Note:
|
|
457
|
+
# Option input/GFM turns on the recognition of Github Flavoured Markdown (GFM)
|
|
458
|
+
#
|
|
459
|
+
markdown: kramdown
|
|
460
|
+
markdown_ext: markdown,md
|
|
461
|
+
|
|
462
|
+
kramdown:
|
|
463
|
+
input: GFM
|
|
464
|
+
auto_ids: true
|
|
465
|
+
footnote_nr: 1
|
|
466
|
+
entity_output: as_char
|
|
467
|
+
toc_levels: 1..3
|
|
468
|
+
smart_quotes: lsquo,rsquo,ldquo,rdquo
|
|
469
|
+
syntax_highlighter: rouge
|
|
470
|
+
|
|
471
|
+
# ---------------------------------------------------------------
|
|
472
|
+
# ASCIIDOCTOR (Asciidoc plugin)
|
|
473
|
+
#
|
|
474
|
+
asciidoc_attributes: &asciidoc_attributes
|
|
475
|
+
hardbreaks-option:
|
|
476
|
+
source-highlighter: rouge
|
|
477
|
+
icons: font
|
|
478
|
+
imagesdir: /assets/images
|
|
479
|
+
iconsdir: '{imagesdir}/icons/asciidoc'
|
|
480
|
+
|
|
481
|
+
asciidoc:
|
|
482
|
+
processor: asciidoctor
|
|
483
|
+
require_front_matter_header: true
|
|
484
|
+
ext: adoc
|
|
485
|
+
|
|
486
|
+
asciidoctor:
|
|
487
|
+
safe: unsafe
|
|
488
|
+
template_dir: _templates
|
|
489
|
+
attributes: *asciidoc_attributes
|
|
490
|
+
|
|
491
|
+
# ---------------------------------------------------------------
|
|
492
|
+
# ALGOLIA Search (Instantsearch)
|
|
493
|
+
#
|
|
494
|
+
algolia:
|
|
495
|
+
enabled: false
|
|
496
|
+
application_id: your_application_id
|
|
497
|
+
search_only_api_key: your_searchonly_api_key
|
|
498
|
+
index_name: your_index_name
|
|
499
|
+
extensions_to_index: [ adoc ]
|
|
500
|
+
files_to_exclude: []
|
|
501
|
+
|
|
502
|
+
# ---------------------------------------------------------------
|
|
503
|
+
# J1 Auth Manager (j1_auth)
|
|
504
|
+
#
|
|
505
|
+
# If a site is started as an app, this transforms the web into an
|
|
506
|
+
# Web Application based on Rack and Sinatra using the Omniauth
|
|
507
|
+
# software stack for authentication to enable User Management
|
|
508
|
+
# and Authentication services for secured private web sites.
|
|
509
|
+
#
|
|
510
|
+
# enabled
|
|
511
|
+
# ---------------------------------------------------------------
|
|
512
|
+
# Enables or disables the Auth Manager services for the web.
|
|
513
|
+
# If disabled, all pages are accessible without authentication.
|
|
514
|
+
#
|
|
515
|
+
# values: true|false
|
|
516
|
+
# default: false
|
|
517
|
+
#
|
|
518
|
+
# ssl
|
|
519
|
+
# ---------------------------------------------------------------
|
|
520
|
+
# Enforce SSL communication for the app. If you've got SSL
|
|
521
|
+
# set up, ensure SSL is enforced.
|
|
522
|
+
#
|
|
523
|
+
# values: true|false
|
|
524
|
+
# default: false
|
|
525
|
+
#
|
|
526
|
+
# provider
|
|
527
|
+
# ---------------------------------------------------------------
|
|
528
|
+
# List of enabled OAuth providers to be used for the auth
|
|
529
|
+
# service for authentication. The first provider in a list
|
|
530
|
+
# is used for default.
|
|
531
|
+
#
|
|
532
|
+
# values: [disqus|github|facebook|patreon|twitter]
|
|
533
|
+
# default: none
|
|
534
|
+
#
|
|
535
|
+
# whitelist
|
|
536
|
+
# ---------------------------------------------------------------
|
|
537
|
+
# List of pages (and assets) skipped for authentication.
|
|
538
|
+
# Values can be given as regular expressions.
|
|
539
|
+
#
|
|
540
|
+
# values: string
|
|
541
|
+
# default: none
|
|
542
|
+
#
|
|
543
|
+
# ---------------------------------------------------------------
|
|
544
|
+
j1_auth:
|
|
545
|
+
enabled: false
|
|
546
|
+
ssl: false
|
|
547
|
+
|
|
548
|
+
content:
|
|
549
|
+
public:
|
|
550
|
+
- \W*((?i)assets(?-i))\W*
|
|
551
|
+
- \W*((?i)public(?-i))\W*
|
|
552
|
+
private:
|
|
553
|
+
- \W*((?i)private(?-i))\W*
|
|
554
|
+
premium:
|
|
555
|
+
- \W*((?i)premium(?-i))\W*
|
|
556
|
+
|
|
557
|
+
providers:
|
|
558
|
+
activated: [ disqus, github, patreon ]
|
|
559
|
+
|
|
560
|
+
disqus:
|
|
561
|
+
home_url: https://disqus.com
|
|
562
|
+
product_url: https://patreon.com/jekyll_one
|
|
563
|
+
strategy: member
|
|
564
|
+
scope: []
|
|
565
|
+
users: [ all ]
|
|
566
|
+
permissions: [ private ]
|
|
567
|
+
data_fields: []
|
|
568
|
+
conditions:
|
|
569
|
+
private:
|
|
570
|
+
enabled: true
|
|
571
|
+
users:
|
|
572
|
+
blacklist: []
|
|
573
|
+
|
|
574
|
+
facebook:
|
|
575
|
+
home_url: https://facebook.com
|
|
576
|
+
product_url: https://patreon.com/jekyll_one
|
|
577
|
+
strategy: member
|
|
578
|
+
scope: []
|
|
579
|
+
users: [ all ]
|
|
580
|
+
permissions: [ private ]
|
|
581
|
+
data_fields: []
|
|
582
|
+
conditions:
|
|
583
|
+
private:
|
|
584
|
+
enabled: true
|
|
585
|
+
users:
|
|
586
|
+
whitelist: [ all ]
|
|
587
|
+
blacklist: []
|
|
588
|
+
|
|
589
|
+
github:
|
|
590
|
+
home_url: https://github.com
|
|
591
|
+
product_url: https://patreon.com/jekyll_one
|
|
592
|
+
strategy: member
|
|
593
|
+
scope: []
|
|
594
|
+
users: [ all ]
|
|
595
|
+
permissions: [ private ]
|
|
596
|
+
data_fields: []
|
|
597
|
+
conditions:
|
|
598
|
+
private:
|
|
599
|
+
enabled: true
|
|
600
|
+
users:
|
|
601
|
+
whitelist: [ all ]
|
|
602
|
+
blacklist: []
|
|
603
|
+
|
|
604
|
+
patreon:
|
|
605
|
+
home_url: https://github.com
|
|
606
|
+
product_url: https://patreon.com/jekyll_one
|
|
607
|
+
strategy: member
|
|
608
|
+
scope: [ users, pledges-to-me ]
|
|
609
|
+
users: [ all ]
|
|
610
|
+
permissions: [ private, premium ]
|
|
611
|
+
data_fields: [
|
|
612
|
+
email, name, first_name, nickname,
|
|
613
|
+
amount_cents, created_at, declined_since
|
|
614
|
+
]
|
|
615
|
+
conditions:
|
|
616
|
+
private:
|
|
617
|
+
enabled: true
|
|
618
|
+
users:
|
|
619
|
+
blacklist: []
|
|
620
|
+
premium:
|
|
621
|
+
enabled: true
|
|
622
|
+
users:
|
|
623
|
+
whitelist: [ "@jekyll-one.com" ]
|
|
624
|
+
blacklist: []
|
|
625
|
+
payment:
|
|
626
|
+
activated: [ "Premium Content", "Value Content" ]
|
|
627
|
+
tiers:
|
|
628
|
+
- tier:
|
|
629
|
+
name: "Premium Content"
|
|
630
|
+
amount: 500,
|
|
631
|
+
state: paid
|
|
632
|
+
- tier:
|
|
633
|
+
name: "Value Content"
|
|
634
|
+
amount: 100,
|
|
635
|
+
state: paid
|
|
636
|
+
|
|
637
|
+
twitter:
|
|
638
|
+
home_url: https://twitter.com
|
|
639
|
+
product_url: https://patreon.com/jekyll_one
|
|
640
|
+
strategy: member
|
|
641
|
+
scope: []
|
|
642
|
+
users: [ all ]
|
|
643
|
+
permissions: [ private, premium ]
|
|
644
|
+
data_fields: []
|
|
645
|
+
conditions:
|
|
646
|
+
private:
|
|
647
|
+
enabled: true
|
|
648
|
+
users:
|
|
649
|
+
blacklist: []
|
|
650
|
+
|
|
651
|
+
# ---------------------------------------------------------------
|
|
652
|
+
# SAFEMODE
|
|
653
|
+
#
|
|
654
|
+
# If you want to use plugins when running Jekyll in safe mode,
|
|
655
|
+
# you must add the gem to the whitelist
|
|
656
|
+
#
|
|
657
|
+
whitelist:
|
|
658
|
+
- jekyll-asciidoc
|
|
659
|
+
|
|
660
|
+
# ==============================================================================
|
|
661
|
+
# 5. PAGE configuration
|
|
662
|
+
#
|
|
663
|
+
# ------------------------------------------------------------------------------
|
|
664
|
+
#
|
|
665
|
+
# -------------------------------------------------------------------------
|
|
666
|
+
# EXCERPT settings
|
|
667
|
+
#
|
|
668
|
+
excerpt_separator: excerpt__end
|
|
669
|
+
|
|
670
|
+
# --------------------------------------------------------------------
|
|
671
|
+
# PAGINATION settings (Jekyll Paginate V2)
|
|
672
|
+
#
|
|
673
|
+
pagination:
|
|
674
|
+
enabled: true
|
|
675
|
+
permalink: /page:num/
|
|
676
|
+
per_page: 4
|
|
677
|
+
limit: 0
|
|
678
|
+
sort_field: date
|
|
679
|
+
sort_reverse: true
|
|
680
|
+
trail:
|
|
681
|
+
before: 2
|
|
682
|
+
after: 2
|
|
683
|
+
|
|
684
|
+
# AUTOPAGE settings
|
|
685
|
+
#
|
|
686
|
+
autopages:
|
|
687
|
+
enabled: false
|
|
688
|
+
|
|
689
|
+
tags:
|
|
690
|
+
enabled: false
|
|
691
|
+
layouts: [ paginator/autopage_collections_tags.html, paginator/autopage_tags.html ]
|
|
692
|
+
|
|
693
|
+
categories:
|
|
694
|
+
enabled: false
|
|
695
|
+
layouts: [ paginator/autopage_category.html ]
|
|
696
|
+
|
|
697
|
+
collections:
|
|
698
|
+
enabled: false
|
|
699
|
+
layouts: [ paginator/autopage_collection.html ]
|
|
700
|
+
|
|
701
|
+
# --------------------------------------------------------------------
|
|
702
|
+
# COLLECTION settings
|
|
703
|
+
# See: https://jekyllrb.com/docs/collections/#collections
|
|
704
|
+
#
|
|
705
|
+
collections:
|
|
706
|
+
|
|
707
|
+
# -------------------------------------------------------------
|
|
708
|
+
# Featured articles
|
|
709
|
+
#
|
|
710
|
+
featured:
|
|
711
|
+
output: true
|
|
712
|
+
permalink: /collections/:collection/:name/
|
|
713
|
+
|
|
714
|
+
# -------------------------------------------------------------
|
|
715
|
+
# Book shelf
|
|
716
|
+
#
|
|
717
|
+
biography:
|
|
718
|
+
output: true
|
|
719
|
+
permalink: /collections/premium/:collection/:name/
|
|
720
|
+
fantasy:
|
|
721
|
+
output: true
|
|
722
|
+
permalink: /collections/premium/:collection/:name/
|
|
723
|
+
romance:
|
|
724
|
+
output: true
|
|
725
|
+
permalink: /collections/premium/:collection/:name/
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
# --------------------------------------------------------------------
|
|
729
|
+
# FRONTMATTER defaults
|
|
730
|
+
#
|
|
731
|
+
|
|
732
|
+
# Using the YAML Front Matter is a way the (individual) configuration
|
|
733
|
+
# for post and pages can be specified. Very often, a lot of config
|
|
734
|
+
# options are repeated on each and every post or page. Setting the
|
|
735
|
+
# layout for each file, adding categories to a post, etc. might be
|
|
736
|
+
# the same for the majority of your content.
|
|
737
|
+
#
|
|
738
|
+
# Instead of repeating this configuration each time a page is being
|
|
739
|
+
# created, Jekyll provides a way to set these configuration items
|
|
740
|
+
# as defaults in this site configuration (_config.yml).
|
|
741
|
+
#
|
|
742
|
+
defaults:
|
|
743
|
+
|
|
744
|
+
# ------------------------------------------------------------------
|
|
745
|
+
# Pages
|
|
746
|
+
#
|
|
747
|
+
- scope:
|
|
748
|
+
path: pages
|
|
749
|
+
type: pages
|
|
750
|
+
|
|
751
|
+
values:
|
|
752
|
+
layout: page
|
|
753
|
+
author: J1 Team
|
|
754
|
+
resources: toccer
|
|
755
|
+
toc: true
|
|
756
|
+
adsense: true
|
|
757
|
+
comments: true
|
|
758
|
+
|
|
759
|
+
icons:
|
|
760
|
+
family: MDI
|
|
761
|
+
color: md-indigo
|
|
762
|
+
size: 5x
|
|
763
|
+
|
|
764
|
+
images:
|
|
765
|
+
dir: /assets/images/pages
|
|
766
|
+
|
|
767
|
+
resource_options:
|
|
768
|
+
- toccer:
|
|
769
|
+
collapseDepth: 2
|
|
770
|
+
|
|
771
|
+
# ------------------------------------------------------------------
|
|
772
|
+
# Posts
|
|
773
|
+
#
|
|
774
|
+
|
|
775
|
+
# --------------------------------------------------------
|
|
776
|
+
# PUBLIC - FEATURED
|
|
777
|
+
#
|
|
778
|
+
- scope:
|
|
779
|
+
path: posts/public/featured/_posts
|
|
780
|
+
type: posts
|
|
781
|
+
|
|
782
|
+
values:
|
|
783
|
+
layout: post
|
|
784
|
+
author: J1 Team
|
|
785
|
+
resources: toccer
|
|
786
|
+
toc: true
|
|
787
|
+
adsense: true
|
|
788
|
+
comments: true
|
|
789
|
+
|
|
790
|
+
icons:
|
|
791
|
+
# category-icon: comment-text-outline
|
|
792
|
+
family: MDI
|
|
793
|
+
color: md-indigo
|
|
794
|
+
size: 5x
|
|
795
|
+
|
|
796
|
+
images:
|
|
797
|
+
# category-image: img26.jpg
|
|
798
|
+
dir: /assets/images/blog/featured
|
|
799
|
+
|
|
800
|
+
resource_options:
|
|
801
|
+
- toccer:
|
|
802
|
+
collapseDepth: 2
|
|
803
|
+
|
|
804
|
+
# --------------------------------------------------------
|
|
805
|
+
# PRIVATE - FEATURED
|
|
806
|
+
#
|
|
807
|
+
- scope:
|
|
808
|
+
path: posts/private/featured/_posts
|
|
809
|
+
type: posts
|
|
810
|
+
|
|
811
|
+
values:
|
|
812
|
+
layout: post
|
|
813
|
+
author: J1 Team
|
|
814
|
+
resources: toccer
|
|
815
|
+
toc: true
|
|
816
|
+
adsense: true
|
|
817
|
+
comments: true
|
|
818
|
+
|
|
819
|
+
icons:
|
|
820
|
+
# category-icon: comment-text-outline
|
|
821
|
+
family: MDI
|
|
822
|
+
color: md-indigo
|
|
823
|
+
size: 5x
|
|
824
|
+
|
|
825
|
+
images:
|
|
826
|
+
# category-image: img26.jpg
|
|
827
|
+
dir: /assets/images/blog/featured
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
# --------------------------------------------------------
|
|
831
|
+
# SERIES
|
|
832
|
+
#
|
|
833
|
+
- scope:
|
|
834
|
+
type: posts
|
|
835
|
+
path: posts/premium/series/_posts
|
|
836
|
+
|
|
837
|
+
values:
|
|
838
|
+
layout: post
|
|
839
|
+
author: J1 Team
|
|
840
|
+
toc: true
|
|
841
|
+
adsense: true
|
|
842
|
+
comments: true
|
|
843
|
+
|
|
844
|
+
icons:
|
|
845
|
+
# category-icon: dots-horizontal-circle
|
|
846
|
+
family: MDI
|
|
847
|
+
color: md-indigo
|
|
848
|
+
size: 5x
|
|
849
|
+
|
|
850
|
+
images:
|
|
851
|
+
# category-image: img26.jpg
|
|
852
|
+
dir: /assets/images/blog/series
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
# --------------------------------------------------------
|
|
856
|
+
# WIKIPEDIA
|
|
857
|
+
#
|
|
858
|
+
- scope:
|
|
859
|
+
type: posts
|
|
860
|
+
path: posts/private/wikipedia/_posts
|
|
861
|
+
|
|
862
|
+
values:
|
|
863
|
+
layout: post
|
|
864
|
+
author: Wikipedia
|
|
865
|
+
resources: toccer
|
|
866
|
+
toc: true
|
|
867
|
+
adsense: true
|
|
868
|
+
comments: false
|
|
869
|
+
|
|
870
|
+
icons:
|
|
871
|
+
# category-icon: wikipedia
|
|
872
|
+
family: MDI
|
|
873
|
+
color: md-indigo
|
|
874
|
+
size: 5x
|
|
875
|
+
|
|
876
|
+
images:
|
|
877
|
+
category-image:
|
|
878
|
+
dir: /assets/images/blog/wikipedia
|
|
879
|
+
|
|
880
|
+
# ------------------------------------------------------------------
|
|
881
|
+
# Collections
|
|
882
|
+
#
|
|
883
|
+
|
|
884
|
+
# --------------------------------------------------------
|
|
885
|
+
# FEATURED Articles
|
|
886
|
+
#
|
|
887
|
+
- scope:
|
|
888
|
+
type: featured
|
|
889
|
+
path: collections/_featured
|
|
890
|
+
|
|
891
|
+
values:
|
|
892
|
+
layout: page
|
|
893
|
+
adsense: true
|
|
894
|
+
|
|
895
|
+
# --------------------------------------------------------
|
|
896
|
+
# BIOGRAPHY (Book Shelf)
|
|
897
|
+
#
|
|
898
|
+
- scope:
|
|
899
|
+
type: biography
|
|
900
|
+
path: collections/_biography
|
|
901
|
+
|
|
902
|
+
values:
|
|
903
|
+
layout: page
|
|
904
|
+
adsense: true
|
|
905
|
+
|
|
906
|
+
# --------------------------------------------------------
|
|
907
|
+
# FANTASY (Book Shelf)
|
|
908
|
+
#
|
|
909
|
+
- scope:
|
|
910
|
+
type: fantasy
|
|
911
|
+
path: collections/_fantasy
|
|
912
|
+
|
|
913
|
+
values:
|
|
914
|
+
layout: page
|
|
915
|
+
adsense: true
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
# --------------------------------------------------------
|
|
919
|
+
# ROMANCE (Book Shelf)
|
|
920
|
+
#
|
|
921
|
+
- scope:
|
|
922
|
+
type: romance
|
|
923
|
+
path: collections/_romance
|
|
924
|
+
|
|
925
|
+
values:
|
|
926
|
+
layout: page
|
|
927
|
+
adsense: true
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
# ==============================================================================
|
|
931
|
+
# 6. LAYOUT configuration
|
|
932
|
+
#
|
|
933
|
+
# ------------------------------------------------------------------------------
|
|
934
|
+
#
|
|
935
|
+
# -------------------------------------------------------------------------
|
|
936
|
+
# COMPRESS (HTML) settings
|
|
937
|
+
#
|
|
938
|
+
# enabled
|
|
939
|
+
# --------------------------------------------------------------------
|
|
940
|
+
# Enables|Disables the use of compress.
|
|
941
|
+
# If enabled, all HTML pages generated for ALL layout
|
|
942
|
+
# get compressed for production. To use compress, set
|
|
943
|
+
# the ENVIRONMENT to production and the value of
|
|
944
|
+
# compress_html.enable to "true".
|
|
945
|
+
#
|
|
946
|
+
# See http://jch.penibelst.de/ for more details.
|
|
947
|
+
#
|
|
948
|
+
# values: boolean (true|false)
|
|
949
|
+
# default: false
|
|
950
|
+
#
|
|
951
|
+
# profile
|
|
952
|
+
# --------------------------------------------------------------------
|
|
953
|
+
# A boolean value to turn on the profile mode. If true, the
|
|
954
|
+
# layout creates a HTML table after the compressed content. The
|
|
955
|
+
# table contains the file size in bytes during the compressing
|
|
956
|
+
# steps.
|
|
957
|
+
#
|
|
958
|
+
# The profile table provides attributes for styling and reading.
|
|
959
|
+
# The id ends with build’s timestamp to be unique enough.
|
|
960
|
+
#
|
|
961
|
+
# <table
|
|
962
|
+
# id="compress_html_profile_YYYYMMDD"
|
|
963
|
+
# class="compress_html_profile"
|
|
964
|
+
# >
|
|
965
|
+
#
|
|
966
|
+
# This page itself is compressed in profile mode for analysis,
|
|
967
|
+
# testing or educational purposes only. The table written to
|
|
968
|
+
# the end of a page.
|
|
969
|
+
#
|
|
970
|
+
# NOTE: Never profile pages for public use.
|
|
971
|
+
#
|
|
972
|
+
# values: boolean (true|false)
|
|
973
|
+
# default: false
|
|
974
|
+
#
|
|
975
|
+
# blanklines
|
|
976
|
+
# --------------------------------------------------------------------
|
|
977
|
+
# A boolean value to turn on blanklines mode. This mode will
|
|
978
|
+
# only remove lines consisting of whitespace and leave other
|
|
979
|
+
# lines alone.
|
|
980
|
+
#
|
|
981
|
+
# values: boolean (true|false)
|
|
982
|
+
# default: false
|
|
983
|
+
#
|
|
984
|
+
# clippings
|
|
985
|
+
# --------------------------------------------------------------------
|
|
986
|
+
# An array of elements to clip whitespace around them. The
|
|
987
|
+
# following elements may be safe to clip:
|
|
988
|
+
#
|
|
989
|
+
# - Metadata
|
|
990
|
+
# - Sections
|
|
991
|
+
# - Grouping content (except the pre element)
|
|
992
|
+
# - Tabular data
|
|
993
|
+
#
|
|
994
|
+
# Use the shortcut all to clip all safe elements.
|
|
995
|
+
#
|
|
996
|
+
# Example:
|
|
997
|
+
#
|
|
998
|
+
# clippings: [div, p, ul, td, h1, h2]
|
|
999
|
+
#
|
|
1000
|
+
# values: HTML tags|all
|
|
1001
|
+
# default: empty array
|
|
1002
|
+
#
|
|
1003
|
+
# comments
|
|
1004
|
+
# --------------------------------------------------------------------
|
|
1005
|
+
# An array of exactly two comment tags to strip comments
|
|
1006
|
+
# enclosed by them. The first string must be the start tag,
|
|
1007
|
+
# the second must be the end tag.
|
|
1008
|
+
#
|
|
1009
|
+
# Example:
|
|
1010
|
+
#
|
|
1011
|
+
# comments: ["<!-- ", " -->"]
|
|
1012
|
+
#
|
|
1013
|
+
# values: comment tags
|
|
1014
|
+
# default: empty array
|
|
1015
|
+
#
|
|
1016
|
+
# startings
|
|
1017
|
+
# --------------------------------------------------------------------
|
|
1018
|
+
# An array of elements with optional start tags. These start
|
|
1019
|
+
# tags will be >>removed<<.
|
|
1020
|
+
#
|
|
1021
|
+
# Example:
|
|
1022
|
+
#
|
|
1023
|
+
# startings: [html, head, body]
|
|
1024
|
+
#
|
|
1025
|
+
# values: HTML optional start tags
|
|
1026
|
+
# default: empty array
|
|
1027
|
+
#
|
|
1028
|
+
# endings
|
|
1029
|
+
# --------------------------------------------------------------------
|
|
1030
|
+
# An array of elements with optional end tags. These end tags
|
|
1031
|
+
# will be >>removed<<. Use the shortcut all to remove all
|
|
1032
|
+
# optional endings.
|
|
1033
|
+
#
|
|
1034
|
+
# Example:
|
|
1035
|
+
#
|
|
1036
|
+
# endings: [p, li, td]
|
|
1037
|
+
#
|
|
1038
|
+
# values: HTML optional end tags
|
|
1039
|
+
# default: empty array
|
|
1040
|
+
#
|
|
1041
|
+
# ignore.envs
|
|
1042
|
+
# --------------------------------------------------------------------
|
|
1043
|
+
# An array of environments given by ENV["JEKYLL_ENV"]
|
|
1044
|
+
# where the compress layout is IGNORED. This is useful
|
|
1045
|
+
# while developing a website the content should NOT
|
|
1046
|
+
# compressed.
|
|
1047
|
+
#
|
|
1048
|
+
# Example:
|
|
1049
|
+
#
|
|
1050
|
+
# envs: [development, test]
|
|
1051
|
+
#
|
|
1052
|
+
# values: HTML optional end tags
|
|
1053
|
+
# default: empty array
|
|
1054
|
+
#
|
|
1055
|
+
compress_html:
|
|
1056
|
+
enabled: true
|
|
1057
|
+
profile: false
|
|
1058
|
+
blanklines: false
|
|
1059
|
+
comments: []
|
|
1060
|
+
startings: []
|
|
1061
|
+
clippings: []
|
|
1062
|
+
endings: []
|
|
1063
|
+
ignore:
|
|
1064
|
+
envs: []
|