jekyll-nightlight 0.0.1 → 0.0.2
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/_includes/nav.html +33 -0
- data/_layouts/default.html +1 -33
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6867d7e3709b85d5a69d71777fba08ede37372424a63e62a0b13263c1e74ef13
|
4
|
+
data.tar.gz: 6d5207f35565e81e028ead28d0f772f5a90642bedf529ff01ca3445913ac4ed2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc685ed0dff4691286e220572edeed966f582085712104047679e4abd73fb4af43812ff70a5877048d9a547373040d5f9dcc1247de65bc72f1133ad034dcbe18
|
7
|
+
data.tar.gz: 484ce90fa28cf2f4429bcc20439ad7d1059efd1e4d11c65aef0ee4d96c178cea35a020c9c6545cf186a43907b13bb5309d8637c789d3bc002f77c9e46783713f
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
<nav>
|
2
|
+
<span class="logo">{{ site.title }}</span>
|
3
|
+
<div style="flex-grow: 1;"></div>
|
4
|
+
<small class="links">
|
5
|
+
{% if page.path == 'index.html' %}
|
6
|
+
<a href="/">
|
7
|
+
<strong class="link-highlight">Home</strong>
|
8
|
+
</a>
|
9
|
+
{% else %}
|
10
|
+
<a href="/">Home</a>
|
11
|
+
{% endif %}
|
12
|
+
<!-- -->
|
13
|
+
{% if page.path == 'blog.html' %}
|
14
|
+
<a href="/blog.html">
|
15
|
+
<strong class="link-highlight">Blog</strong>
|
16
|
+
</a>
|
17
|
+
{% else %}
|
18
|
+
<a href="/blog.html">Blog</a>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
<!-- -->
|
22
|
+
|
23
|
+
<!-- {% if page.path == '/resume.html' %}
|
24
|
+
<a href="/resume.html" class="strong"><strong>Resume</strong></a>
|
25
|
+
{% else %}
|
26
|
+
<a href="/resume.html">Resume</a>
|
27
|
+
{% endif %} -->
|
28
|
+
|
29
|
+
<!-- -->
|
30
|
+
|
31
|
+
<a href="/feed.xml">Feed</a>
|
32
|
+
</small>
|
33
|
+
</nav>
|
data/_layouts/default.html
CHANGED
@@ -16,39 +16,7 @@
|
|
16
16
|
</style>
|
17
17
|
</head>
|
18
18
|
<body>
|
19
|
-
|
20
|
-
<span class="logo">{{ site.title }}</span>
|
21
|
-
<div style="flex-grow: 1;"></div>
|
22
|
-
<small class="links">
|
23
|
-
{% if page.path == 'index.html' %}
|
24
|
-
<a href="/">
|
25
|
-
<strong class="link-highlight">Home</strong>
|
26
|
-
</a>
|
27
|
-
{% else %}
|
28
|
-
<a href="/">Home</a>
|
29
|
-
{% endif %}
|
30
|
-
<!-- -->
|
31
|
-
{% if page.path == 'blog.html' %}
|
32
|
-
<a href="/blog.html">
|
33
|
-
<strong class="link-highlight">Blog</strong>
|
34
|
-
</a>
|
35
|
-
{% else %}
|
36
|
-
<a href="/blog.html">Blog</a>
|
37
|
-
{% endif %}
|
38
|
-
|
39
|
-
<!-- -->
|
40
|
-
|
41
|
-
<!-- {% if page.path == '/resume.html' %}
|
42
|
-
<a href="/resume.html" class="strong"><strong>Resume</strong></a>
|
43
|
-
{% else %}
|
44
|
-
<a href="/resume.html">Resume</a>
|
45
|
-
{% endif %} -->
|
46
|
-
|
47
|
-
<!-- -->
|
48
|
-
|
49
|
-
<a href="/feed.xml">Feed</a>
|
50
|
-
</small>
|
51
|
-
</nav>
|
19
|
+
{% include nav.html %}
|
52
20
|
|
53
21
|
{{ content }}
|
54
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-nightlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdus
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
64
|
- _includes/meta.html
|
65
|
+
- _includes/nav.html
|
65
66
|
- _layouts/default.html
|
66
67
|
- _layouts/page.html
|
67
68
|
- _layouts/post.html
|