jekyll-theme-lydde 0.1.1 → 0.1.3
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/_config.yml +116 -0
- data/_includes/analytics.liquid +12 -0
- data/_includes/breadcrumb.liquid +39 -17
- data/_includes/footer.liquid +48 -44
- data/_includes/header.liquid +90 -106
- data/_includes/hero.liquid +39 -0
- data/_includes/scripts.liquid +2 -2
- data/_includes/seo.liquid +148 -0
- data/_includes/social.liquid +14 -0
- data/_includes/structure.liquid +63 -0
- data/_includes/todo/hierachy.liquid +22 -0
- data/_layouts/default.html +43 -9
- data/_layouts/home.html +5 -1
- data/_layouts/page.html +15 -7
- data/_layouts/post.html +7 -7
- data/_sass/variables.scss +3 -2
- data/_sass/website.scss +163 -5
- data/assets/resources/site/debug.json +5 -0
- data/assets/resources/site/humans.txt +14 -14
- data/assets/resources/site/{sitemap.md → sitemap.markdown} +1 -2
- data/assets/styles/main.scss +5 -0
- data/assets/videos/demo.mp4 +0 -0
- metadata +13 -5
- data/_includes/menu.liquid +0 -26
- /data/assets/resources/site/{404.md → 404.markdown} +0 -0
@@ -0,0 +1,148 @@
|
|
1
|
+
{%- assign facebook = site.settings.social.facebook| default: site.data.settings.social.facebook -%}
|
2
|
+
{%- assign twitter = site.settings.social.twitter| default: site.data.settings.social.twitter -%}
|
3
|
+
{%- assign webmaster = site.settings.webmaster| default: site.data.settings.webmaster -%}
|
4
|
+
|
5
|
+
{%- assign title = page.title | default: site.title -%}
|
6
|
+
{%- assign description = page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape -%}
|
7
|
+
|
8
|
+
{%- assign theme = site.settings.theme | site.data.settings.theme -%}
|
9
|
+
|
10
|
+
<!-- Page information -->
|
11
|
+
<title>{{ site.title }} | {{ page.title | default: site.tagline }}</title>
|
12
|
+
<meta property="og:title" content="{{ title }}" />
|
13
|
+
<meta property="twitter:title" content="{{ title }}" />
|
14
|
+
|
15
|
+
<meta property="og:site_name" content="{{ site.title }}">
|
16
|
+
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
|
17
|
+
<meta name="application-name" content="{{ site.title }}">
|
18
|
+
|
19
|
+
<meta name="description" content="{{ description }}">
|
20
|
+
<meta property="og:description" content="{{ description }}" />
|
21
|
+
|
22
|
+
<meta property="og:locale" content="{{ page.locale | default: site.locale }}" />
|
23
|
+
|
24
|
+
<link type="text/plain" rel="author" href="{{ "/humans.txt" | absolute_url }}"/>
|
25
|
+
|
26
|
+
<meta name="author" content="{{ site.authors.default.name }}">
|
27
|
+
{% if twitter.username %}
|
28
|
+
<meta name="twitter:site" content="@{{ twitter.username | remove:'@' }}" />
|
29
|
+
{% if page.author.twitter %}
|
30
|
+
<meta name="twitter:creator" content="@{{ page.author.twitter | remove:'@' }}" />
|
31
|
+
{% endif %}
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
35
|
+
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
36
|
+
|
37
|
+
{%- if webmaster %}
|
38
|
+
<!-- Search Engine & Analytics -->
|
39
|
+
{%- if webmaster.verification.google %}
|
40
|
+
<meta name="google-site-verification" content="{{ webmaster.verification.google }}" />
|
41
|
+
{%- endif %}
|
42
|
+
{%- if webmaster.verification.bing %}
|
43
|
+
<meta name="msvalidate.01" content="{{ webmaster.verification.bing }}" />
|
44
|
+
{%- endif %}
|
45
|
+
{%- if webmaster.verification.alexa %}
|
46
|
+
<meta name="alexaVerifyID" content="{{ webmaster.verification.alexa }}" />
|
47
|
+
{%- endif %}
|
48
|
+
{%- if webmaster.verification.yandex %}
|
49
|
+
<meta name="yandex-verification" content="{{ webmaster.verification.yandex }}" />
|
50
|
+
{%- endif %}
|
51
|
+
{%- if webmaster.verification.baidu %}
|
52
|
+
<meta name="baidu-site-verification" content="{{ webmaster.verification.baidu }}" />
|
53
|
+
{%- endif %}
|
54
|
+
{%- if webmaster.verification.facebook %}
|
55
|
+
<meta name="facebook-domain-verification" content="{{ webmaster.verification.facebook }}" />
|
56
|
+
{%- endif %}
|
57
|
+
{%- endif %}
|
58
|
+
|
59
|
+
<!-- Browser Config -->
|
60
|
+
<link rel="manifest" href="{{ "/site.webmanifest" | absolute_url }}">
|
61
|
+
<meta name="msapplication-config" content="{{ "/browserconfig.xml" | absolute_url }}" />
|
62
|
+
|
63
|
+
{% assign iconPath = "/assets/icons/" %}
|
64
|
+
<link rel="icon" type="image/svg+xml" href="{{ "favicon.svg" | prepend: iconPath | absolute_url }}">
|
65
|
+
<link rel="icon" type="image/png" href="{{ "favicon.png" | prepend: iconPath | absolute_url }}">
|
66
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | prepend: iconPath | absolute_url }}">
|
67
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | prepend: iconPath | absolute_url }}">
|
68
|
+
<link rel="shortcut icon" href="{{ "favicon.ico" | prepend: iconPath | absolute_url }}">
|
69
|
+
<link type="image/png" rel="apple-touch-icon" href="{{ "apple-touch-icon-180x180.png" | prepend: iconPath | absolute_url }}" sizes="180x180">
|
70
|
+
<link rel="mask-icon" type="image/svg+xml" href="{{ "safari-pinned-tab.svg" | prepend: iconPath | absolute_url }}" color="{{ theme.color.primary }}">
|
71
|
+
|
72
|
+
{%- if theme.color.primary -%}
|
73
|
+
<meta name="msapplication-TileColor" content="{{ theme.color.primary }}">
|
74
|
+
<meta name="theme-color" content="{{ theme.color.primary }}">
|
75
|
+
{%- endif -%}
|
76
|
+
|
77
|
+
<!-- Open Graph -->
|
78
|
+
{%- if page.layout == "home" -%}
|
79
|
+
<meta property="og:type" content="website" />
|
80
|
+
{%- else -%}
|
81
|
+
<meta property="og:type" content="article" />
|
82
|
+
{%- if page.date -%}
|
83
|
+
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
|
84
|
+
<meta property="article:modified_time" content="{{ "now" | date_to_xmlschema }}" />
|
85
|
+
{%- endif -%}
|
86
|
+
{%- if facebook.link -%}
|
87
|
+
<meta property="article:publisher" content="{{ facebook.link }}" />
|
88
|
+
{%- endif %}
|
89
|
+
{%- if page.author -%}
|
90
|
+
<meta property="article:author" content="{{ author.page }}" />
|
91
|
+
{%- endif -%}
|
92
|
+
{%- endif -%}
|
93
|
+
|
94
|
+
{% assign image = page.image %}
|
95
|
+
{% if image %}
|
96
|
+
<meta property="og:image" content="{{ page.image | absolute_url }}" />
|
97
|
+
<meta property="twitter:image" content="{{ page.image | absolute_url }}" />
|
98
|
+
<meta name="twitter:card" content="{{ page.twitter.card | default: twitter.card | default: "summary_large_image" }}" />
|
99
|
+
{% if image.height %}
|
100
|
+
<meta property="og:image:height" content="{{ image.height }}" />
|
101
|
+
{% endif %}
|
102
|
+
{% if image.width %}
|
103
|
+
<meta property="og:image:width" content="{{ image.width }}" />
|
104
|
+
{% endif %}
|
105
|
+
{% if image.alt %}
|
106
|
+
<meta property="og:image:alt" content="{{ image.alt }}" />
|
107
|
+
<meta name="twitter:image:alt" content="{{ image.alt }}" />
|
108
|
+
{% endif %}
|
109
|
+
{% else %}
|
110
|
+
<meta name="twitter:card" content="summary" />
|
111
|
+
{% endif %}
|
112
|
+
|
113
|
+
|
114
|
+
{% comment %}
|
115
|
+
See https://json-ld.org/
|
116
|
+
T be updated with https://schema.org/Article
|
117
|
+
{% endcomment %}
|
118
|
+
|
119
|
+
<script type="application/ld+json">
|
120
|
+
{
|
121
|
+
"@context": "https://schema.org",
|
122
|
+
"@type": "Organization",
|
123
|
+
"url": "{{ site.url }}",
|
124
|
+
"logo": "{{ site.logo }}"
|
125
|
+
}
|
126
|
+
</script>
|
127
|
+
|
128
|
+
{% comment %}
|
129
|
+
<script type="application/ld+json">
|
130
|
+
{
|
131
|
+
"name": "{{ site.title }}",
|
132
|
+
"description": "{{ description }}",
|
133
|
+
"url": "{{ page.url | absolute_url }}",
|
134
|
+
"headline": "{{ page.title }}",
|
135
|
+
"@type": "WebSite",
|
136
|
+
"@context": "https://schema.org",
|
137
|
+
"author": {
|
138
|
+
"@type":"Person",
|
139
|
+
"name": "{{ author }}"
|
140
|
+
}
|
141
|
+
}
|
142
|
+
</script>
|
143
|
+
{% endcomment %}
|
144
|
+
|
145
|
+
{% if page.apple %}
|
146
|
+
<!-- Apps Store -->
|
147
|
+
<meta name="apple-itunes-app" content="app-id=APP_ID,app-argument=SOME_TEXT">
|
148
|
+
{% endif %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% if social -%}
|
2
|
+
<ul class="social {{ include.class }}">
|
3
|
+
{%- for item in social -%}
|
4
|
+
{%- assign key = item | first -%}
|
5
|
+
{% if social[key].link %}
|
6
|
+
<li>
|
7
|
+
<a href="{{ social[key].link }}" title="Follow us on {{ social[key].title | default: key | capitalize }}">
|
8
|
+
<i class="bi bi-{{ key | downcase }}"></i>
|
9
|
+
</a>
|
10
|
+
</li>
|
11
|
+
{% endif %}
|
12
|
+
{%- endfor -%}
|
13
|
+
</ul>
|
14
|
+
{%- endif %}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{% assign pages = site.pages | where_exp: 'page', 'page.title != nil' | where_exp: 'page', 'page.url != "/404.html" and page.url != "/"' | sort: 'path'
|
2
|
+
%}
|
3
|
+
<div>
|
4
|
+
<ul>
|
5
|
+
{% for page in pages %}
|
6
|
+
{% assign level = page.url | split: '/' | size | minus: 1 %}
|
7
|
+
{% if level == 1 %}
|
8
|
+
{% assign subpages = pages | where_exp: 'subpage', 'subpage.url contains page.url and subpage.url != page.url' %}
|
9
|
+
{% assign size = subpages.size %}
|
10
|
+
<li
|
11
|
+
{% if size > 0 %}
|
12
|
+
class="dropdown"
|
13
|
+
{% endif %}>
|
14
|
+
<a
|
15
|
+
href="{{ page.url }}"
|
16
|
+
{% if size > 0 %}
|
17
|
+
class="dropdown-toggle"
|
18
|
+
role="button"
|
19
|
+
data-bs-toggle="dropdown"
|
20
|
+
data-bs-auto-close="outside"
|
21
|
+
{% endif %}>{{ page.title }}</a>
|
22
|
+
{% if size > 0 %}
|
23
|
+
<ul class="dropdown-menu">
|
24
|
+
{% for subpage in subpages %}
|
25
|
+
{% assign level = subpage.url | split: '/' | size | minus: 1 %}
|
26
|
+
{% if level == 2 %}
|
27
|
+
{% assign lastpages = pages | where_exp: 'lastpage', 'lastpage.url contains subpage.url and lastpage.url != subpage.url' %}
|
28
|
+
{% assign size = lastpages.size %}
|
29
|
+
<li
|
30
|
+
{% if size > 0 %}
|
31
|
+
class="dropdown dropend"
|
32
|
+
{% endif %}>
|
33
|
+
<a
|
34
|
+
href="{{ subpage.url }}"
|
35
|
+
{% if size == 0 %}
|
36
|
+
class="dropdown-item"
|
37
|
+
{% else %}
|
38
|
+
class="dropdown-toggle"
|
39
|
+
role="button"
|
40
|
+
data-bs-toggle="dropdown"
|
41
|
+
{% endif %}>{{ subpage.title }}</a>
|
42
|
+
{% if size > 0 %}
|
43
|
+
<ul class="dropdown-menu">
|
44
|
+
{% for lastpage in lastpages %}
|
45
|
+
{% assign level = lastpage.url | split: '/' | size | minus: 1 %}
|
46
|
+
{% if level == 3 %}
|
47
|
+
<li>
|
48
|
+
<a href="{{ lastpage.url }}" class="dropdown-item">{{ lastpage.title }}</a>
|
49
|
+
</li>
|
50
|
+
{% endif %}
|
51
|
+
{% endfor %}
|
52
|
+
</ul>
|
53
|
+
{% endif %}
|
54
|
+
</li>
|
55
|
+
{% endif %}
|
56
|
+
{% endfor %}
|
57
|
+
</ul>
|
58
|
+
{% endif %}
|
59
|
+
</li>
|
60
|
+
{% endif %}
|
61
|
+
{% endfor %}
|
62
|
+
</ul>
|
63
|
+
</div>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{% comment %}
|
2
|
+
Display the menu from the configuration file (site or data) if it exists
|
3
|
+
Overwise, display the default menu based on the page hierarchy
|
4
|
+
{% endcomment %}
|
5
|
+
{%- if site.data.menu -%}
|
6
|
+
{% comment %}
|
7
|
+
Ignore
|
8
|
+
{% endcomment %}
|
9
|
+
{%- else -%}
|
10
|
+
{%- assign paths = site.pages | map: "path" | sort -%}
|
11
|
+
{%- for path in paths %}
|
12
|
+
{%- assign item = site.pages | where: "path", path | first -%}
|
13
|
+
{%- if item.title and item.layout == "page" -%}
|
14
|
+
{%- assign levels = item.url | split: '/' -%}
|
15
|
+
{{ path }} - {{levels.size}}
|
16
|
+
{%- for level in levels -%}
|
17
|
+
|
18
|
+
{%- endfor -%}
|
19
|
+
|
20
|
+
{%- endif -%}
|
21
|
+
{%- endfor -%}
|
22
|
+
{%- endif -%}
|
data/_layouts/default.html
CHANGED
@@ -1,6 +1,24 @@
|
|
1
|
+
{%- comment -%}
|
2
|
+
Default layout for all pages in the website.
|
3
|
+
- Based on the lastest bootstrap
|
4
|
+
- Includes the following partials:
|
5
|
+
In HTML head
|
6
|
+
- seo.liquid - Manage all SEO tags
|
7
|
+
- analytics.liquid - Manage all analytics tags
|
8
|
+
In HTML body
|
9
|
+
- header.liquid - Manage the NavBarMenu
|
10
|
+
- hero.liquid - Manage the hero section with carousel and call to action
|
11
|
+
- breadcrumb.liquid - Manage the breadcrumb navigation
|
12
|
+
- footer.liquid - Manage the footer links
|
13
|
+
- scripts.liquid - Manage all scripts
|
14
|
+
{%- endcomment -%}
|
15
|
+
|
1
16
|
{%- assign language = page.language | default: site.language | default: "en" -%}
|
17
|
+
{%- assign stylesheet = "/assets/styles/main.css" | absolute_url -%}
|
18
|
+
|
2
19
|
<!doctype html>
|
3
20
|
<html
|
21
|
+
xmlns="http://www.w3.org/1999/xhtml"
|
4
22
|
lang="{{ language }}"
|
5
23
|
data-bs-theme="auto">
|
6
24
|
<head>
|
@@ -8,25 +26,41 @@
|
|
8
26
|
<meta
|
9
27
|
name="viewport"
|
10
28
|
content="width=device-width, initial-scale=1">
|
29
|
+
|
30
|
+
<title>{{ site.title }} | {{ page.title | default: site.tagline }}</title>
|
11
31
|
|
12
|
-
|
13
|
-
|
32
|
+
{% if jekyll.environment == 'production' %}
|
33
|
+
<!-- SEO -->
|
34
|
+
{%- include seo.liquid -%}
|
35
|
+
{% endif %}
|
14
36
|
|
37
|
+
<!-- Style -->
|
38
|
+
<link rel="stylesheet" type="text/css" href="{{ stylesheet }}">
|
39
|
+
|
40
|
+
{% if jekyll.environment == 'production' %}
|
41
|
+
<!-- Analytics -->
|
42
|
+
{%- include analytics.liquid -%}
|
43
|
+
{% endif %}
|
44
|
+
|
15
45
|
</head>
|
16
46
|
<body>
|
17
47
|
<a href="#main" class="visually-hidden">Skip to main content</a>
|
18
|
-
|
48
|
+
|
19
49
|
{%- include header.liquid -%}
|
50
|
+
|
51
|
+
<!-- Hero -->
|
52
|
+
{%- include hero.liquid -%}
|
53
|
+
|
20
54
|
<!-- Content -->
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<!-- Breadcrumbs -->
|
25
|
-
{% include breadcrumb.liquid %}
|
26
|
-
{{ content }}
|
55
|
+
{%- unless page.content == "" or page.content == nil -%}
|
56
|
+
<main>
|
57
|
+
{{ content }}
|
27
58
|
</main>
|
59
|
+
{%- endunless -%}
|
60
|
+
|
28
61
|
<!-- Footer -->
|
29
62
|
{%- include footer.liquid -%}
|
63
|
+
|
30
64
|
<!-- Scripts -->
|
31
65
|
{%- include scripts.liquid -%}
|
32
66
|
</body>
|
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
5
|
-
<
|
6
|
-
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
</
|
4
|
+
<div id="page">
|
5
|
+
<article id="main-content">
|
6
|
+
{%- if page.hero == false -%}
|
7
|
+
<header>
|
8
|
+
{%- if page.title -%}
|
9
|
+
<!-- Page Title -->
|
10
|
+
<h1 class="pt-2">{{ page.title }}</h1>
|
11
|
+
{%- endif -%}
|
12
|
+
<!-- Breadcrumbs -->
|
13
|
+
{%- include breadcrumb.liquid -%}
|
14
|
+
</header>
|
15
|
+
{%- endif -%}
|
16
|
+
{{ content }}
|
17
|
+
</article>
|
18
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
{% assign item = page %}
|
5
|
-
<
|
6
|
-
<
|
5
|
+
<section id="post" class="row">
|
6
|
+
<div class="col-lg-9 mb-2 mb-sm-0 pb-sm-5">
|
7
7
|
<header>
|
8
8
|
<div class="border-bottom py-3 mb-3 row">
|
9
9
|
<div class="col-12 col-sm-6">
|
@@ -15,14 +15,14 @@ layout: default
|
|
15
15
|
|
16
16
|
</div>
|
17
17
|
</header>
|
18
|
-
<
|
19
|
-
|
20
|
-
</
|
18
|
+
<article data-bs-spy="scroll" data-bs-target="#tocSpyScroll" data-bs-smooth-scroll="true" class="scrollspy-example-2" tabindex="0">
|
19
|
+
{{ content }}
|
20
|
+
</article>
|
21
21
|
<footer>
|
22
22
|
{%- include post-share.liquid -%}
|
23
23
|
{%- include post-author.liquid -%}
|
24
24
|
</footer>
|
25
|
-
</
|
25
|
+
</div>
|
26
26
|
<aside class="col-lg-3">
|
27
27
|
<section class="sticky-top pt-3">
|
28
28
|
{%- include post-categories.liquid -%}
|
@@ -30,4 +30,4 @@ layout: default
|
|
30
30
|
{%- include post-toc.liquid title="Content" html=content id="tocScrollSpy" class="nav nav-pills flex-column" item_class="nav-item" anchor_class="nav-link" submenu_class="nav flex-column" -%}
|
31
31
|
</section>
|
32
32
|
</aside>
|
33
|
-
</
|
33
|
+
</section>
|
data/_sass/variables.scss
CHANGED
data/_sass/website.scss
CHANGED
@@ -7,25 +7,183 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
/*
|
10
|
-
|
10
|
+
*
|
11
|
+
* Default Website structure
|
12
|
+
* header - Manage the Navigation
|
13
|
+
* hero - Manage the hero section with carousel and call to action
|
14
|
+
* breadcrumb - Manage the breadcrumb navigation
|
15
|
+
* footer - Manage the footer links
|
16
|
+
*
|
11
17
|
*/
|
12
|
-
|
18
|
+
//
|
19
|
+
// Header
|
20
|
+
//
|
21
|
+
#header
|
22
|
+
{
|
13
23
|
@extend .border-bottom;
|
14
24
|
@extend .text-muted;
|
15
25
|
}
|
16
|
-
#header > div
|
26
|
+
#header > div
|
27
|
+
{
|
17
28
|
@extend .container;
|
18
29
|
}
|
30
|
+
#header-top
|
31
|
+
{
|
19
32
|
|
20
|
-
|
33
|
+
@extend .flex-wrap;
|
34
|
+
@extend .d-none;
|
35
|
+
@extend .d-xl-flex;
|
36
|
+
}
|
37
|
+
#header-top-left
|
38
|
+
{
|
39
|
+
@extend .nav;
|
40
|
+
@extend .me-auto;
|
41
|
+
}
|
42
|
+
#header-top-right
|
43
|
+
{
|
44
|
+
@extend .nav;
|
45
|
+
}
|
46
|
+
#header-top-right > ul
|
47
|
+
{
|
48
|
+
@extend .nav;
|
49
|
+
@extend .justify-content-end;
|
50
|
+
}
|
51
|
+
#header-top-right > ul > li
|
52
|
+
{
|
53
|
+
@extend .nav-item;
|
54
|
+
}
|
55
|
+
#header-top-right > ul > li > a
|
56
|
+
{
|
57
|
+
@extend .nav-link;
|
58
|
+
}
|
59
|
+
#header-main
|
60
|
+
{
|
21
61
|
@extend .navbar;
|
22
62
|
@extend .navbar-expand-lg;
|
23
63
|
}
|
64
|
+
#header-main > div
|
65
|
+
{
|
66
|
+
@extend .container-fluid;
|
67
|
+
}
|
68
|
+
#header-main > #logo > a
|
69
|
+
{
|
70
|
+
@extend .navbar-brand;
|
71
|
+
}
|
72
|
+
//
|
73
|
+
// NavBar
|
74
|
+
//
|
75
|
+
#navbarContent
|
76
|
+
{
|
77
|
+
@extend .collapse;
|
78
|
+
@extend .navbar-collapse;
|
79
|
+
@extend .p-2;
|
80
|
+
@extend .pt-5;
|
81
|
+
@extend .p-lg-0;
|
82
|
+
}
|
83
|
+
#navbarContent > div > ul
|
84
|
+
{
|
85
|
+
@extend .navbar-nav;
|
86
|
+
@extend .nav-pills;
|
87
|
+
}
|
88
|
+
#navbarContent > div > ul > li
|
89
|
+
{
|
90
|
+
@extend .nav-item;
|
91
|
+
}
|
92
|
+
#navbarContent > div > ul a
|
93
|
+
{
|
94
|
+
@extend .nav-link;
|
95
|
+
}
|
96
|
+
|
24
97
|
|
98
|
+
#header-bottom
|
99
|
+
{
|
100
|
+
@extend .d-lg-none;
|
101
|
+
}
|
102
|
+
//
|
103
|
+
// Hero
|
104
|
+
//
|
105
|
+
#hero
|
106
|
+
{
|
107
|
+
@extend .position-relative;
|
108
|
+
@extend .bg-primary;
|
109
|
+
overflow: hidden;
|
110
|
+
z-index: 0;
|
111
|
+
height: 640px;
|
112
|
+
}
|
113
|
+
#hero .background
|
114
|
+
{
|
115
|
+
z-index: 1;
|
116
|
+
top: 0;
|
117
|
+
width: 100%;
|
118
|
+
height: 100%;
|
119
|
+
object-fit: cover;
|
120
|
+
opacity:0.8;
|
121
|
+
}
|
122
|
+
#hero-content
|
123
|
+
{
|
124
|
+
@extend .container;
|
125
|
+
@extend .position-absolute;
|
126
|
+
@extend .top-50;
|
127
|
+
@extend .start-50;
|
128
|
+
@extend .translate-middle;
|
25
129
|
|
130
|
+
z-index: 2;
|
131
|
+
background:rgba(255, 255, 255, 0.8);
|
132
|
+
padding:5rem;
|
133
|
+
border:1px solid rgba(255, 255, 255, 0.1);
|
134
|
+
border-radius:5px;
|
135
|
+
}
|
136
|
+
#hero-content > div
|
137
|
+
{
|
138
|
+
@extend .row;
|
139
|
+
@extend .align-items-center;
|
140
|
+
}
|
141
|
+
//
|
142
|
+
// Breadcrumb
|
143
|
+
//
|
144
|
+
#breadcrumb > ol
|
145
|
+
{
|
146
|
+
@extend .breadcrumb;
|
147
|
+
}
|
148
|
+
#breadcrumb > ol > li
|
149
|
+
{
|
150
|
+
@extend .breadcrumb-item;
|
151
|
+
}
|
152
|
+
#breadcrumb a
|
153
|
+
{
|
154
|
+
@extend .link-body-emphasis;
|
155
|
+
@extend .fw-semibold;
|
156
|
+
@extend .text-decoration-none;
|
157
|
+
}
|
158
|
+
//
|
159
|
+
// Social
|
160
|
+
//
|
161
|
+
.social
|
162
|
+
{
|
163
|
+
@extend .nav;
|
164
|
+
}
|
165
|
+
.social > li
|
166
|
+
{
|
167
|
+
@extend .nav-item;
|
168
|
+
}
|
169
|
+
.social > li > a
|
170
|
+
{
|
171
|
+
@extend .nav-link;
|
172
|
+
@extend .link-dark;
|
173
|
+
@extend .link-opacity-50;
|
174
|
+
@extend .link-opacity-100-hover;
|
175
|
+
}
|
176
|
+
//
|
177
|
+
// Main
|
178
|
+
//
|
179
|
+
#page, #post
|
180
|
+
{
|
181
|
+
@extend .container;
|
182
|
+
@extend .pt-3;
|
183
|
+
}
|
26
184
|
/*
|
27
185
|
Post
|
28
186
|
- header
|
29
187
|
- main
|
30
188
|
- footer
|
31
|
-
*/
|
189
|
+
*/
|
@@ -4,28 +4,28 @@ permalink: "/humans.txt"
|
|
4
4
|
---
|
5
5
|
{%- assign company = authors.default.name | default: site.title | escape -%}
|
6
6
|
{%- assign social = site.settings.social -%}
|
7
|
-
|
8
7
|
{% if company %}
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
8
|
+
Site: {{ company }}
|
9
|
+
{{ site.description }}
|
10
|
+
{% if social %}
|
11
|
+
***
|
12
|
+
Social Information
|
13
|
+
{%- for item in social -%}
|
14
|
+
{%- assign key = item | first -%}
|
15
|
+
{%- if social[key].link -%}
|
16
|
+
{{ social[key].title | default: key | capitalize }}: {{ social[key].link }}{{ social[key].username }}
|
17
|
+
{% endif %}
|
18
|
+
{%- endfor -%}
|
19
|
+
{% endif %}
|
21
20
|
{% else %}
|
22
21
|
This site is not fully setup
|
23
22
|
{% endif %}
|
24
23
|
***
|
25
24
|
Technical information
|
25
|
+
***
|
26
26
|
Website: {{ site.url }}
|
27
27
|
Last update: {{ site.time }}
|
28
28
|
Standards: HTML5, CSS3, Javascript
|
29
|
-
Components: Bootstrap 3.5.
|
29
|
+
Components: Bootstrap 3.5.2, Jekyll
|
30
30
|
Software: GitHub / Visual Studio Code
|
31
31
|
Hosting: GitHub Pages
|
@@ -21,9 +21,8 @@ permalink: "/sitemap.html"
|
|
21
21
|
<!-- Collections -->
|
22
22
|
{% assign collections = site.collections | where_exp:'collection','collection.output != false' %}
|
23
23
|
{%- if collections -%}
|
24
|
-
## Collections
|
25
24
|
{% for collection in collections %}
|
26
|
-
<
|
25
|
+
<h2>{{ collection.label | capitalize }}</h2>
|
27
26
|
{% assign docs = collection.docs | where_exp:'doc','doc.sitemap != false' %}
|
28
27
|
<ul>
|
29
28
|
{% for doc in docs %}
|
data/assets/styles/main.scss
CHANGED
Binary file
|