j1-template 2021.0.10 → 2021.0.15
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/layouts/content_generator_blog_archive.html +34 -12
- data/_includes/themes/j1/layouts/content_generator_post.html +7 -5
- data/_includes/themes/j1/modules/navigator/generator.html +6 -6
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +1 -1
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +2 -0
- data/assets/data/authclient.html +1 -1
- data/assets/data/carousel.json +1 -1
- data/assets/data/fam.html +1 -1
- data/assets/data/menu.1.html +505 -0
- data/assets/data/menu.html +15 -17
- data/assets/themes/j1/adapter/js/carousel.js +6 -1
- data/assets/themes/j1/adapter/js/mmenu.js +9 -4
- data/assets/themes/j1/adapter/js/navigator.js +14 -6
- data/assets/themes/j1/adapter/js/themer.js +49 -0
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +25 -7
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +2 -8
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +2 -8
- data/assets/themes/j1/core/js/template.min.js.map +1 -0
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +9 -4
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/lib/j1/commands/generate.rb +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/_config.yml +3 -3
- data/lib/starter_web/_data/blocks/banner.yml +19 -7
- data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
- data/lib/starter_web/_data/builder/blog_navigator.yml +4 -4
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +3 -24
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -0
- data/lib/starter_web/_data/modules/fam.yml +21 -2
- data/lib/starter_web/_data/modules/navigator_menu.yml +26 -26
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/private.yml@localhost +199 -0
- data/lib/starter_web/_includes/attributes.asciidoc +9 -1
- data/lib/starter_web/_plugins/lunr_index.rb +8 -4
- data/lib/starter_web/assets/images/modules/attics/joel-filipe-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske3-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +6 -3
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +8 -5
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +7 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +7 -4
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +7 -4
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +1 -1
- data/lib/starter_web/dot.gitignore +2 -3
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/about_site.adoc +6 -7
- data/lib/starter_web/pages/public/blog/navigator/archive.html +9 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +9 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +16 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +9 -7
- data/lib/starter_web/pages/public/blog/navigator/index.html +9 -10
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +79 -46
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -7
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +5 -15
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +161 -591
- data/lib/starter_web/pages/public/previewer/iframer.adoc +2 -1
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -2
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +2450 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +4 -4
- data/lib/starter_web/pages/public/previewer/rouge.adoc +3 -3
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +11 -11
- data/lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb +0 -72
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-welcome-to-j1.adoc +0 -167
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -98
- data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +0 -55
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -295
- data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +0 -395
- data/lib/starter_web/pages/public/legal/de/500_support.adoc +0 -20
- data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +0 -441
- data/lib/starter_web/pages/public/legal/en/500_support.adoc +0 -27
@@ -8,15 +8,15 @@ description: >
|
|
8
8
|
designers and developers targeting various platforms to download
|
9
9
|
icons in the format, color and size they need for any project.
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
categories: [ Preview ]
|
12
|
+
tags: [ MDI, Icons, Fonts ]
|
13
13
|
|
14
|
-
scrollbar:
|
14
|
+
scrollbar: false
|
15
15
|
|
16
16
|
permalink: /pages/public/previewer/mdi_font/
|
17
17
|
regenerate: false
|
18
18
|
|
19
|
-
resources: [ clipboard, lightbox, rouge, mdi_previewer
|
19
|
+
resources: [ clipboard, lightbox, rouge, mdi_previewer ]
|
20
20
|
resource_options:
|
21
21
|
- attic:
|
22
22
|
padding_top: 400
|
@@ -7,16 +7,16 @@ description: >
|
|
7
7
|
syntax highlighter. It can highlight over 100 different
|
8
8
|
languages fully integrated with J1 Template.
|
9
9
|
|
10
|
+
categories: [ Previewer ]
|
10
11
|
tags: [ Rouge, Highlighter ]
|
11
|
-
categories: [ App, Previewer ]
|
12
12
|
|
13
|
-
scrollbar:
|
13
|
+
scrollbar: false
|
14
14
|
toc: true
|
15
15
|
|
16
16
|
permalink: /pages/public/previewer/rouge/
|
17
17
|
regenerate: true
|
18
18
|
|
19
|
-
resources: [ rouge, clipboard
|
19
|
+
resources: [ rouge, clipboard ]
|
20
20
|
resource_options:
|
21
21
|
- toccer:
|
22
22
|
collapseDepth: 4
|
@@ -7,10 +7,10 @@ description: >
|
|
7
7
|
icon font developed by Twitter. The full icon set is fully
|
8
8
|
supported by J1 Template.
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
categories: [ Previewer ]
|
11
|
+
tags: [ Emoji, Icons, Fonts, Twitter ]
|
12
12
|
|
13
|
-
scrollbar:
|
13
|
+
scrollbar: false
|
14
14
|
|
15
15
|
permalink: /pages/public/previewer/twitter_emoji/
|
16
16
|
regenerate: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: j1-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2021.0.
|
4
|
+
version: 2021.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- juergen_jekyll_one
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -360,6 +360,7 @@ files:
|
|
360
360
|
- assets/data/galleries.json
|
361
361
|
- assets/data/gallery_customizer.html
|
362
362
|
- assets/data/mdi_icons.json
|
363
|
+
- assets/data/menu.1.html
|
363
364
|
- assets/data/menu.html
|
364
365
|
- assets/data/mmenu.html
|
365
366
|
- assets/data/mmenu_sidebar.html
|
@@ -485,6 +486,7 @@ files:
|
|
485
486
|
- assets/themes/j1/core/js/template.js
|
486
487
|
- assets/themes/j1/core/js/template.js.map
|
487
488
|
- assets/themes/j1/core/js/template.min.js
|
489
|
+
- assets/themes/j1/core/js/template.min.js.map
|
488
490
|
- assets/themes/j1/modules/backstretch/js/backstretch.js
|
489
491
|
- assets/themes/j1/modules/backstretch/js/backstretch.min.js
|
490
492
|
- assets/themes/j1/modules/bmd/css/bootstrap-material-design.css
|
@@ -852,7 +854,6 @@ files:
|
|
852
854
|
- lib/j1/log_helper.rb
|
853
855
|
- lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so
|
854
856
|
- lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so
|
855
|
-
- lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb
|
856
857
|
- lib/j1/utils.rb
|
857
858
|
- lib/j1/utils/ansi.rb
|
858
859
|
- lib/j1/utils/exec.rb
|
@@ -987,6 +988,7 @@ files:
|
|
987
988
|
- lib/starter_web/_data/plugins/notebooks.yml
|
988
989
|
- lib/starter_web/_data/plugins/paginator.yml
|
989
990
|
- lib/starter_web/_data/private.yml
|
991
|
+
- lib/starter_web/_data/private.yml@localhost
|
990
992
|
- lib/starter_web/_data/resources.yml
|
991
993
|
- lib/starter_web/_data/utilities/defaults/util_srv.yml
|
992
994
|
- lib/starter_web/_data/utilities/util_srv.yml
|
@@ -1058,12 +1060,17 @@ files:
|
|
1058
1060
|
- lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg
|
1059
1061
|
- lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg
|
1060
1062
|
- lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg
|
1063
|
+
- lib/starter_web/assets/images/modules/attics/joel-filipe-1920x1280.jpg
|
1061
1064
|
- lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg
|
1062
1065
|
- lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg
|
1063
1066
|
- lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg
|
1064
1067
|
- lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg
|
1065
1068
|
- lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg
|
1066
1069
|
- lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg
|
1070
|
+
- lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg
|
1071
|
+
- lib/starter_web/assets/images/modules/attics/markus-spiske.jpg
|
1072
|
+
- lib/starter_web/assets/images/modules/attics/markus-spiske3-1920x1280.jpg
|
1073
|
+
- lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg
|
1067
1074
|
- lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg
|
1068
1075
|
- lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg
|
1069
1076
|
- lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg
|
@@ -1379,7 +1386,6 @@ files:
|
|
1379
1386
|
- lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb
|
1380
1387
|
- lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-site-generators.adoc
|
1381
1388
|
- lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc
|
1382
|
-
- lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-welcome-to-j1.adoc
|
1383
1389
|
- lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc
|
1384
1390
|
- lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme
|
1385
1391
|
- lib/starter_web/collections/posts/public/featured/_posts/_includes/tables/readme
|
@@ -1477,17 +1483,10 @@ files:
|
|
1477
1483
|
- lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc
|
1478
1484
|
- lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc
|
1479
1485
|
- lib/starter_web/pages/public/learn/where_to_go.adoc
|
1480
|
-
- lib/starter_web/pages/public/legal/de/100_impress.adoc
|
1481
|
-
- lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc
|
1482
|
-
- lib/starter_web/pages/public/legal/de/300_privacy.adoc
|
1483
|
-
- lib/starter_web/pages/public/legal/de/400_license_agreement.adoc
|
1484
|
-
- lib/starter_web/pages/public/legal/de/500_support.adoc
|
1485
1486
|
- lib/starter_web/pages/public/legal/en/000_copyright.adoc
|
1486
1487
|
- lib/starter_web/pages/public/legal/en/100_impress.adoc
|
1487
1488
|
- lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc
|
1488
1489
|
- lib/starter_web/pages/public/legal/en/300_privacy.adoc
|
1489
|
-
- lib/starter_web/pages/public/legal/en/400_license_agreement.adoc
|
1490
|
-
- lib/starter_web/pages/public/legal/en/500_support.adoc
|
1491
1490
|
- lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc
|
1492
1491
|
- lib/starter_web/pages/public/panels/intro_panel/panel.adoc
|
1493
1492
|
- lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc
|
@@ -1515,6 +1514,7 @@ files:
|
|
1515
1514
|
- lib/starter_web/pages/public/previewer/bootstrap_theme.adoc
|
1516
1515
|
- lib/starter_web/pages/public/previewer/iframer.adoc
|
1517
1516
|
- lib/starter_web/pages/public/previewer/justified_gallery.html
|
1517
|
+
- lib/starter_web/pages/public/previewer/md_color_palette.adoc
|
1518
1518
|
- lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc
|
1519
1519
|
- lib/starter_web/pages/public/previewer/rouge.adoc
|
1520
1520
|
- lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc
|
@@ -1,72 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Welcome
|
3
|
-
tagline: jekyll to everyone
|
4
|
-
description: Auto-generated welcome post
|
5
|
-
|
6
|
-
date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>
|
7
|
-
series:
|
8
|
-
image: /assets/images/modules/attics/welcome-1920x1280-bw.png
|
9
|
-
|
10
|
-
tags: [ Example, Post ]
|
11
|
-
index: []
|
12
|
-
categories: [ featured ]
|
13
|
-
|
14
|
-
#permalink:
|
15
|
-
regenerate: false
|
16
|
-
|
17
|
-
resources: []
|
18
|
-
resource_options:
|
19
|
-
- attic:
|
20
|
-
padding_top: 350
|
21
|
-
padding_bottom: 50
|
22
|
-
opacity: 0.5
|
23
|
-
slides:
|
24
|
-
- url: /assets/images/modules/attics/welcome-1920x1280-bw.png
|
25
|
-
alt: welcome-1920x1280-bw
|
26
|
-
---
|
27
|
-
|
28
|
-
// TODO: For POSTS, currently the include:: macro does NOT work.
|
29
|
-
// Path calculation needes to be fixec (includes the document file name)
|
30
|
-
// -----------------------------------------------------------------------------
|
31
|
-
|
32
|
-
// NOTE: General Asciidoc page attributes settings
|
33
|
-
// -----------------------------------------------------------------------------
|
34
|
-
:page-liquid:
|
35
|
-
|
36
|
-
// Additional Asciidoc page attributes goes here
|
37
|
-
// -----------------------------------------------------------------------------
|
38
|
-
// :page-imagesdir: {{page.images.dir}}
|
39
|
-
|
40
|
-
|
41
|
-
// NOTE: Place an excerpt at the most top position
|
42
|
-
// -----------------------------------------------------------------------------
|
43
|
-
Welcome to Jekyll and J1 Template!
|
44
|
-
|
45
|
-
You’ll find this example post, automatically generated, in *featured* posts
|
46
|
-
folder under /collections/posts/public/featured/_posts. Go ahead and edit and
|
47
|
-
re-build the site to see your changes.
|
48
|
-
|
49
|
-
You can rebuild the site in many different ways, but the most common way is
|
50
|
-
to run `jekyll serve`, which launches a web server and auto-regenerates your
|
51
|
-
site when a file is updated.
|
52
|
-
|
53
|
-
[role="clearfix mb-3"]
|
54
|
-
excerpt__end
|
55
|
-
|
56
|
-
|
57
|
-
// Page content
|
58
|
-
// -----------------------------------------------------------------------------
|
59
|
-
[[readmore]]
|
60
|
-
== Add new posts
|
61
|
-
|
62
|
-
[role="mb-3"]
|
63
|
-
// image::{{page.image}}[{{page.title}}]
|
64
|
-
// image::/assets/images/modules/attics/runner-1920x1200-bw.png[{{page.title}}, 800]
|
65
|
-
|
66
|
-
To add new posts, simply add a file in the directory
|
67
|
-
`/collections/posts/public/featured/_posts` that follows the convention
|
68
|
-
`YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter.
|
69
|
-
|
70
|
-
Have a look at the source for this post to get an idea about how it works.
|
71
|
-
|
72
|
-
Happy Jekylling!
|
@@ -1,167 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Welcome
|
3
|
-
tagline: jekyll for everyone
|
4
|
-
date: 2021-01-01 00:00:00
|
5
|
-
|
6
|
-
tags: [ Example, Post ]
|
7
|
-
categories: [ Featured ]
|
8
|
-
|
9
|
-
series: false
|
10
|
-
adsense: false
|
11
|
-
image: /assets/images/modules/attics/katie-moum-1920x1280.jpg
|
12
|
-
toc: true
|
13
|
-
|
14
|
-
regenerate: false
|
15
|
-
|
16
|
-
resources: []
|
17
|
-
resource_options:
|
18
|
-
- attic:
|
19
|
-
padding_top: 400
|
20
|
-
padding_bottom: 50
|
21
|
-
opacity: 0.5
|
22
|
-
slides:
|
23
|
-
- url: /assets/images/modules/attics/katie-moum-1920x1280.jpg
|
24
|
-
alt: Photo by Katie Moum on Unsplash
|
25
|
-
alignY: 0.3
|
26
|
-
badge:
|
27
|
-
type: unsplash
|
28
|
-
author: Katie Moum
|
29
|
-
href: https://unsplash.com/@katiemoum
|
30
|
-
---
|
31
|
-
|
32
|
-
// Page Initializer
|
33
|
-
// =============================================================================
|
34
|
-
// Enable the Liquid Preprocessor
|
35
|
-
:page-liquid:
|
36
|
-
|
37
|
-
// Place an excerpt at the most top position
|
38
|
-
// -----------------------------------------------------------------------------
|
39
|
-
All you're doing at the end of the day is writing your content and Jekyll does
|
40
|
-
all the tricky things needed for a website: putting out HTML, Javascript and
|
41
|
-
CSS. As a result, the site creation process gets out of your way. Sounds fun,
|
42
|
-
isn't it?
|
43
|
-
|
44
|
-
[role="clearfix mb-3"]
|
45
|
-
excerpt__end
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="global" %}
|
54
|
-
|
55
|
-
|
56
|
-
// Page content
|
57
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
58
|
-
|
59
|
-
// Include sub-documents
|
60
|
-
// -----------------------------------------------------------------------------
|
61
|
-
|
62
|
-
[[readmore]]
|
63
|
-
== What is a static site?
|
64
|
-
|
65
|
-
A static site serves the content straight to the user as it is stored on
|
66
|
-
the server-side. To put it in another way, in opposition to WordPress
|
67
|
-
which use a database to load dynamic content, a static site will display
|
68
|
-
the same content to every user as it will directly load the HTML files
|
69
|
-
on the server.
|
70
|
-
|
71
|
-
A static website uses server-side rendering to serve pre-built HTML, CSS,
|
72
|
-
and JavaScript files to a web browser, in contrast to traditional dynamic
|
73
|
-
sites that work by rendering the webpage at the time of the request.
|
74
|
-
Static sites enable you to decouple your content repository and front-end
|
75
|
-
interface, giving you greater flexibility in how your content is served.
|
76
|
-
Cost-efficiency is another reason companies migrate to a static site because
|
77
|
-
static files are lightweight and often faster and cheaper to serve.
|
78
|
-
|
79
|
-
In the last few years, static sites have greatly increased in popularity.
|
80
|
-
This surge is primarily due to advances in developer tools (languages and
|
81
|
-
libraries) and a stronger desire among businesses to optimize website
|
82
|
-
performance beyond the limits of a database-driven site.
|
83
|
-
|
84
|
-
=== What's different?
|
85
|
-
|
86
|
-
To make it simple, a dynamic website uses a database and PHP/MySQL to
|
87
|
-
generate the content of a page when a user requests it. For example,
|
88
|
-
building a website using WordPress CMS will result in having a dynamic
|
89
|
-
Website.
|
90
|
-
|
91
|
-
Static sites can be written almost exclusively in HTML and serve a fixed
|
92
|
-
set of data that renders the same for every site visitor. Static sites use
|
93
|
-
server-side rendering to serve pre-built HTML, CSS, and JavaScript files to
|
94
|
-
a web browser. Dynamic sites operate in a completely different way, by
|
95
|
-
leveraging HTML and CSS as well as server-side scripting languages like PHP
|
96
|
-
to build webpages on the fly and serve different content to each site
|
97
|
-
visitor.
|
98
|
-
|
99
|
-
=== Why use a static site?
|
100
|
-
|
101
|
-
What are the advantages of a static website over a dynamic site?
|
102
|
-
You may be wondering *Why should I build a static site when I could do a
|
103
|
-
WordPress?*. Well, having a database implies a lot of downsides. Here
|
104
|
-
come the main advantages of using a static site over a dynamic
|
105
|
-
one.
|
106
|
-
|
107
|
-
Performance::
|
108
|
-
*The better performance and a crazy fast load time*.
|
109
|
-
One of the main advantages of using a static site is the fact that
|
110
|
-
it is crazy fast to load. Indeed, when the user requests a page, there is
|
111
|
-
no need to request a database and various files to generate the
|
112
|
-
page itself as all the content is already placed in a one and only file:
|
113
|
-
an HTML one. That’s why by using a static site, you will get a boost in
|
114
|
-
your loading time that will provide great user experience for the
|
115
|
-
internauts. Moreover, we know that more and more people are surfing the
|
116
|
-
web using their smartphones with, sometimes, poor internet connections,
|
117
|
-
that’s why having fast loading times will participate in making your
|
118
|
-
website mobile-friendly.
|
119
|
-
|
120
|
-
Security::
|
121
|
-
*Having a static website: say goodbye to hacking and security issues*.
|
122
|
-
Tired of getting WordPress notifications about security issues and
|
123
|
-
updates every week? No worries, as a static site has no database, there
|
124
|
-
are close to no hack possible compared to a WordPress website. Indeed,
|
125
|
-
your site will have way fewer footprints and security issues since it
|
126
|
-
will only load plain HTML and CSS files. The security gain in having a
|
127
|
-
static website is one the main reason why many famous brands switch to
|
128
|
-
a static site instead of having their website on Drupal or WordPress.
|
129
|
-
|
130
|
-
Hosting::
|
131
|
-
*Building a static site and hosting: you will save you money*.
|
132
|
-
Using a static site, you will only have most of the time only HTML and
|
133
|
-
CSS files to host. This kind of files is super light which also means
|
134
|
-
that you will not need a powerhouse hosting to have a static site up and
|
135
|
-
running. Moreover, if your traffic suddenly increases, your site will not
|
136
|
-
go down contrary to a dynamic site which should request the database
|
137
|
-
each time for each user.
|
138
|
-
|
139
|
-
Control::
|
140
|
-
*You're the master*. Using a CMS means, giving control over your site to others.
|
141
|
-
Simple like this.
|
142
|
-
|
143
|
-
== Why use a site generator?
|
144
|
-
|
145
|
-
Working with pure HTML files is annoying; senseless today. Indeed, if you need
|
146
|
-
to make a modification on your *self-managed* pages, you have to manually
|
147
|
-
change every file. That's monkey's work from the early days of static websites.
|
148
|
-
If your site comes with 10 pages, it can be manageable but imagine if your site
|
149
|
-
is providing 100+ pages or the blog planned for hundreds of articles?
|
150
|
-
|
151
|
-
Using a static site generator will solve this issue as it separates the
|
152
|
-
content and the template. To say it another way, by using a static site
|
153
|
-
generator, you will only need to make the modification once, and the
|
154
|
-
generator will apply it to all your pages.
|
155
|
-
|
156
|
-
=== Why Jekyll?
|
157
|
-
|
158
|
-
As the popularity of static sites is growing, there are plenty of static
|
159
|
-
site generators available on the market. The more famous is Jekyll,
|
160
|
-
Middleman and Hugo. Each one has its own specificities and may suits you
|
161
|
-
better depending on the programming languages you already are familiar with.
|
162
|
-
Which static site generator should I use?
|
163
|
-
|
164
|
-
When I decided to go for a blog based on a static web, I personally
|
165
|
-
choose Jekyll as for me. It's a well known static site generator, good support
|
166
|
-
in case of trouble and the software gets regularly updated. This website is
|
167
|
-
powered by Jekyll. For good reasons.
|
@@ -1,98 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Impressum
|
3
|
-
tagline: Angaben gemäß § 5 TMG
|
4
|
-
description: Impressum
|
5
|
-
|
6
|
-
tags: [ Impressum ]
|
7
|
-
index: []
|
8
|
-
categories: [ pages ]
|
9
|
-
|
10
|
-
permalink: /pages/public/legal/de/impress/
|
11
|
-
regenerate: false
|
12
|
-
exclude_from_search: true
|
13
|
-
|
14
|
-
toc: false
|
15
|
-
resources: []
|
16
|
-
resource_options: []
|
17
|
-
---
|
18
|
-
|
19
|
-
.Postadresse
|
20
|
-
----
|
21
|
-
Max Mustermann
|
22
|
-
Musterstraße 111
|
23
|
-
Gebäude 44
|
24
|
-
90210 Musterstadt
|
25
|
-
----
|
26
|
-
|
27
|
-
.Kontakt
|
28
|
-
----
|
29
|
-
E-Mail: mustermann@musterfirma.de
|
30
|
-
----
|
31
|
-
|
32
|
-
.Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV:
|
33
|
-
----
|
34
|
-
Beate Beispielhaft
|
35
|
-
|
36
|
-
Musterstraße 110
|
37
|
-
Gebäude 33
|
38
|
-
90210 Musterstadt
|
39
|
-
----
|
40
|
-
|
41
|
-
/////
|
42
|
-
|
43
|
-
== Haftungsausschluss
|
44
|
-
|
45
|
-
Die Inhalte des Internetauftritts wurden mit größtmöglicher Sorgfalt und nach
|
46
|
-
bestem Gewissen erstellt. Dennoch übernimmt der Anbieter dieser Webseite keine
|
47
|
-
Gewähr für die Aktualität, Vollständigkeit und Richtigkeit der bereitgestellten
|
48
|
-
Seiten und Inhalte.
|
49
|
-
|
50
|
-
=== Haftung für Inhalte
|
51
|
-
|
52
|
-
Als Diensteanbieter sind wir gemäß § 7 Abs.1 TMG für eigene Inhalte auf
|
53
|
-
diesen Seiten nach den allgemeinen Gesetzen verantwortlich. Nach §§ 8 bis 10 TMG
|
54
|
-
sind wir als Diensteanbieter jedoch nicht verpflichtet, übermittelte oder
|
55
|
-
gespeicherte fremde Informationen zu überwachen oder nach Umständen zu
|
56
|
-
forschen, die auf eine rechtswidrige Tätigkeit hinweisen.
|
57
|
-
|
58
|
-
Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen
|
59
|
-
nach den allgemeinen Gesetzen bleiben hiervon unberührt. Eine diesbezügliche
|
60
|
-
Haftung ist jedoch erst ab dem Zeitpunkt der Kenntnis einer konkreten
|
61
|
-
Rechtsverletzung möglich. Bei Bekanntwerden von entsprechenden
|
62
|
-
Rechtsverletzungen werden wir diese Inhalte umgehend entfernen.
|
63
|
-
|
64
|
-
=== Haftung für Links
|
65
|
-
|
66
|
-
Unser Angebot enthält Links zu externen Webseiten Dritter, auf deren Inhalte
|
67
|
-
wir keinen Einfluss haben. Deshalb können wir für diese fremden Inhalte
|
68
|
-
auch keine Gewähr übernehmen. Für die Inhalte der verlinkten Seiten ist
|
69
|
-
stets der jeweilige Anbieter oder Betreiber der Seiten verantwortlich.
|
70
|
-
|
71
|
-
Die verlinkten Seiten wurden zum Zeitpunkt der Verlinkung auf mögliche
|
72
|
-
Rechtsverstöße überprüft. Rechtswidrige Inhalte waren zum Zeitpunkt der
|
73
|
-
Verlinkung nicht erkennbar.
|
74
|
-
|
75
|
-
Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist jedoch
|
76
|
-
ohne konkrete Anhaltspunkte einer Rechtsverletzung nicht zumutbar. Bei
|
77
|
-
Bekanntwerden von Rechtsverletzungen werden wir derartige Links umgehend
|
78
|
-
entfernen.
|
79
|
-
|
80
|
-
== Urheberrecht
|
81
|
-
|
82
|
-
Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen
|
83
|
-
Seiten unterliegen dem deutschen Urheberrecht. Die Vervielfältigung,
|
84
|
-
Bearbeitung, Verbreitung und jede Art der Verwertung außerhalb der
|
85
|
-
Grenzen des Urheberrechtes bedürfen der schriftlichen Zustimmung des
|
86
|
-
jeweiligen Autors bzw. Erstellers.
|
87
|
-
|
88
|
-
Downloads und Kopien dieser Seite sind nur für den privaten, nicht
|
89
|
-
kommerziellen Gebrauch gestattet.
|
90
|
-
|
91
|
-
Soweit die Inhalte auf dieser Seite nicht vom Betreiber erstellt wurden,
|
92
|
-
werden die Urheberrechte Dritter beachtet. Insbesondere werden Inhalte
|
93
|
-
Dritter als solche gekennzeichnet. Sollten Sie trotzdem auf eine
|
94
|
-
Urheberrechtsverletzung aufmerksam werden, bitten wir um einen
|
95
|
-
entsprechenden Hinweis. Bei Bekanntwerden von Rechtsverletzungen werden
|
96
|
-
wir derartige Inhalte umgehend entfernen.
|
97
|
-
|
98
|
-
/////
|