casjaysdev-jekyll-theme 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +0 -0
- data/.gitignore +96 -17
- data/.prettierrc.json +8 -0
- data/.vscode/settings.json +6 -0
- data/Gemfile +25 -14
- data/LICENSE.md +1 -1
- data/_config.yml +193 -108
- data/_data/nav/external.yml +1 -1
- data/_includes/ads/adsense.html +15 -0
- data/_includes/analytics/google.html +13 -0
- data/_includes/{casjaysdev/piwik.html → analytics/matomo.html} +5 -6
- data/_includes/casjays-footer.html +61 -43
- data/_includes/casjays-header.html +39 -1
- data/_includes/casjaysdev/clock.html +3 -12
- data/_includes/casjaysdev/eucookie.html +21 -30
- data/_includes/casjaysdev/legal.html +17 -38
- data/_includes/casjaysdev/rocketchat.html +3 -4
- data/_includes/casjaysdev/sharethis.html +6 -42
- data/_includes/casjaysdev/socialfooter.html +9 -85
- data/_includes/casjaysdev/sociallinks.html +51 -79
- data/_includes/casjaysdev/statcounter.html +8 -25
- data/_includes/casjaysdev/theme.html +9 -11
- data/_includes/casjaysdev/widgetbot.html +3 -1
- data/_includes/disqus.html +3 -7
- data/_includes/functions/blog.html +68 -0
- data/_includes/functions/default.html +3 -0
- data/{_pages → _includes/functions}/gallery/index.html +3 -5
- data/_includes/functions/gallery.html +44 -0
- data/_includes/functions/recipes.html +68 -0
- data/_includes/github.html +17 -7
- data/_includes/nav/external.html +10 -11
- data/_includes/nav/internal.html +14 -10
- data/_includes/nav/sidebars/right.html +2 -1
- data/_includes/nav/top.html +12 -19
- data/_includes/themes/blank/layouts/default.html +5 -20
- data/_includes/themes/blank/navigation.html +16 -18
- data/_includes/themes/hacker/layouts/default.html +34 -57
- data/_includes/themes/hacker/meta.html +3 -97
- data/_includes/themes/hacker/page_header.html +27 -0
- data/_layouts/default.html +32 -13
- data/_layouts/page.html +3 -3
- data/_layouts/post.html +1 -1
- data/_layouts/recipes.html +43 -0
- data/_pages/about/index.html +3 -5
- data/_pages/blog/catergories/catergories.html +6 -6
- data/_pages/blog/index.html +48 -44
- data/_pages/blog/tags/tags.html +6 -6
- data/_pages/contact/index.html +62 -160
- data/_pages/index.html +102 -7
- data/_pages/rss/index.xml +1 -0
- data/_posts/2021-07-31-welcome-to-your-new-site.md +14 -0
- data/_posts/2022-07-31-templates-update.md +14 -0
- data/_posts/2023-04-24-theme-rewrite.md +14 -0
- data/assets/css/base.css +0 -1
- data/assets/css/bootstrap/bootstrap-icons.css +5994 -2002
- data/assets/css/bootstrap/font-awesome.css +6812 -3
- data/assets/css/errorpages/errorpages.css +8 -7
- data/assets/css/gh/ribbon.css +31 -18
- data/assets/css/hacker.css +41 -54
- data/assets/css/other/forms-min.css +316 -1
- data/assets/js/errorpages/homepage.js +4 -2
- data/assets/js/errorpages/isup.js +5 -2
- data/assets/js/errorpages/loaddomain.js +5 -2
- data/assets/js/fetch-url.js +1 -3
- data/assets/js/utils/bootstrap.bundle.min.js +4181 -6
- data/assets/js/utils/fetch.min.js +467 -1
- data/casjaysdev-jekyll-theme.gemspec +20 -6
- data/error/403.html +49 -0
- data/error/404.html +39 -34
- data/error/418.html +48 -0
- data/error/500.html +39 -34
- data/error/502.html +49 -0
- data/error/503.html +49 -0
- data/error/504.html +49 -0
- data/health/index.html +7 -0
- data/health/json +3 -0
- data/health/txt +1 -0
- metadata +321 -16
- data/.editorconfig +0 -8
- data/CNAME +0 -1
- data/Gemfile.lock +0 -326
- data/_includes/casjaysdev/ads.html +0 -24
- data/_includes/casjaysdev/google.html +0 -32
- data/_includes/image-gallery.html +0 -30
- data/_layouts/errors.html +0 -26
- data/images/.keep +0 -1
@@ -0,0 +1,68 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: " en-US" }}">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
{% include casjays-header.html %}
|
6
|
+
{% if site.custom_theme.directory %}
|
7
|
+
{% include themes/{{ site.custom_theme.directory }}/meta.html %}
|
8
|
+
{% endif %}
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="text-center align-item-center" style="font-size: {{ site.custom_theme.nav.font_size.default }};">
|
12
|
+
<div class="container-fluid align-items-center text-center">
|
13
|
+
{% include themes/{{ site.custom_theme.directory }}/page_header.html %}
|
14
|
+
<div class="clearfix">
|
15
|
+
<div class="container text-center">
|
16
|
+
<div class="row">
|
17
|
+
{% for post in site.posts %}
|
18
|
+
{% if post.author %}
|
19
|
+
{% assign blog_author = post.author %}
|
20
|
+
{% elsif site.author.name %}
|
21
|
+
{% assign blog_author = site.author.name %}
|
22
|
+
{% endif %}
|
23
|
+
{% if post.site %}
|
24
|
+
{% assign author_site = post.site %}
|
25
|
+
{% elsif site.author.site %}
|
26
|
+
{% assign author_site = site.author.site %}
|
27
|
+
{% else %}
|
28
|
+
{% assign author_site = blog_author | prepend: '{{ site.blog.prepend }}' %}
|
29
|
+
{% endif %}
|
30
|
+
<div class="col-md-6 cl-mr-2 h-50">
|
31
|
+
<div class="card h-100 border-success mb-3">
|
32
|
+
<div class="card-header bg-transparent border-success">
|
33
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="post-title" style="font-size: 20px" >
|
34
|
+
{{ post.title | upcase }}</a>
|
35
|
+
</div>
|
36
|
+
<div class="card-body text-danger" style="height: 12rem;">
|
37
|
+
<article style="font-size: 18px">
|
38
|
+
<p class="card-text">{{ post.excerpt | markdownify }}</p>
|
39
|
+
</article>
|
40
|
+
</div>
|
41
|
+
<div class="border-warn">
|
42
|
+
<div class="card-footer bg-transparent border-success">
|
43
|
+
<span class="post-date">
|
44
|
+
<a href="{{ post.url | prepend: site.baseurl }}"> ({% include read_time.html content=post.content %})<br />
|
45
|
+
Read more <i class="fa fa-plus-circle" aria-hidden="true"> </i> </a>
|
46
|
+
</span>
|
47
|
+
<br />
|
48
|
+
Posted by <a href="{{ author_site }}">{{ blog_author }} </a>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
<br />
|
52
|
+
{{ post.date | date: '%B %d, %Y @ %H:%M' }}
|
53
|
+
<div class="card-footer bg-transparent border-danger">
|
54
|
+
{% if site.disqus %}
|
55
|
+
<a href="{{ post.url | prepend: site.baseurl }}#disqus_thread"><i class="fa fa-comments" aria-hidden="true"></i> Comment</a>
|
56
|
+
{% endif %}
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
{% endfor %}
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
|
67
|
+
</html>
|
68
|
+
|
@@ -7,9 +7,7 @@ enabled:
|
|
7
7
|
---
|
8
8
|
|
9
9
|
{% if site.gallery.enabled == true %}
|
10
|
-
<div>
|
11
|
-
|
12
|
-
|
13
|
-
{% else %}
|
14
|
-
</div>
|
10
|
+
<div>
|
11
|
+
{% include functions/gallery.html folder="{% site.gallery.folder %}" %}
|
12
|
+
</div>
|
15
13
|
{% endif %}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: " en-US" }}">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
{% include casjays-header.html %}
|
6
|
+
{% if site.custom_theme.directory %}
|
7
|
+
{% include themes/{{ site.custom_theme.directory }}/meta.html %}
|
8
|
+
{% endif %}
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body style="font-size: {{ site.custom_theme.nav.font_size.default }};">
|
12
|
+
<div class="container-fluid align-items-center text-center">
|
13
|
+
{% include themes/{{ site.custom_theme.directory }}/page_header.html %}
|
14
|
+
<div class="container text-center align-item-center">
|
15
|
+
<div class="row">
|
16
|
+
{% assign folder = site.gallery.folder %}
|
17
|
+
{% for file in site.static_files %}
|
18
|
+
{% if file.path contains site.gallery.folder %}
|
19
|
+
{% if file.extname == '.jpg' or file.extname == '.png' or file.extname == '.svg' or file.extname == '.gif' or file.extname == '.jpeg' or file.extname == '.JPG' or file.extname == '.JPEG' %} {% assign filenameparts = file.path | split: "/" %} {% assign filename = filenameparts | last | replace: file.extname,"" %}
|
20
|
+
<div class="col-md h-75 w-75 mt-4 mb-4" style="width: 300px;height: 300px;">
|
21
|
+
<div class="card mb-5" style="width: 300px;height: 300px;">
|
22
|
+
<div class="card-body">
|
23
|
+
<h5 class="card-title"></h5>
|
24
|
+
<p class="card-text">
|
25
|
+
<a href="{{ file.path | prepend: site.baseurl }}">
|
26
|
+
<img src="{{ file.path | prepend: site.baseurl }}" class="card-img-top img-thumbnail" alt="{{ filename }}" style="width: 225px;height: 225px; display: flexbox;"/>
|
27
|
+
</a>
|
28
|
+
</p>
|
29
|
+
</div>
|
30
|
+
<div class="card-footer">
|
31
|
+
<small class="text-muted">
|
32
|
+
<a href="{{ file.path | prepend: site.baseurl }}"> {{ filename }} </a>
|
33
|
+
</small>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
{% endif %}
|
38
|
+
{% endif %}
|
39
|
+
{% endfor %}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
</body>
|
44
|
+
</html>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: " en-US" }}">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
{% include casjays-header.html %}
|
6
|
+
{% if site.custom_theme.directory %}
|
7
|
+
{% include themes/{{ site.custom_theme.directory }}/meta.html %}
|
8
|
+
{% endif %}
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="text-center align-item-center" style="font-size: {{ site.custom_theme.nav.font_size.default }};">
|
12
|
+
<div class="container-fluid align-items-center text-center">
|
13
|
+
{% include themes/{{ site.custom_theme.directory }}/page_header.html %}
|
14
|
+
<div class="clearfix">
|
15
|
+
<div class="container text-center">
|
16
|
+
<div class="row">
|
17
|
+
{% for post in site.posts %}
|
18
|
+
{% if post.author %}
|
19
|
+
{% assign recipe_author = post.author %}
|
20
|
+
{% elsif site.author.name %}
|
21
|
+
{% assign recipe_author = site.author.name %}
|
22
|
+
{% endif %}
|
23
|
+
{% if post.site %}
|
24
|
+
{% assign author_site = post.site %}
|
25
|
+
{% elsif site.author.site %}
|
26
|
+
{% assign author_site = site.author.site %}
|
27
|
+
{% else %}
|
28
|
+
{% assign author_site = recipe_author | prepend: '{{ site.blog.prepend }}' %}
|
29
|
+
{% endif %}
|
30
|
+
<div class="col-md-6 cl-mr-2 h-50">
|
31
|
+
<div class="card h-100 border-success mb-3">
|
32
|
+
<div class="card-header bg-transparent border-success">
|
33
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="post-title" style="font-size: 20px" >
|
34
|
+
{{ post.title | upcase }}</a>
|
35
|
+
</div>
|
36
|
+
<div class="card-body text-danger" style="height: 12rem;">
|
37
|
+
<article style="font-size: 18px">
|
38
|
+
<p class="card-text">{{ post.excerpt | markdownify }}</p>
|
39
|
+
</article>
|
40
|
+
</div>
|
41
|
+
<div class="border-warn">
|
42
|
+
<div class="card-footer bg-transparent border-success">
|
43
|
+
<span class="post-date">
|
44
|
+
<a href="{{ post.url | prepend: site.baseurl }}"> ({% include read_time.html content=post.content %})<br />
|
45
|
+
Read more <i class="fa fa-plus-circle" aria-hidden="true"> </i> </a>
|
46
|
+
</span>
|
47
|
+
<br />
|
48
|
+
Posted by <a href="{{ author_site }}">{{ recipe_author }} </a>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
<br />
|
52
|
+
{{ post.date | date: '%B %d, %Y @ %H:%M' }}
|
53
|
+
<div class="card-footer bg-transparent border-danger">
|
54
|
+
{% if site.disqus %}
|
55
|
+
<a href="{{ post.url | prepend: site.baseurl }}#disqus_thread"><i class="fa fa-comments" aria-hidden="true"></i> Comment</a>
|
56
|
+
{% endif %}
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
{% endfor %}
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
|
67
|
+
</html>
|
68
|
+
|
data/_includes/github.html
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
-
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
<a href="{{ site.github.
|
6
|
-
|
7
|
-
|
1
|
+
<!-- begin github block --->
|
2
|
+
<div class="col" style="width: 100%;text-align: center;">
|
3
|
+
GitHub REPO Links:<br />
|
4
|
+
{% if site.github.user_name %}
|
5
|
+
<a href="https://github.com.com/{{ site.github.user_name }}" class="btn btn-github icon block">{{ site.github.user_name }}</a>
|
6
|
+
<br />
|
7
|
+
{% endif %}
|
8
|
+
{% if site.github.repository_url %}
|
9
|
+
<a href="{{ site.github.repository_url }}" class="btn btn-github icon block">View on GitHub</a>
|
10
|
+
<br />
|
11
|
+
{% endif %}
|
12
|
+
{% if site.github.tar_url %}
|
13
|
+
<a href="{{ site.github.tar_url }}" class="btn btn-github icon block">Download as .tar.gz</a>
|
14
|
+
<br />
|
15
|
+
{% endif %}
|
16
|
+
</div>
|
17
|
+
<!-- end github block --->
|
data/_includes/nav/external.html
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
>
|
9
|
-
|
10
|
-
</
|
11
|
-
{% endfor %}
|
1
|
+
<div>
|
2
|
+
External Links:<br />
|
3
|
+
{% assign doclist = site.data.nav.external | sort: 'title' | uniq | %}
|
4
|
+
{% for item in doclist %}
|
5
|
+
<ul>
|
6
|
+
<li>
|
7
|
+
<a href="{{ item.url }}" alt="{{ item.title }}" target="_blank" style="font-size: {{ site.custom_theme.nav.font_size.nav }};">{{ item.title }}</a></li>
|
8
|
+
</ul>
|
9
|
+
{% endfor %}
|
10
|
+
</div>
|
data/_includes/nav/internal.html
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
navigation_pages
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
</
|
9
|
-
|
10
|
-
|
1
|
+
<div>
|
2
|
+
Site Links:<br />
|
3
|
+
{% assign navigation_pages = site.html_pages | sort: 'weight' %}
|
4
|
+
{% for p in navigation_pages | uniq %}
|
5
|
+
{% if p.weight %}
|
6
|
+
<ul>
|
7
|
+
<li>
|
8
|
+
<a href="{{ p.url | prepend: site.baseurl }}" style="font-size: {{ site.custom_theme.nav.font_size.nav }};">{{ p.title }}</a>
|
9
|
+
</li>
|
10
|
+
</ul>
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
<br />
|
14
|
+
</div>
|
@@ -1 +1,2 @@
|
|
1
|
-
{% include nav/internal.html %}
|
1
|
+
{% include nav/internal.html %}
|
2
|
+
{% include nav/external.html %}
|
data/_includes/nav/top.html
CHANGED
@@ -1,21 +1,14 @@
|
|
1
|
+
{% if site.function_type == 'default' or site.function_type == empty %}
|
1
2
|
<nav class="main-nav">
|
2
|
-
{% assign navigation_pages = site.html_pages | sort: 'weight' %}
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
{% else %}
|
13
|
-
<a
|
14
|
-
type="button"
|
15
|
-
href="{{ p.url | prepend: site.baseurl }}"
|
16
|
-
class="sidebar-nav-item btn btn-primary active"
|
17
|
-
>{{ p.title }}
|
18
|
-
</a>
|
19
|
-
|
20
|
-
{% endif %} {% endif %} {% endfor %}
|
3
|
+
{% assign navigation_pages = site.html_pages | sort: 'weight' %}
|
4
|
+
{% for p in navigation_pages | uniq %}
|
5
|
+
{% if p.weight %}
|
6
|
+
{% if p.url == page.url %}
|
7
|
+
<a type="button" href="" class="sidebar-nav-item btn btn-outline-success disabled" style="font-size: {{ site.custom_theme.nav.font_size.nav }};">{{ p.title }}</a>
|
8
|
+
{% else %}
|
9
|
+
<a type="button" href="{{ p.url | prepend: site.baseurl }}" class="sidebar-nav-item btn btn-primary active" style="font-size: {{ site.custom_theme.nav.font_size.nav }};">{{ p.title }}</a>
|
10
|
+
{% endif %}
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
21
13
|
</nav>
|
14
|
+
{% endif %}
|
@@ -1,22 +1,7 @@
|
|
1
1
|
<div>
|
2
|
-
{
|
3
|
-
|
4
|
-
|
5
|
-
{
|
6
|
-
|
7
|
-
{{ content }}
|
8
|
-
</div>
|
9
|
-
|
10
|
-
{% elsif site.custom_theme.columns == "3" %}
|
11
|
-
<div>
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
14
|
-
|
15
|
-
{% else %}
|
16
|
-
<h1>
|
17
|
-
custom_theme/columns not set in _config.yml <br />
|
18
|
-
Your theme settings in _config.yml are incorrect <br />
|
19
|
-
Current columns: {{ site.custom_theme.columns }}
|
20
|
-
</h1>
|
21
|
-
{% endif %}
|
2
|
+
{% if site.function_type %}
|
3
|
+
{% include functions/{{ site.function_type }}.html %}
|
4
|
+
{% else %}
|
5
|
+
{{ content }}
|
6
|
+
{% endif %}
|
22
7
|
</div>
|
@@ -1,21 +1,19 @@
|
|
1
1
|
{% if site.options.navigation.nonweighted == true %}
|
2
|
-
{% assign pages_list = site.pages %}
|
3
|
-
{% for node in pages_list %}
|
4
|
-
{% if node.title != null %}
|
5
|
-
{% if node.layout == "page" %}
|
6
|
-
<a href="{{
|
7
|
-
{% endif %}
|
8
|
-
{% endif %}
|
9
|
-
{% endfor %}
|
10
|
-
|
11
|
-
{% elsif site.options.navigation.weighted == true %}
|
12
|
-
<nav>
|
13
|
-
{% assign navigation_pages = site.html_pages | sort: 'weight' %}
|
14
|
-
{% for p in navigation_pages %}
|
15
|
-
{% if p.weight %}
|
16
|
-
<a href="{{ site.baseurl }}{{ p.url }}" {% if p.url == page.url %} {% endif %}>{{ p.title }}</a>
|
17
|
-
{% endif %}
|
2
|
+
{% assign pages_list = site.pages %}
|
3
|
+
{% for node in pages_list %}
|
4
|
+
{% if node.title != null %}
|
5
|
+
{% if node.layout == "page" %}
|
6
|
+
<a href="{{ node.url | prepend: site.baseurl }}">{{ node.title }}</a>
|
7
|
+
{% endif %}
|
8
|
+
{% endif %}
|
18
9
|
{% endfor %}
|
19
|
-
|
20
|
-
|
10
|
+
{% elsif site.options.navigation.weighted == true %}
|
11
|
+
<nav>
|
12
|
+
{% assign navigation_pages = site.html_pages | sort: 'weight' %}
|
13
|
+
{% for p in navigation_pages %}
|
14
|
+
{% if p.weight %}
|
15
|
+
<a href="{{ p.url | prepend: site.baseurl }}" {% if p.url == page.url %} {% endif %}>{{ p.title }}</a>
|
16
|
+
{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
</nav>
|
21
19
|
{% endif %}
|
@@ -1,68 +1,45 @@
|
|
1
|
-
<div class="container-fluid
|
2
|
-
|
3
|
-
<div class="row mt-3">
|
4
|
-
<div class="col-lg-3">
|
5
|
-
<a href="{{ site.baseurl }}"
|
6
|
-
><img src="{{ site.avatar }}" border="2"
|
7
|
-
/></a>
|
8
|
-
</div>
|
9
|
-
<div class="col-lg-3 text-center align-items-center">
|
10
|
-
<span>
|
11
|
-
<h1 class="text-center align-items-center">.// {{ site.name }}</h1>
|
12
|
-
<h2 class="text-center align-items-center">{{ site.description }}</h2>
|
13
|
-
<h5 class="text-center align-items-center">{{ site.tagline }}</h5>
|
14
|
-
</span>
|
15
|
-
{% if site.custom_theme.nav.bar == true %}
|
16
|
-
<nav>
|
17
|
-
<br />
|
18
|
-
<h4>{% include {{ site.custom_theme.nav.top }} %}</h4>
|
19
|
-
<br />
|
20
|
-
</nav>
|
21
|
-
{% endif %} {% if site.github.show %}
|
22
|
-
<div class="col-lg-3">{% include github.html %}</div>
|
23
|
-
{% endif %}
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<hr
|
27
|
-
style="
|
28
|
-
width: 50%;
|
29
|
-
margin-left: 25% !important;
|
30
|
-
margin-right: 25% !important;
|
31
|
-
"
|
32
|
-
/>
|
33
|
-
</div>
|
34
|
-
|
1
|
+
<div class="container-fluid align-items-center text-center">
|
2
|
+
{% include themes/{{ site.custom_theme.directory }}/page_header.html %}
|
35
3
|
<br />
|
36
4
|
{% if site.custom_theme.columns == "1" %}
|
37
|
-
<div class="
|
38
|
-
|
5
|
+
<div class="container">
|
6
|
+
{{ content }}
|
39
7
|
</div>
|
40
8
|
|
41
9
|
{% elsif site.custom_theme.columns == "2" %}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
10
|
+
<div class="container-fluid">
|
11
|
+
<div class="row">
|
12
|
+
<div class="col-md-2 order-md-12">
|
13
|
+
</div>
|
14
|
+
<div class="col-md-8">
|
15
|
+
{{ content }}
|
16
|
+
</div>
|
17
|
+
<div class="col-md-2">
|
18
|
+
{% include {{ site.custom_theme.nav.right }} %}
|
51
19
|
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
20
|
+
</div>
|
21
|
+
{% elsif site.custom_theme.columns == "3" %}
|
22
|
+
<div class="container-fluid">
|
23
|
+
<div class="row">
|
24
|
+
<div class="col-md-2 order-md-12" style="text-align: left;">
|
25
|
+
{% include {{ site.custom_theme.nav.left }} %}
|
26
|
+
</div>
|
27
|
+
<div class="col-md-8">
|
28
|
+
{{ content }}
|
29
|
+
</div>
|
30
|
+
<div class="col-md-2" style="text-align: center;justify-content: right;">
|
31
|
+
{% include {{ site.custom_theme.nav.right }} %}</div>
|
55
32
|
</div>
|
56
33
|
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
34
|
+
{% else %}
|
35
|
+
<div class="container-fluid text-center align-center">
|
36
|
+
<div class="row">
|
37
|
+
<h1 class="col-md-6">
|
38
|
+
custom_theme/columns not set in _config.yml <br>
|
39
|
+
Your theme settings in _config.yml are incorrect <br>
|
40
|
+
Current columns: {{ site.custom_theme.columns }}
|
41
|
+
</h1>
|
42
|
+
</div>
|
65
43
|
</div>
|
66
|
-
</div>
|
67
44
|
{% endif %}
|
68
45
|
</div>
|
@@ -1,101 +1,7 @@
|
|
1
1
|
<!-- Begin Theme header -->
|
2
|
-
<meta charset="utf-8" />
|
3
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
4
|
-
|
5
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
7
|
-
<meta name="generator" content="{{ site.author.name }}" />
|
8
|
-
|
9
|
-
{% if page.excerpt %}
|
10
|
-
<meta name="description" content="{{ page.excerpt| strip_html }}" />
|
11
|
-
<meta property="og:description" content="{{ page.excerpt| strip_html }}" />
|
12
|
-
{% else %}
|
13
|
-
<meta name="description" content="{{ site.description }}" />
|
14
|
-
<meta property="og:description" content="{{ site.description }}" />
|
15
|
-
{% endif %}
|
16
|
-
<meta name="author" content="{{ site.author.name }}" />
|
17
|
-
|
18
|
-
<link rel="canonical" href="{{ page.url | replace:'index.html','' }}" />
|
19
|
-
<link
|
20
|
-
rel="alternate"
|
21
|
-
type="application/rss+xml"
|
22
|
-
title="{{ site.name }}"
|
23
|
-
href="{{ site.feed.path | prepend: site.baseurl | prepend: site.url }}"
|
24
|
-
/>
|
25
|
-
|
26
|
-
{% if page.title %}
|
27
|
-
<meta property="og:title" content="{{ page.title }}" />
|
28
|
-
<meta property="twitter:title" content="{{ page.title }}" />
|
29
|
-
{% endif %}
|
30
|
-
|
31
|
-
<link
|
32
|
-
href="https://fonts.googleapis.com/css2?Roboto&family=Roboto+Mono&display=swap"
|
33
|
-
rel="stylesheet"
|
34
|
-
/>
|
35
|
-
|
36
|
-
<link rel="shortcut icon" href="{{ site.avatar }}" />
|
37
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/base.css" />
|
38
2
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/hacker.css" />
|
39
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/
|
40
|
-
<link
|
41
|
-
|
42
|
-
type="text/css"
|
43
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css"
|
44
|
-
/>
|
45
|
-
<link
|
46
|
-
rel="stylesheet"
|
47
|
-
href="{{ site.baseurl }}/assets/css/other/forms-min.css"
|
48
|
-
/>
|
49
|
-
<link
|
50
|
-
rel="stylesheet"
|
51
|
-
href="{{ site.baseurl }}/assets/css/bootstrap/darkly.css"
|
52
|
-
/>
|
53
|
-
<link
|
54
|
-
rel="stylesheet"
|
55
|
-
href="{{ site.baseurl }}/assets/css/bootstrap/bootstrap-icons.css"
|
56
|
-
integrity="sha384-b6lVK+yci+bfDmaY1u0zE8YYJt0TZxLEAFyYSLHId4xoVvsrQu3INevFKo+Xir8e"
|
57
|
-
crossorigin="anonymous"
|
58
|
-
/>
|
59
|
-
<link
|
60
|
-
rel="stylesheet"
|
61
|
-
href="{{ site.baseurl }}/assets/css/bootstrap/font-awesome.css"
|
62
|
-
/>
|
63
|
-
|
64
|
-
<script
|
65
|
-
src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3"
|
66
|
-
async
|
67
|
-
defer
|
68
|
-
></script>
|
69
|
-
<script
|
70
|
-
src="{{ site.baseurl }}/assets/js/errorpages/isup.js"
|
71
|
-
async
|
72
|
-
defer
|
73
|
-
></script>
|
74
|
-
<script
|
75
|
-
src="{{ site.baseurl }}/assets/js/errorpages/homepage.js"
|
76
|
-
async
|
77
|
-
defer
|
78
|
-
></script>
|
79
|
-
<script
|
80
|
-
src="{{ site.baseurl }}/assets/js/errorpages/loaddomain.js"
|
81
|
-
async
|
82
|
-
defer
|
83
|
-
></script>
|
84
|
-
<script
|
85
|
-
src="{{ site.baseurl }}/assets/js/utils/fetch.min.js"
|
86
|
-
async
|
87
|
-
defer
|
88
|
-
></script>
|
89
|
-
<script
|
90
|
-
src="{{ site.baseurl }}/assets/js/utils/popper.min.js"
|
91
|
-
async
|
92
|
-
defer
|
93
|
-
></script>
|
94
|
-
<script
|
95
|
-
src="{{ site.baseurl }}/assets/js/utils/bootstrap.bundle.min.js"
|
96
|
-
async
|
97
|
-
defer
|
98
|
-
></script>
|
3
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/base.css" />
|
4
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap/darkly.css"/>
|
5
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap/bootstrap-icons.css" />
|
99
6
|
<!-- End Theme header -->
|
100
|
-
|
101
7
|
{% seo %}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<div class="col-md-2">
|
3
|
+
<a href="{{ site.baseurl }}"><img src="{{ site.avatar }}" border="2" /></a>
|
4
|
+
</div>
|
5
|
+
<div class="col-md-8">
|
6
|
+
<span class="">
|
7
|
+
<h1>.// {{ site.name }}</h1>
|
8
|
+
<h2>{{ site.description }}</h2>
|
9
|
+
<h4>{{ site.tagline }}</h4>
|
10
|
+
</span>
|
11
|
+
|
12
|
+
{% if site.custom_theme.nav.bar == true %}
|
13
|
+
<nav>
|
14
|
+
<br />
|
15
|
+
<h4>
|
16
|
+
{% include {{ site.custom_theme.nav.top }} %}
|
17
|
+
</h4>
|
18
|
+
</nav>
|
19
|
+
{% endif %}
|
20
|
+
</div>
|
21
|
+
{% if site.github.show %}
|
22
|
+
<div class="col-md-2">
|
23
|
+
{% include github.html %}
|
24
|
+
</div>
|
25
|
+
{% endif %}
|
26
|
+
<hr class="hr" style="width: 100%; border: none;border-top: 3px double #dfdbdb;color: #949393;overflow: hidden;height: 5px;" />
|
27
|
+
</div>
|