domain-jekyll 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +2 -2
- data/_includes/Head.html +5 -4
- data/_layouts/About.html +6 -2
- data/_layouts/Home.html +1 -1
- data/_layouts/Posts.html +25 -11
- data/_layouts/Tags.html +34 -20
- data/_layouts/Tutorial.html +1 -1
- data/_layouts/Tutorials.html +1 -1
- data/_sass/domain/_content.scss +2 -0
- data/_sass/domain/_footer.scss +7 -0
- data/_sass/domain/_main.scss +0 -41
- data/_sass/domain/_media.scss +1 -3
- data/_sass/domain/_search.scss +0 -1
- data/_sass/domain/_sidebar.scss +44 -0
- data/_sass/domain.scss +1 -1
- data/assets/img/tutorial.png +0 -0
- data/assets/img/tutorial.xcf +0 -0
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31fbda55af66cceab7014912b13d31b8d942b75a635a51f8f252a0fbd1fdb57f
|
4
|
+
data.tar.gz: cb252246f7739f542f0a94b5be2db88112962c1859c21574cb1638a94f2df778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1392731abdae484cf42cb11b9615cab43bfede0d3b02c7f8ac3c4a5f42388efc8d12c69a84d48894c92196c28fa445e3d0b286481fb523a7264a2cee5cba4a2a
|
7
|
+
data.tar.gz: deb886f7592ec7c68018bb092647e674631c37dfb77ddd237b478c47f4230d71d89a7cbbfc0780eb40dd9e7b4637778ddff1613974ec746b6042091514ae8492
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,30 @@
|
|
1
|
+
## [1.4.0](https://github.com/lumunix/domain/releases/tag/1.4.0)
|
2
|
+
- Added card based sections for the tags and posts pages
|
3
|
+
- Fixed margins on small screen sizes
|
4
|
+
- Corrected css for sidebar
|
1
5
|
## [1.3.0](https://github.com/lumunix/domain/releases/tag/1.3.0)
|
6
|
+
- Added Tutorials Collection
|
7
|
+
- Fixed tables to be full content width
|
8
|
+
- Added navigation forward and back for tutorials
|
9
|
+
- Fixed Links for context menu not resolving post path
|
2
10
|
## [1.2.1](https://github.com/lumunix/domain/releases/tag/1.2.1)
|
11
|
+
- Updated embedded links for YouTube and Twitch
|
3
12
|
## [1.2.0](https://github.com/lumunix/domain/releases/tag/1.2.0)
|
13
|
+
- Added Highlighter.js
|
14
|
+
- Added Code section lines numbers
|
15
|
+
- Removed old syntax highlighting
|
4
16
|
## [1.1.0](https://github.com/lumunix/domain/releases/tag/1.1.0)
|
17
|
+
- Added LinkLibrary #44
|
18
|
+
- Added Jekyll Admin #48
|
19
|
+
- Fixed Context Menu #49
|
5
20
|
## [1.0.4](https://github.com/lumunix/domain/releases/tag/1.0.4)
|
21
|
+
- Updates to Docker Compose file.
|
22
|
+
- Added Dev config profile.
|
6
23
|
## [1.0.3](https://github.com/lumunix/domain/releases/tag/1.0.3)
|
24
|
+
- Documentation updates
|
7
25
|
## [1.0.2](https://github.com/lumunix/domain/releases/tag/1.0.2)
|
26
|
+
- Bug fixes for image paths that were incorrect.
|
8
27
|
## [1.0.1](https://github.com/lumunix/domain/releases/tag/1.0.1)
|
28
|
+
- Updates to configuration and plugins
|
9
29
|
## [1.0.0](https://github.com/lumunix/domain/releases/tag/1.0.0)
|
30
|
+
- Initial Release
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
[![License](https://img.shields.io/github/license/Lumunix/domain?style=plastic)](https://github.com/Lumunix/Domain/blob/main/LICENSE)
|
3
3
|
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.7-blue.svg)](https://jekyllrb.com/)
|
4
|
-
[![RubyGem](https://img.shields.io/gem/v/domain-jekyll?style=plastic)](https://rubygems.org/gems/
|
4
|
+
[![RubyGem](https://img.shields.io/gem/v/domain-jekyll?style=plastic)](https://rubygems.org/gems/domain-jekyll)
|
5
5
|
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/Lumunix)
|
6
6
|
|
7
7
|
|
@@ -42,7 +42,7 @@ This allows for easier installation and updating as you don't have to manage any
|
|
42
42
|
3. Set the `theme` in your project's Jekyll `_config.yml` file:
|
43
43
|
|
44
44
|
```yaml
|
45
|
-
theme: domain-
|
45
|
+
theme: domain-jekyll
|
46
46
|
```
|
47
47
|
|
48
48
|
To update the theme run `bundle update`.
|
data/_includes/Head.html
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
|
2
2
|
<head>
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
3
5
|
<link rel="shortcut icon" href="{{site.baseurl}}/assets/img/favicon/favicon.ico" type="image/x-icon">
|
4
|
-
<link rel="
|
5
|
-
<link rel="apple-touch-icon" href="{{
|
6
|
-
<link rel="apple-touch-icon" sizes="
|
7
|
-
<link rel="apple-touch-icon" sizes="144x144" href="{{ "/assets/img/favicon/apple-touch-icon-144x144.png" | prepend: site.baseurl }}">
|
6
|
+
<link rel="apple-touch-icon" href="{{site.baseurl}}/assets/img/favicon/apple-touch-icon.png">
|
7
|
+
<link rel="apple-touch-icon" sizes="72x72" href="{{site.baseurl}}/assets/img/favicon/apple-touch-icon-72x72.png">
|
8
|
+
<link rel="apple-touch-icon" sizes="144x144" href="{{site.baseurl}}/assets/img/favicon/apple-touch-icon-144x144.png">
|
8
9
|
<!-- Chrome, Firefox OS and Opera -->
|
9
10
|
<meta name="theme-color" content="#263959">
|
10
11
|
<!-- Windows Phone -->
|
data/_layouts/About.html
CHANGED
@@ -4,25 +4,29 @@ layout: Page
|
|
4
4
|
|
5
5
|
<style/>
|
6
6
|
.columns {
|
7
|
-
|
7
|
+
width: 100%;
|
8
8
|
}
|
9
9
|
.column-1, .column-2 {
|
10
10
|
width:100%;
|
11
|
+
padding: 20px
|
11
12
|
}
|
12
|
-
@media (min-width:
|
13
|
+
@media (min-width: 60em) {
|
13
14
|
.column-1 {
|
14
15
|
width: 30%;
|
15
16
|
float:left;
|
17
|
+
padding: 20px
|
16
18
|
}
|
17
19
|
.column-2 {
|
18
20
|
width: 70%;
|
19
21
|
float:left;
|
22
|
+
padding: 20px
|
20
23
|
}
|
21
24
|
|
22
25
|
.columns {
|
23
26
|
content:"";
|
24
27
|
display: table;
|
25
28
|
clear: both;
|
29
|
+
|
26
30
|
}
|
27
31
|
}
|
28
32
|
|
data/_layouts/Home.html
CHANGED
@@ -3,7 +3,7 @@ layout: Page
|
|
3
3
|
---
|
4
4
|
<div id="post-wrapper">
|
5
5
|
{% for post in paginator.posts %}
|
6
|
-
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.
|
6
|
+
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.baseurl}}{{post.url}}">
|
7
7
|
{% if post.thumbnail %}
|
8
8
|
<a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
|
9
9
|
{% else %}
|
data/_layouts/Posts.html
CHANGED
@@ -2,18 +2,32 @@
|
|
2
2
|
layout: Page
|
3
3
|
---
|
4
4
|
<div>
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
<main>
|
6
|
+
{% assign postsByDay =
|
7
|
+
site.posts | group_by_exp:"post", "post.date | date: '%d-%B-%Y'" %}
|
8
8
|
|
9
|
-
|
9
|
+
{% for day in postsByDay %}
|
10
10
|
<h2 id="{{ day.name }}">{{ day.name }}</h2>
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
{% for post in day.items %}
|
12
|
+
<article class="post feed-title-excerpt-block disable-select"
|
13
|
+
data-url="{{site.baseurl}}{{post.url}}">
|
14
|
+
{% if post.thumbnail %}
|
15
|
+
<a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append :
|
16
|
+
post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
|
17
|
+
{% else %}
|
18
|
+
{% endif %}
|
19
|
+
<div class="post-content">
|
20
|
+
<h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
|
21
|
+
<p>{{ post.content | strip_html | truncatewords: 60 }}</p>
|
22
|
+
<span class="post-date">{{post.date | date: '%Y, %b %d'}} — </span>
|
23
|
+
<span class="post-words">{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
|
15
24
|
|
16
|
-
|
17
|
-
|
18
|
-
|
25
|
+
</div>
|
26
|
+
</article>
|
27
|
+
{% endfor %}
|
28
|
+
{% endfor %}
|
29
|
+
|
30
|
+
<br/>
|
31
|
+
<br/>
|
32
|
+
</main>
|
19
33
|
</div>
|
data/_layouts/Tags.html
CHANGED
@@ -2,27 +2,41 @@
|
|
2
2
|
layout: Page
|
3
3
|
---
|
4
4
|
<div>
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
<main>
|
6
|
+
{% capture site_tags %}{% for tag in site.tags %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{%
|
7
|
+
endfor %}{% endcapture %}
|
8
|
+
{% assign tag_words = site_tags | split:',' | sort %}
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
10
|
+
<ul class="tags">
|
11
|
+
<!-- cycles through tag list and creates header row of all tags used in site with accompanying per-tag counts...-->
|
12
|
+
{% for this_word in tag_words %}
|
13
|
+
<li><a href="#{{ this_word | cgi_escape }}" class="tag">{{ this_word }} <span>({{ site.tags[this_word].size }})</span></a>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
17
|
+
<!--cycles through tag list and creates subheader for each tag name...-->
|
18
|
+
{% for this_word in tag_words %}
|
19
|
+
<h2 id="{{ this_word | cgi_escape }}">{{ this_word }}</h2>
|
20
|
+
<!-- lists all posts corresponding to specific tag...-->
|
21
|
+
{% for post in site.tags[this_word] %}{% if post.title != null %}
|
20
22
|
|
21
|
-
|
22
|
-
|
23
|
-
|
23
|
+
<article class="post feed-title-excerpt-block disable-select"
|
24
|
+
data-url="{{site.baseurl}}{{post.url}}">
|
25
|
+
{% if post.thumbnail %}
|
26
|
+
<a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append :
|
27
|
+
post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
|
28
|
+
{% else %}
|
29
|
+
{% endif %}
|
30
|
+
<div class="post-content">
|
31
|
+
<h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
|
32
|
+
<p>{{ post.content | strip_html | truncatewords: 60 }}</p>
|
33
|
+
<span class="post-date">{{post.date | date: '%Y, %b %d'}} — </span>
|
34
|
+
<span class="post-words">{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
|
24
35
|
|
25
|
-
|
26
|
-
|
27
|
-
|
36
|
+
</div>
|
37
|
+
</article>
|
38
|
+
|
39
|
+
{% endif %}{% endfor %}
|
40
|
+
{% endfor %}
|
41
|
+
</main>
|
28
42
|
</div>
|
data/_layouts/Tutorial.html
CHANGED
@@ -19,7 +19,7 @@ layout: Page
|
|
19
19
|
{% for tag in site.tags %}
|
20
20
|
{%- if tag[0] == page.tutorial_tag -%}
|
21
21
|
{% for post in tag[1] %}
|
22
|
-
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.
|
22
|
+
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.baseurl}}{{post.url}}">
|
23
23
|
{% if post.thumbnail %}
|
24
24
|
<a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
|
25
25
|
{% else %}
|
data/_layouts/Tutorials.html
CHANGED
@@ -3,7 +3,7 @@ layout: Page
|
|
3
3
|
---
|
4
4
|
<div id="post-wrapper">
|
5
5
|
{% for tutorial in site.tutorials %}
|
6
|
-
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.
|
6
|
+
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.baseurl}}{{tutorial.url}}">
|
7
7
|
{% if tutorial.thumbnail %}
|
8
8
|
<a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : tutorial.thumbnail}})" href="{{tutorial.url | prepend: site.baseurl}}"></a>
|
9
9
|
{% else %}
|
data/_sass/domain/_content.scss
CHANGED
data/_sass/domain/_footer.scss
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
/* ==========================================================================
|
2
2
|
Footer
|
3
3
|
========================================================================== */
|
4
|
+
footer {
|
5
|
+
.copyright {
|
6
|
+
font-size: 14px;
|
7
|
+
text-align: center;
|
8
|
+
margin: 0;
|
9
|
+
}
|
10
|
+
}
|
4
11
|
.page-footer {
|
5
12
|
display: flex;
|
6
13
|
justify-content: space-between;
|
data/_sass/domain/_main.scss
CHANGED
@@ -1,47 +1,6 @@
|
|
1
1
|
/* ==========================================================================
|
2
2
|
Main
|
3
3
|
========================================================================== */
|
4
|
-
.sidebar {
|
5
|
-
display: flex;
|
6
|
-
flex-direction: column;
|
7
|
-
justify-content: space-between;
|
8
|
-
position: fixed;
|
9
|
-
top: 0;
|
10
|
-
left: 0;
|
11
|
-
bottom: 0;
|
12
|
-
width: 240px;
|
13
|
-
height: 100%;
|
14
|
-
padding: 20px 10px;
|
15
|
-
background-color: $primary-bg-color;
|
16
|
-
}
|
17
|
-
|
18
|
-
.sidebar-info {
|
19
|
-
margin: 0 0 40px;
|
20
|
-
text-align: center;
|
21
|
-
|
22
|
-
.sidebar-image {
|
23
|
-
width: 100px;
|
24
|
-
height: 150px;
|
25
|
-
margin: 0 auto 10px;
|
26
|
-
overflow: hidden;
|
27
|
-
}
|
28
|
-
|
29
|
-
.sidebar-title {
|
30
|
-
font-family: 'PT Serif', serif;
|
31
|
-
margin: 0 0 10px;
|
32
|
-
position: relative;
|
33
|
-
padding-bottom: 15px;
|
34
|
-
font-size: 16px;
|
35
|
-
text-transform: uppercase;
|
36
|
-
color: $primary-text-color;
|
37
|
-
font-weight: 700;
|
38
|
-
}
|
39
|
-
|
40
|
-
p {
|
41
|
-
font-size: 16px;
|
42
|
-
margin: 0 0 10px;
|
43
|
-
}
|
44
|
-
}
|
45
4
|
|
46
5
|
.content-box {
|
47
6
|
padding: 20px 20px 20px 260px;
|
data/_sass/domain/_media.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Media
|
3
3
|
========================================================================== */
|
4
4
|
/* Medium Devices, Desktops */
|
5
|
-
@media only screen and (max-width :
|
5
|
+
@media only screen and (max-width : 992px) {
|
6
6
|
.post {
|
7
7
|
max-width: 100%;
|
8
8
|
margin: 0 0.9% 1.5%;
|
@@ -29,7 +29,6 @@
|
|
29
29
|
@media only screen and (max-width : 768px) {
|
30
30
|
.sidebar {
|
31
31
|
position: relative;
|
32
|
-
display: flex;
|
33
32
|
flex-direction: column;
|
34
33
|
justify-content: space-between;
|
35
34
|
width: 100%;
|
@@ -83,7 +82,6 @@
|
|
83
82
|
|
84
83
|
.post {
|
85
84
|
max-width: 100%;
|
86
|
-
margin: 2%;
|
87
85
|
flex-direction: column;
|
88
86
|
|
89
87
|
.post-thumbnail {
|
data/_sass/domain/_search.scss
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Sidebar
|
3
|
+
========================================================================== */
|
4
|
+
.sidebar {
|
5
|
+
display: flex;
|
6
|
+
flex-direction: column;
|
7
|
+
justify-content: space-between;
|
8
|
+
position: fixed;
|
9
|
+
top: 0;
|
10
|
+
left: 0;
|
11
|
+
bottom: 0;
|
12
|
+
width: 240px;
|
13
|
+
height: 100%;
|
14
|
+
padding: 20px 10px;
|
15
|
+
background-color: $primary-bg-color;
|
16
|
+
}
|
17
|
+
|
18
|
+
.sidebar-info {
|
19
|
+
margin: 0 0 40px;
|
20
|
+
text-align: center;
|
21
|
+
|
22
|
+
.sidebar-image {
|
23
|
+
width: 100px;
|
24
|
+
height: 150px;
|
25
|
+
margin: 0 auto 10px;
|
26
|
+
overflow: hidden;
|
27
|
+
}
|
28
|
+
|
29
|
+
.sidebar-title {
|
30
|
+
font-family: 'PT Serif', serif;
|
31
|
+
margin: 0 0 10px;
|
32
|
+
position: relative;
|
33
|
+
padding-bottom: 15px;
|
34
|
+
font-size: 16px;
|
35
|
+
text-transform: uppercase;
|
36
|
+
color: $primary-text-color;
|
37
|
+
font-weight: 700;
|
38
|
+
}
|
39
|
+
|
40
|
+
p {
|
41
|
+
font-size: 16px;
|
42
|
+
margin: 0 0 10px;
|
43
|
+
}
|
44
|
+
}
|
data/_sass/domain.scss
CHANGED
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domain-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lumunix
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: webrick
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 12.3.3
|
139
|
-
description:
|
139
|
+
description:
|
140
140
|
email:
|
141
141
|
- lumunix@icloud.com
|
142
142
|
executables: []
|
@@ -192,6 +192,7 @@ files:
|
|
192
192
|
- _sass/domain/_previousnext.scss
|
193
193
|
- _sass/domain/_related.scss
|
194
194
|
- _sass/domain/_search.scss
|
195
|
+
- _sass/domain/_sidebar.scss
|
195
196
|
- _sass/domain/_sidenote.scss
|
196
197
|
- _sass/domain/_tables.scss
|
197
198
|
- _sass/domain/_tag.scss
|
@@ -241,6 +242,8 @@ files:
|
|
241
242
|
- assets/img/mermaid.xcf
|
242
243
|
- assets/img/project-banner.png
|
243
244
|
- assets/img/screeee.png
|
245
|
+
- assets/img/tutorial.png
|
246
|
+
- assets/img/tutorial.xcf
|
244
247
|
- assets/img/type.png
|
245
248
|
- assets/img/useful-references.png
|
246
249
|
- assets/img/useful-references.xcf
|
@@ -1032,7 +1035,7 @@ licenses:
|
|
1032
1035
|
- MIT
|
1033
1036
|
metadata:
|
1034
1037
|
plugin_type: theme
|
1035
|
-
post_install_message:
|
1038
|
+
post_install_message:
|
1036
1039
|
rdoc_options: []
|
1037
1040
|
require_paths:
|
1038
1041
|
- lib
|
@@ -1047,8 +1050,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1047
1050
|
- !ruby/object:Gem::Version
|
1048
1051
|
version: '0'
|
1049
1052
|
requirements: []
|
1050
|
-
rubygems_version: 3.3.
|
1051
|
-
signing_key:
|
1053
|
+
rubygems_version: 3.0.3.1
|
1054
|
+
signing_key:
|
1052
1055
|
specification_version: 4
|
1053
1056
|
summary: Jekyll theme for building a personal knowledge repository and blog.
|
1054
1057
|
test_files: []
|