jekyll-theme-zer0 0.1.6 → 0.1.8
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/README.md +5 -0
- data/_includes/info-section.html +22 -20
- data/_includes/intro.html +25 -5
- data/_layouts/blog.html +26 -8
- data/_layouts/collection.html +2 -2
- data/assets/images/zer0-mistakes-wizard.png +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4eca6551ecf1beaf401a1407f44a854a284d553e94d657a0a04aa0bd21ef273
|
4
|
+
data.tar.gz: 54a74d6c962f55091fefcbf4684a600745647e84676e8603d9320fc1c17cecb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7327f0ad7978f04447124fefbcb5e61829a1ef2752a635326839f3c6e0b1dde4fac9f61b228fa89da08a4b58857d6e80404d647748cf9f4d32d8c1819f68d54
|
7
|
+
data.tar.gz: c8d884b3a3fd1e85fe3a8b3ffd7d4415217cf925d7140543bd4fe5c7f86eb16f7e291288d2c4d1dffb8f656ed14c43b7f0ac7920a4b496f483567fb5d818ca25
|
data/README.md
CHANGED
@@ -28,6 +28,7 @@ keywords:
|
|
28
28
|
date: 2024-05-27T04:49:32.883Z
|
29
29
|
snippet: What is a snippet?
|
30
30
|
comments: true
|
31
|
+
preview: /images/zer0-mistakes-wizard.png
|
31
32
|
---
|
32
33
|
|
33
34
|
[](https://github.com/bamr87/zer0-mistakes/actions/workflows/pages/pages-build-deployment)
|
@@ -40,6 +41,10 @@ However, in practice, you may need to install additional dependencies or configu
|
|
40
41
|
For example, you may need to install Ruby, Node.js, or other tools to run the application locally or deploy it to a server.
|
41
42
|
Therefore, part of this document is to provide a list of prerequisites and setup instructions to help you get started with the project.
|
42
43
|
|
44
|
+
```shell
|
45
|
+
gh repo clone bamr87/zer0-mistakes
|
46
|
+
```
|
47
|
+
|
43
48
|
|
44
49
|
## System Specs
|
45
50
|
|
data/_includes/info-section.html
CHANGED
@@ -8,26 +8,28 @@
|
|
8
8
|
|
9
9
|
<!-- Modal -->
|
10
10
|
<div class="modal fade" id="info-section" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<!-- Dark Mode Switch -->
|
24
|
-
{% include halfmoon.html %}
|
11
|
+
<div class="modal-dialog">
|
12
|
+
<div class="modal-content">
|
13
|
+
<div class="modal-header">
|
14
|
+
<h1 class="modal-title fs-5" id="staticBackdropLabel">Settings and Source</h1>
|
15
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
16
|
+
</div>
|
17
|
+
<div class="modal-body">
|
18
|
+
|
19
|
+
<div class="container">
|
20
|
+
<!-- _include/breadcrumbs.html -->
|
21
|
+
{% include breadcrumbs.html %}
|
22
|
+
{% include searchbar.html %}
|
25
23
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
24
|
+
<!-- Shortcuts to source bode -->
|
25
|
+
{% include dev-shortcuts.html %}
|
26
|
+
<!-- Dark Mode Switch -->
|
27
|
+
{% include halfmoon.html %}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="modal-footer">
|
31
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
31
32
|
</div>
|
32
33
|
</div>
|
33
|
-
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
data/_includes/intro.html
CHANGED
@@ -12,15 +12,35 @@
|
|
12
12
|
<!-- Intro Section -->
|
13
13
|
|
14
14
|
<div class="bd-intro pt-5 ps-lg-2 position-relative" style="
|
15
|
-
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{{ page.preview |
|
15
|
+
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{{site.baseurl}}/{{ site.public_folder }}/{{ page.preview | default: site.info_banner }}') no-repeat center center / cover;
|
16
16
|
color: #fff;">
|
17
|
-
|
17
|
+
|
18
|
+
<!-- Share Icon with Dropdown for Multiple Sharing Options -->
|
18
19
|
<div class="position-absolute top-0 end-0 m-3">
|
19
|
-
<
|
20
|
+
<div class="dropdown">
|
21
|
+
<button class="btn btn-info dropdown-toggle" type="button" id="shareDropdown" data-bs-toggle="dropdown" aria-expanded="false">
|
20
22
|
<i class="bi bi-share"></i>
|
21
|
-
|
23
|
+
</button>
|
24
|
+
<ul class="dropdown-menu" aria-labelledby="shareDropdown">
|
25
|
+
<li>
|
26
|
+
<a class="dropdown-item" href="https://reddit.com/submit?url={{ page.url | absolute_url | url_encode }}&title={{ page.title | url_encode }}" target="_blank">
|
27
|
+
Share on Reddit
|
28
|
+
</a>
|
29
|
+
</li>
|
30
|
+
<li>
|
31
|
+
<script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script>
|
32
|
+
<script type="IN/Share" data-url="{{ page.url | absolute_url | url_encode }}"></script>
|
33
|
+
</li>
|
34
|
+
<li>
|
35
|
+
<button class="dropdown-item" onclick='navigator.clipboard.writeText("{{ page.url | absolute_url }}");'>
|
36
|
+
Copy Link
|
37
|
+
</button>
|
38
|
+
</li>
|
39
|
+
</ul>
|
40
|
+
</div>
|
22
41
|
</div>
|
23
42
|
|
43
|
+
|
24
44
|
<script>
|
25
45
|
document.addEventListener('DOMContentLoaded', function () {
|
26
46
|
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
|
@@ -38,7 +58,7 @@
|
|
38
58
|
<br>
|
39
59
|
<h1>{{ page.title }}</h1>
|
40
60
|
<p>By {{ page.author | default: site.author.name }}</p>
|
41
|
-
<p>{{ page.
|
61
|
+
<p>{{ page.description }}</p>
|
42
62
|
<p>Estimated reading time: {{ content | number_of_words | divided_by:200 }} minutes</p>
|
43
63
|
<!-- Edit on Github Button -->
|
44
64
|
<a href="https://github.com/{{ site.repository }}/blob/master/{{ page_dir }}/{{ page.path }}" class="btn btn-dark position-absolute bottom-0 end-0 m-3">
|
data/_layouts/blog.html
CHANGED
@@ -43,7 +43,7 @@ source: "https://getbootstrap.com/docs/5.3/examples/blog/#"
|
|
43
43
|
<p class="lead mb-0"><a href="{{ site.baseurl }}{{ most_recent_post.url }}" class="text-body-emphasis fw-bold">Continue reading...</a></p>
|
44
44
|
</div>
|
45
45
|
<div class="col-lg-6">
|
46
|
-
<img src="{{ site.baseurl }}{{ most_recent_post.preview }}" alt="Preview image" class="img-fluid">
|
46
|
+
<img src="{{ site.baseurl }}/{{ site.public_folder }}/{{ most_recent_post.preview }}" alt="Preview image" class="img-fluid">
|
47
47
|
</div>
|
48
48
|
</div>
|
49
49
|
</div>
|
@@ -64,7 +64,7 @@ source: "https://getbootstrap.com/docs/5.3/examples/blog/#"
|
|
64
64
|
</a>
|
65
65
|
</div>
|
66
66
|
<div class="col-md-6 d-none d-lg-block">
|
67
|
-
<img src="{{ site.baseurl }}{{ post.preview }}" alt="Post preview image" class="img-fluid">
|
67
|
+
<img src="{{ site.baseurl }}/{{ site.public_folder }}/{{ post.preview }}" alt="Post preview image" class="img-fluid">
|
68
68
|
</div>
|
69
69
|
</div>
|
70
70
|
</div>
|
@@ -81,10 +81,28 @@ source: "https://getbootstrap.com/docs/5.3/examples/blog/#"
|
|
81
81
|
{{ content }}
|
82
82
|
</article>
|
83
83
|
|
84
|
-
<nav
|
85
|
-
<
|
86
|
-
|
87
|
-
|
84
|
+
<nav aria-label="Page navigation">
|
85
|
+
<ul class="pagination pagination-lg justify-content-center">
|
86
|
+
<li class="page-item">
|
87
|
+
{% if page.previous %}
|
88
|
+
<a class="page-link" href="{{ page.previous.url | prepend: site.baseurl }}">
|
89
|
+
Previous: {{ page.previous.title }}
|
90
|
+
</a>
|
91
|
+
{% else %}
|
92
|
+
<a class="page-link" href="#" aria-disabled="true">Previous</a>
|
93
|
+
{% endif %}
|
94
|
+
</li>
|
95
|
+
<li class="page-item">
|
96
|
+
{% if page.next %}
|
97
|
+
<a class="page-link" href="{{ page.next.url | prepend: site.baseurl }}">
|
98
|
+
Next: {{ page.next.title }}
|
99
|
+
</a>
|
100
|
+
{% else %}
|
101
|
+
<a class="page-link" href="#" aria-disabled="true">Next</a>
|
102
|
+
{% endif %}
|
103
|
+
</li>
|
104
|
+
</ul>
|
105
|
+
</nav>
|
88
106
|
|
89
107
|
</div>
|
90
108
|
|
@@ -100,8 +118,8 @@ source: "https://getbootstrap.com/docs/5.3/examples/blog/#"
|
|
100
118
|
<ul class="list-unstyled">
|
101
119
|
{% for post in site.posts limit:3 %}
|
102
120
|
<li>
|
103
|
-
<a class="d-flex flex-column flex-lg-row gap-3 align-items-start align-items-lg-center py-3 link-body-emphasis text-decoration-none border-top" href="{{ post.url }}">
|
104
|
-
<img class="bd-placeholder-img" src="{{ page.preview | default: site.og_image }}" width="50%" alt="Preview image">
|
121
|
+
<a class="d-flex flex-column flex-lg-row gap-3 align-items-start align-items-lg-center py-3 link-body-emphasis text-decoration-none border-top" href="{{site.baseurl}}/{{ post.url }}">
|
122
|
+
<img class="bd-placeholder-img" src="{{ site.baseurl }}/{{ site.public_folder }}/{{ page.preview | default: site.og_image }}" width="50%" alt="Preview image">
|
105
123
|
<div class="col-lg-8">
|
106
124
|
<h6 class="mb-0">{{ post.title }}</h6>
|
107
125
|
<small class="text-body-secondary">{{ post.date | date: "%B %d, %Y" }}</small>
|
data/_layouts/collection.html
CHANGED
@@ -21,9 +21,9 @@ layout: default
|
|
21
21
|
<div class="col">
|
22
22
|
<div class="card h-100">
|
23
23
|
{%- if post.preview -%}
|
24
|
-
<img src="{{ site.public_folder }}/{{ post.preview}}" class="card-img-top" alt="page preview image">
|
24
|
+
<img src="{{site.baseurl}}/{{ site.public_folder }}/{{ post.preview}}" class="card-img-top" alt="page preview image">
|
25
25
|
{% else %}
|
26
|
-
<img src="{{ site.teaser }}" class="card-img-top" alt="page preview image">
|
26
|
+
<img src="{{site.baseurl}}/{{ site.public_folder }}/{{ site.teaser }}" class="card-img-top" alt="page preview image">
|
27
27
|
{%- endif -%}
|
28
28
|
<div class="card-body">
|
29
29
|
<h5 class="card-title " itemprop="headline">
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-zer0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amr Abdel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- assets/images/wizard-on-journey.png
|
122
122
|
- assets/images/zer0-checkpoint-1.png
|
123
123
|
- assets/images/zer0-checkpoint-2.png
|
124
|
+
- assets/images/zer0-mistakes-wizard.png
|
124
125
|
- assets/js/auto-hide-nav.js
|
125
126
|
- assets/js/back-to-top.js
|
126
127
|
- assets/js/cheetsheet.js
|