j1-template 2020.0.25 → 2021.0.0
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/attics/generator.html +1 -1
- data/assets/data/carousel.json +7 -15
- data/assets/themes/j1/adapter/js/carousel.js +395 -32
- data/assets/themes/j1/adapter/js/rtable.js +3 -1
- data/assets/themes/j1/adapter/js/toccer.js +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +23 -3
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.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/carousel/css/theme/uno.css +89 -36
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.css +443 -0
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.js +18701 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +13 -0
- data/assets/themes/j1/modules/kofax.7z +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +21 -90
- data/lib/starter_web/_data/apps/carousel.yml +157 -336
- data/lib/starter_web/_data/apps/defaults/carousel.yml +87 -86
- data/lib/starter_web/_data/layouts/collection.yml +6 -6
- data/lib/starter_web/_data/layouts/home.yml +0 -1
- data/lib/starter_web/_data/layouts/page.yml +1 -2
- data/lib/starter_web/_data/layouts/post.yml +1 -2
- data/lib/starter_web/_data/modules/fam.yml +45 -11
- data/lib/starter_web/_data/resources.yml +3 -2
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +48 -43
- data/lib/starter_web/assets/images/quotes/colored-1.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/colored-2.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/default.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/light-blue.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/people.jpg +0 -0
- data/lib/starter_web/package.json +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +6 -23
- data/lib/starter_web/pages/public/previewer/rouge.adoc +238 -4
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +12 -53
- data/assets/themes/j1/core/css/bootstrap.css +0 -7154
- data/assets/themes/j1/core/css/bootstrap.min.css +0 -6
- data/assets/themes/j1/core/css/custom.scss +0 -28
- data/assets/themes/j1/core/css/globals.css +0 -14523
- data/assets/themes/j1/core/css/globals.min.css +0 -1
- data/assets/themes/j1/core/css/globals.scss +0 -28
- data/assets/themes/j1/core/css/theme_extensions.css +0 -11558
- data/assets/themes/j1/core/css/theme_extensions.min.css +0 -1
- data/assets/themes/j1/core/css/uno.css +0 -11823
- data/assets/themes/j1/core/css/uno.min.css +0 -1
- data/assets/themes/j1/core/css/uno.scss +0 -28
- data/assets/themes/j1/core/css/vendor.scss +0 -28
- data/lib/starter_web/assets/images/quotes/default.png +0 -0
- data/lib/starter_web/assets/images/quotes/people.png +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -494
- data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +0 -218
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/attributes.asciidoc +0 -34
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/debug_variables.asciidoc +0 -48
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +0 -49
- data/lib/starter_web/pages/public/test_pages/_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +0 -22
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +0 -56
- data/lib/starter_web/pages/public/test_pages/breadcrumbs_tester.adoc +0 -62
- data/lib/starter_web/pages/public/test_pages/carousel_captions.adoc +0 -1045
- data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +0 -165
- data/lib/starter_web/pages/public/test_pages/floating_actions_button.adoc +0 -523
- data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +0 -208
- data/lib/starter_web/pages/public/test_pages/floating_div.adoc +0 -196
- data/lib/starter_web/pages/public/test_pages/lunr_tester.adoc +0 -89
- data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +0 -284
- data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +0 -196
- data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +0 -213
- data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +0 -210
- data/lib/starter_web/pages/public/test_pages/toccer_tester.adoc +0 -2245
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/attributes.asciidoc +0 -117
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_table_3_column.asciidoc +0 -47
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_test_youtube_video.adoc +0 -141
- data/lib/starter_web/pages/public/test_pages/vtutorials/100_basic_video.adoc +0 -109
@@ -1,218 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Test Post
|
3
|
-
tagline: test post
|
4
|
-
description:
|
5
|
-
|
6
|
-
date: 2020-09-11 00:00:00 +0100
|
7
|
-
series:
|
8
|
-
|
9
|
-
tags: [ Test, Posts ]
|
10
|
-
categories: [ Test ]
|
11
|
-
|
12
|
-
regenerate: false
|
13
|
-
exclude_from_search: true
|
14
|
-
|
15
|
-
resources: []
|
16
|
-
resource_options:
|
17
|
-
- attic:
|
18
|
-
padding_top: 400
|
19
|
-
padding_bottom: 50
|
20
|
-
opacity: 0.5
|
21
|
-
slides:
|
22
|
-
- url: /assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg
|
23
|
-
alt: Minnesota
|
24
|
-
---
|
25
|
-
|
26
|
-
// Collection Initializer (posts|collections)
|
27
|
-
// =============================================================================
|
28
|
-
// Enable the Liquid Preprocessor
|
29
|
-
:page-liquid:
|
30
|
-
|
31
|
-
// Set page (local) attributes here
|
32
|
-
// -----------------------------------------------------------------------------
|
33
|
-
// :page--attr: <attr-value>
|
34
|
-
:debug: false
|
35
|
-
|
36
|
-
// Place an excerpt at the most top positison
|
37
|
-
// -----------------------------------------------------------------------------
|
38
|
-
Minneapolis is the largest city in the state of Minnesota in the United States,
|
39
|
-
and the county seat of Hennepin County. According to the United States Census
|
40
|
-
Bureau, the city has a total area of 151.3 km² (58.4 mi²). 142.2 km² (54.9 mi²)
|
41
|
-
of it is land and 9.1 km² (3.5 mi²) of it (6.01%) is water.
|
42
|
-
|
43
|
-
[role="clearfix mb-3"]
|
44
|
-
excerpt__end
|
45
|
-
|
46
|
-
// Load Liquid procedures
|
47
|
-
// -----------------------------------------------------------------------------
|
48
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
49
|
-
|
50
|
-
// Load page attributes
|
51
|
-
// -----------------------------------------------------------------------------
|
52
|
-
{% include {{load_attributes}} scope="all" %}
|
53
|
-
|
54
|
-
ifeval::["{debug}" == "true"]
|
55
|
-
|
56
|
-
// Liquid preprocessor not applied to included AsciiDoc files
|
57
|
-
// https://github.com/asciidoctor/jekyll-asciidoc/issues/166
|
58
|
-
== Notes
|
59
|
-
|
60
|
-
The Liquid preprocessor not applied to included AsciiDoc files by the
|
61
|
-
*jekyll-asciidoc* plugin.
|
62
|
-
|
63
|
-
.From link:{https://github.com/asciidoctor/jekyll-asciidoc/issues/166}[Plugin {char-middot} jekyll-asciidoc {char-middot} issue]
|
64
|
-
|
65
|
-
*mojavelinux commented on 3 Oct 2017*
|
66
|
-
|
67
|
-
The problem is that the liquid filter is applied to the raw source, before
|
68
|
-
the AsciiDoc plugin gets involved. That step doesn't know anything about
|
69
|
-
AsciiDoc includes, so it only looks at the flat source. Then Asciidoctor
|
70
|
-
comes in and converts the content. Only then is the include file folded in,
|
71
|
-
but Asciidoctor doesn't know anything about liquid. That's why the liquid
|
72
|
-
tags are not processed in the include file.
|
73
|
-
|
74
|
-
There was never a test for this scenario, which is why it got overlooked.
|
75
|
-
|
76
|
-
In order to solve this, we'd need to introduce a custom IncludeProcessor
|
77
|
-
that applies the liquid filter on the included content. At the moment,
|
78
|
-
that has side effects, so it needs to be handled carefully.
|
79
|
-
|
80
|
-
== Variables
|
81
|
-
|
82
|
-
// Include table|s (global source)
|
83
|
-
// -----------------------------------------------------------------------------
|
84
|
-
include::{table-template--variables}[]
|
85
|
-
|
86
|
-
.Jekyll variables (Liquid)
|
87
|
-
[cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
|
88
|
-
|===============================================================================
|
89
|
-
|Name |Value |Description
|
90
|
-
|
91
|
-
|`page.path`
|
92
|
-
|{{ page.path }}
|
93
|
-
|The path to the raw post or page. Example usage: Linking back to the page
|
94
|
-
or post's source on GitHub. This can be overridden in the `YAML Front Matter`.
|
95
|
-
|
96
|
-
|`site.collections_dir`
|
97
|
-
|{{ site.collections_dir }}
|
98
|
-
|lorem:sentences[1]
|
99
|
-
|
100
|
-
|`page.images.dir`
|
101
|
-
|{{ page.images.dir }}
|
102
|
-
|Image path set pagewise. See FRONTMATTER defaults in `_config.yml` for the
|
103
|
-
images path specified by: `images.dir` for specific page *type*. See the
|
104
|
-
example below for a page of type *pages*.
|
105
|
-
[source, yaml]
|
106
|
-
----
|
107
|
-
defaults:
|
108
|
-
- scope:
|
109
|
-
path: pages
|
110
|
-
type: pages
|
111
|
-
|
112
|
-
values:
|
113
|
-
images:
|
114
|
-
dir: /assets/images/pages
|
115
|
-
----
|
116
|
-
|
117
|
-
|`page-imagesdir`
|
118
|
-
|{{ page-imagesdir }}
|
119
|
-
| Images path set in the page by `:page-imagesdir:`.
|
120
|
-
|
121
|
-
|`template`
|
122
|
-
|{{ site.template.name }}
|
123
|
-
|Name of the template used for rendering a page. Settings are taken from
|
124
|
-
sitewide configuration defined by `_config.yml`.
|
125
|
-
|
126
|
-
|`includedir`
|
127
|
-
|{{ includedir }}
|
128
|
-
|lorem:sentences[1]
|
129
|
-
|
130
|
-
|===============================================================================
|
131
|
-
|
132
|
-
== MIT license
|
133
|
-
|
134
|
-
include::{docs-licenses--mit}[]
|
135
|
-
|
136
|
-
endif::[]
|
137
|
-
|
138
|
-
|
139
|
-
// Content
|
140
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
141
|
-
[[readmore]]
|
142
|
-
== Physical
|
143
|
-
|
144
|
-
[role="mb-3"]
|
145
|
-
image::collections/blog/wikipedia/minneapolis.1200x400.jpg[{{page.title}}]
|
146
|
-
|
147
|
-
[role="mt-2"]
|
148
|
-
Read {char-middot} link:{url-wikipedia_en--minneapolis}[From Wikipedia, {browser-window--new}].
|
149
|
-
|
150
|
-
The Mississippi, which runs to the southeast, directed the early growth of the
|
151
|
-
city. Most early streets ran parallel to the river to maximize the amount of
|
152
|
-
land that could be used. Eventually, growth of Minneapolis turned to north-south
|
153
|
-
and east-west streets.
|
154
|
-
|
155
|
-
Many unique intersections like Seven Corners on the eastern periphery of
|
156
|
-
downtown were formed to translate between the two layouts. Some streets,
|
157
|
-
especially older and more traditionally important ones like Hennepin Avenue
|
158
|
-
and Nicollet Avenue, have both orientations at different points.
|
159
|
-
|
160
|
-
== Parks and lakes
|
161
|
-
|
162
|
-
Minneapolis has a large park system consisting of ten square miles (26 km²)
|
163
|
-
of land and water that is interlinked in many places. Theodore Wirth is often
|
164
|
-
credited with the development of this system that brought a playground within
|
165
|
-
the reach of most children and the canopy of trees and boulevards in much of
|
166
|
-
the city. The Mississippi National River and Recreation Area connects regional
|
167
|
-
parks and visitors centers.
|
168
|
-
|
169
|
-
Theodore Wirth Park is the largest in the city, shared with Golden Valley,
|
170
|
-
and is about 60% the size of Central Park in New York City. Minnehaha Park
|
171
|
-
is one of the most famous, the site of Minnehaha Falls and cultural heritage
|
172
|
-
events every year. Tower Hill Park in Prospect Park is the home of a 1913
|
173
|
-
water tower, one of the highest points in Minneapolis.
|
174
|
-
|
175
|
-
The Grand Rounds Scenic Byway circles through the city and many of the larger
|
176
|
-
park areas including land along the Mississippi, lakes and scenic areas.
|
177
|
-
A parkway for cars, a bikeway for riders, and a walkway for pedestrians run
|
178
|
-
parallel paths along the 50-mile route. A growing number of bikeways and
|
179
|
-
walkways crisscross the city and interconnect with neighboring cities.
|
180
|
-
|
181
|
-
Twenty four small lakes are within the city limits. Among the largest
|
182
|
-
freshwater lakes to the west are Lake Harriet, Lake Calhoun, Lake of the
|
183
|
-
Isles, and Cedar Lake, known together as the "Chain of Lakes". Lake Nokomis
|
184
|
-
and Lake Hiawatha are to the east. Connected by bike, running and walking
|
185
|
-
paths, Minneapolis lakes are used for swimming, fishing, picnics and boating.
|
186
|
-
|
187
|
-
== Flora and fauna
|
188
|
-
|
189
|
-
The area now occupied by the Twin Cities generally consisted of a 155 foot
|
190
|
-
(47 m) thick layer of St. Peter Sandstone, under a 16 foot (5 m) thick layer
|
191
|
-
of shale, under a 35 foot (11 m) thick layer of Platteville limestone.[4]
|
192
|
-
These layers were the result of an Ordovician Period sea which covered
|
193
|
-
east-central Minnesota 500 million years ago. The hard limestone cap
|
194
|
-
was formed from fossilized shell fish. About 20,000 years ago, the area
|
195
|
-
was covered by the Superior Lobe of the Laurentide ice sheet, which left
|
196
|
-
the St. Croix moraine on the Twin Cities as it receded.
|
197
|
-
|
198
|
-
Later the Grantsburg Sublobe of the Des Moines Lobe also covered the area.
|
199
|
-
Under these vast layers of ice, tunnel valleys were formed, cutting through the
|
200
|
-
limestone layer with tremendous force, to release ice meltwater and glacier
|
201
|
-
effluence. The result was a series of troughs in the limestone, which
|
202
|
-
were filled by glacial till and outwash deposit as the glaciers receded.
|
203
|
-
Sometimes the sediment would be mixed with huge chunks of ice, which would
|
204
|
-
leave voids in the soil. These voids created basins for the Twin Cities Lakes,
|
205
|
-
such as Harriet and Lake Calhoun. Connecting the city lakes in several
|
206
|
-
north-south arteries are gorges cut through the bedrock, but filled with
|
207
|
-
sand and sediment.
|
208
|
-
|
209
|
-
When River Warren Falls receded past the confluence of the much smaller
|
210
|
-
Upper Mississippi River, a new waterfall was created where that river entered
|
211
|
-
the much-lower glacial River Warren. The new falls also receded upstream on
|
212
|
-
the Mississippi, migrating eight miles (12875 m) over 9600 years to where
|
213
|
-
Louis Hennepin first saw it and named St. Anthony Falls in 1680. Due to its
|
214
|
-
value as a power source, this waterfall determined the location of Minneapolis.
|
215
|
-
One branch of the river coming from the west, Minnehaha Creek receded only a
|
216
|
-
few hundred yards from one of the channels of the Mississippi. Minnehaha Falls
|
217
|
-
remains as a picturesque and informative relic of River Warren Falls, and the
|
218
|
-
limestone-over-sandstone construction is readily apparent in its small gorge.
|
data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/attributes.asciidoc
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
// ~/document_base_folder/000_includes
|
2
|
-
// Asciidoc attribute includes: attributes.asciidoc
|
3
|
-
// -----------------------------------------------------------------------------
|
4
|
-
|
5
|
-
// URLs - Internal references and/or sources on the Internet
|
6
|
-
// -----------------------------------------------------------------------------
|
7
|
-
tag::urls[]
|
8
|
-
:url-wikipedia_en--minneapolis: https://en.wikipedia.org/wiki/Geography_of_Minneapolis
|
9
|
-
end::urls[]
|
10
|
-
|
11
|
-
|
12
|
-
// Tags - Asciidoc attributes used internally
|
13
|
-
// -----------------------------------------------------------------------------
|
14
|
-
tag::tags[]
|
15
|
-
end::tags[]
|
16
|
-
|
17
|
-
|
18
|
-
// Data - Data elements for Asciidoctor extensions
|
19
|
-
// -----------------------------------------------------------------------------
|
20
|
-
tag::data[]
|
21
|
-
:image__wikipedia--minneapolis: "/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg"
|
22
|
-
end::data[]
|
23
|
-
|
24
|
-
|
25
|
-
// PRODUCTS, global product information (e.g. release)
|
26
|
-
// -----------------------------------------------------------------------------
|
27
|
-
tag::products[]
|
28
|
-
end::products[]
|
29
|
-
|
30
|
-
|
31
|
-
// AUTHORS, global author information
|
32
|
-
// -----------------------------------------------------------------------------
|
33
|
-
tag::authors[]
|
34
|
-
end::authors[]
|
File without changes
|
@@ -1,48 +0,0 @@
|
|
1
|
-
ifeval::["{debug}" == "true"]
|
2
|
-
.Liquid variables
|
3
|
-
[cols="2,4,6a, options="header", role="table-responsive, full-width"]
|
4
|
-
|===============================================================================
|
5
|
-
|name |value |description
|
6
|
-
|
7
|
-
|`page.path`
|
8
|
-
|{{ page.path }}
|
9
|
-
|The path to the raw post or page. Example usage: Linking back to the page
|
10
|
-
or post's source on GitHub. This can be overridden in the `YAML Front Matter`.
|
11
|
-
|
12
|
-
|`site.collections_dir`
|
13
|
-
|{{ site.collections_dir }}
|
14
|
-
|lorem:sentences[1]
|
15
|
-
|
16
|
-
|`page.images.dir`
|
17
|
-
|{{ page.images.dir }}
|
18
|
-
|Image path set pagewise. See FRONTMATTER defaults in `_config.yml` for the
|
19
|
-
images path specified by: `images.dir` for specific page *type*. See the
|
20
|
-
example below for a page of type *pages*.
|
21
|
-
[source, yaml]
|
22
|
-
----
|
23
|
-
defaults:
|
24
|
-
- scope:
|
25
|
-
path: pages
|
26
|
-
type: pages
|
27
|
-
|
28
|
-
values:
|
29
|
-
images:
|
30
|
-
dir: /assets/images/pages
|
31
|
-
----
|
32
|
-
|
33
|
-
|`page-imagesdir`
|
34
|
-
|{{ page-imagesdir }}
|
35
|
-
| Images path set in the page by `:page-imagesdir:`.
|
36
|
-
|
37
|
-
|`template`
|
38
|
-
|{{ site.template.name }}
|
39
|
-
|Name of the template used for rendering a page. Settings are taken from
|
40
|
-
sitewide configuration defined by `_config.yml`.
|
41
|
-
|
42
|
-
|`includedir`
|
43
|
-
|{{ includedir }}
|
44
|
-
|lorem:sentences[1]
|
45
|
-
|
46
|
-
|===============================================================================
|
47
|
-
endif::[]
|
48
|
-
|
File without changes
|
@@ -1,49 +0,0 @@
|
|
1
|
-
// ~/document_base_folder/includes/attributes.asciidoc
|
2
|
-
// Local Asciidoc attribute includes
|
3
|
-
// -----------------------------------------------------------------------------
|
4
|
-
|
5
|
-
// URL, local references to internal|external web links
|
6
|
-
// -----------------------------------------------------------------------------
|
7
|
-
tag::urls[]
|
8
|
-
|
9
|
-
:url-local--source: https://example.com/home
|
10
|
-
:url-wikipedia_de--yandex: https://de.wikipedia.org/wiki/Yandex
|
11
|
-
|
12
|
-
:url-stackoverflow--card_deck: https://stackoverflow.com/questions/36430816/bootstrap-4-card-deck-with-number-of-columns-based-on-viewport
|
13
|
-
:url-codeply--card_deck: https://www.codeply.com/go/nIB6oSbv6q
|
14
|
-
|
15
|
-
end::urls[]
|
16
|
-
|
17
|
-
// TAGS, local Asciidoc attributes (variables)
|
18
|
-
// -----------------------------------------------------------------------------
|
19
|
-
tag::tags[]
|
20
|
-
:documents-dir: documents
|
21
|
-
:tables-dir: tables
|
22
|
-
:images-dir--pages: images/pages
|
23
|
-
end::tags[]
|
24
|
-
|
25
|
-
|
26
|
-
// IMAGES, local references to images
|
27
|
-
// -----------------------------------------------------------------------------
|
28
|
-
tag::images[]
|
29
|
-
:image-wikipedia--minneapolis: {images-dir--pages}/minneapolis.1200x400.jpg
|
30
|
-
end::images[]
|
31
|
-
|
32
|
-
|
33
|
-
// DATA, local references to data elements (asciidoc extensions)
|
34
|
-
// -----------------------------------------------------------------------------
|
35
|
-
tag::data[]
|
36
|
-
:data-wikipedia--minneapolis: "{images-dir--pages}/minneapolis.1200x400.jpg, local image"
|
37
|
-
end::data[]
|
38
|
-
|
39
|
-
|
40
|
-
// PRODUCTS, local product information (e.g. release)
|
41
|
-
// -----------------------------------------------------------------------------
|
42
|
-
tag::products[]
|
43
|
-
end::products[]
|
44
|
-
|
45
|
-
|
46
|
-
// AUTHORS, local author information (e.g. article)
|
47
|
-
// -----------------------------------------------------------------------------
|
48
|
-
tag::authors[]
|
49
|
-
end::authors[]
|
@@ -1,27 +0,0 @@
|
|
1
|
-
== Github Gist
|
2
|
-
|
3
|
-
Code snippets may helpful to support your readers for existing code examples.
|
4
|
-
An excellent place for code snippets is Gist at Github. To embed an existing
|
5
|
-
gist into your documents, the Asciidoc extention *Gist block* provides the
|
6
|
-
block macro `gist::` to do so.
|
7
|
-
|
8
|
-
The following gist snippet is taken from {asciidoc-extensions-gist-example}[this example, window="_blank"]:
|
9
|
-
|
10
|
-
//[source, adoc]
|
11
|
-
----
|
12
|
-
.Gist title
|
13
|
-
gist::git_address[] <1>
|
14
|
-
----
|
15
|
-
<1> For `git_address`, {github-gist-home}[, window="_blank"] is prepended automatically
|
16
|
-
|
17
|
-
.Example of a gist block
|
18
|
-
----
|
19
|
-
.Guard setup to live preview AsciiDoc output
|
20
|
-
gist::mojavelinux/5546622[]
|
21
|
-
----
|
22
|
-
|
23
|
-
[.result]
|
24
|
-
====
|
25
|
-
.Guard setup to live preview AsciiDoc output
|
26
|
-
gist::mojavelinux/5546622[]
|
27
|
-
====
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
.BEM specifiers for J1 Template __variables__
|
3
|
-
[cols="1a,3a,8a", options="header", width="100%", role="rtable mt-3"]
|
4
|
-
|===============================================================================
|
5
|
-
|Specifier |Example |Description
|
6
|
-
|
7
|
-
|Block
|
8
|
-
|`url` \| `image` \| `data`
|
9
|
-
|Top level specifier. Defines the (global) resource type, e.g. an URL, image
|
10
|
-
or a dataset
|
11
|
-
|
12
|
-
|Element
|
13
|
-
|`url-j1`
|
14
|
-
|Specifier to express the dependency upon the block, e.g. a site prefix like
|
15
|
-
`https://jekyll.one`
|
16
|
-
|
17
|
-
|Modifier
|
18
|
-
|`url-j1\--home` \| `url-j1\--learn_present_images`
|
19
|
-
|Specifier that adresses a specific source: e.g. web page like
|
20
|
-
`https://jekyll.one/` \| `https://jekyll.one/pages/public/learn/roundtrip/present_images`
|
21
|
-
|
22
|
-
|===============================================================================
|
data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
|
2
|
-
.Examples for attributes
|
3
|
-
[cols="1a,4a,7a", options="header", width="100%", role="rtable mt-3"]
|
4
|
-
|===============================================================================
|
5
|
-
|Tag |BEM |Value\|Example
|
6
|
-
|
7
|
-
|url
|
8
|
-
|`url-j1\--home`
|
9
|
-
|{url-j1--home} {char-emdash}
|
10
|
-
link:{url-j1--home}[Jekyll One {char-middot} Home, {browser-window--new}]
|
11
|
-
[source, prometheus, role="noclip"]
|
12
|
-
----
|
13
|
-
link:{url-j1--home}[Jekyll One {char-middot} Home, {browser-window--new}]
|
14
|
-
----
|
15
|
-
|
16
|
-
|tag
|
17
|
-
|`browser-window\--new`
|
18
|
-
|{browser-window--new}
|
19
|
-
[source, prometheus, role="noclip"]
|
20
|
-
----
|
21
|
-
link:{url}[link title, {browser-window--new}]
|
22
|
-
----
|
23
|
-
|
24
|
-
|tag
|
25
|
-
|`icon-battery\--quarter`
|
26
|
-
|icon:battery-quarter[role="md-blue"]
|
27
|
-
[source, prometheus, role="noclip"]
|
28
|
-
----
|
29
|
-
icon:battery-quarter[role="md-blue"]
|
30
|
-
----
|
31
|
-
|
32
|
-
|tag
|
33
|
-
|`figure-caption\--text`
|
34
|
-
|{figure-caption--text}
|
35
|
-
[source, prometheus, role="noclip"]
|
36
|
-
----
|
37
|
-
.{figure-caption--text} image description\|text
|
38
|
-
----
|
39
|
-
|
40
|
-
|image
|
41
|
-
|`image-attic\--cookies`
|
42
|
-
|{image-attic--cookies}
|
43
|
-
[source, prometheus, role="noclip"]
|
44
|
-
----
|
45
|
-
image:{image-attic--cookies}[image title]
|
46
|
-
----
|
47
|
-
|
48
|
-
|data
|
49
|
-
|`data-lightbox\--example`
|
50
|
-
|{data-lightbox--example}
|
51
|
-
[source, prometheus, role="noclip"]
|
52
|
-
----
|
53
|
-
lightbox::lightbox--example[600, {data-lightbox--example}]
|
54
|
-
----
|
55
|
-
|
56
|
-
|===============================================================================
|