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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4cbc2a56c167c10a0b1c9c6b6282729845fd5a525eef1d9530931fcdafb1cfe
4
- data.tar.gz: 5edf25004405c83602f0b249feff653fbb2f155bd9a58d0fd51eccfdd2bd3cac
3
+ metadata.gz: 31fbda55af66cceab7014912b13d31b8d942b75a635a51f8f252a0fbd1fdb57f
4
+ data.tar.gz: cb252246f7739f542f0a94b5be2db88112962c1859c21574cb1638a94f2df778
5
5
  SHA512:
6
- metadata.gz: ec0a214a90f2762deca283e35914a4f04a7c66a8962c8096d4e416ab8a83b80a859a7fac5e51a97c996b6477341065fe7534bc76f5a2abce48c12a910bf8f80d
7
- data.tar.gz: 8d706bdd34b072ec5c5365cde3e6c88003177f309159d25f6b7ff7c07ac28254536f56ac39d6e601fcf3f0740d1513ab688d91feac7f6c253102fe03ee97e89a
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/minimal-mistakes-jekyll)
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-jekll
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="shortcut icon" href="{{ "/assets/img/favicon/favicon.ico" | prepend: site.baseurl }}" type="image/x-icon">
5
- <link rel="apple-touch-icon" href="{{ "/assets/img/favicon/apple-touch-icon.png" | prepend: site.baseurl }}">
6
- <link rel="apple-touch-icon" sizes="72x72" href="{{ "/assets/img/favicon/apple-touch-icon-72x72.png" | prepend: site.baseurl }}">
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
- Width: 100%;
7
+ width: 100%;
8
8
  }
9
9
  .column-1, .column-2 {
10
10
  width:100%;
11
+ padding: 20px
11
12
  }
12
- @media (min-width: 48em) {
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.url}}{{site.baseurl}}{{post.url}}">
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
- <main>
6
- {% assign postsByDay =
7
- site.posts | group_by_exp:"post", "post.date | date: '%d-%B-%Y'" %}
5
+ <main>
6
+ {% assign postsByDay =
7
+ site.posts | group_by_exp:"post", "post.date | date: '%d-%B-%Y'" %}
8
8
 
9
- {% for day in postsByDay %}
9
+ {% for day in postsByDay %}
10
10
  <h2 id="{{ day.name }}">{{ day.name }}</h2>
11
- {% for post in day.items %}
12
- <li id="date-content" style="padding-bottom: 0.6em; list-style: none;"><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a></li>
13
- {% endfor %}
14
- {% endfor %}
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'}}&nbsp;&nbsp;&nbsp;—&nbsp;</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
- <br/>
17
- <br/>
18
- </main>
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
- <main>
6
- {% capture site_tags %}{% for tag in site.tags %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
7
- {% assign tag_words = site_tags | split:',' | sort %}
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
- <ul class="tags">
10
- <!-- cycles through tag list and creates header row of all tags used in site with accompanying per-tag counts...-->
11
- {% for this_word in tag_words %}
12
- <li ><a href="#{{ this_word | cgi_escape }}" class="tag">{{ this_word }} <span>({{ site.tags[this_word].size }})</span></a></li>
13
- {% endfor %}
14
- </ul>
15
- <!--cycles through tag list and creates subheader for each tag name...-->
16
- {% for this_word in tag_words %}
17
- <h2 id="{{ this_word | cgi_escape }}">{{ this_word }}</h2>
18
- <!-- lists all posts corresponding to specific tag...-->
19
- {% for post in site.tags[this_word] %}{% if post.title != null %}
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
- <li id="date-content" style="padding-bottom: 0.6em; list-style: none;"><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a>
22
- <small><span>| {{ post.date | date_to_string }}</span></small>
23
- </li>
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'}}&nbsp;&nbsp;&nbsp;—&nbsp;</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
- {% endif %}{% endfor %}
26
- {% endfor %}
27
- </main>
36
+ </div>
37
+ </article>
38
+
39
+ {% endif %}{% endfor %}
40
+ {% endfor %}
41
+ </main>
28
42
  </div>
@@ -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.url}}{{site.baseurl}}{{post.url}}">
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 %}
@@ -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.url}}{{site.baseurl}}{{tutorial.url}}">
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 %}
@@ -106,6 +106,8 @@ html {
106
106
  }
107
107
 
108
108
  body {
109
+ -webkit-font-smoothing: antialiased;
110
+ -moz-osx-font-smoothing: grayscale;
109
111
  counter-reset: sidenote-counter;
110
112
  }
111
113
 
@@ -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;
@@ -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;
@@ -2,7 +2,7 @@
2
2
  Media
3
3
  ========================================================================== */
4
4
  /* Medium Devices, Desktops */
5
- @media only screen and (max-width : 1024px) {
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 {
@@ -209,7 +209,6 @@
209
209
  /* Blogposts: Post-heading, Post-subheading, Post-content, Related Posts*/
210
210
  .main-site-subheader {
211
211
  border-bottom: 1px solid $primary-border-color;
212
- padding-left: 15px;
213
212
  }
214
213
 
215
214
  .menu {
@@ -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
@@ -3,7 +3,7 @@
3
3
  * Copyright 2022 Lumunix
4
4
  * Licensed under MIT
5
5
  */
6
-
6
+ @import "domain/sidebar";
7
7
  @import "domain/highlight";
8
8
  @import "domain/tooltip";
9
9
  @import "domain/toc";
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.3.0
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: 2022-12-28 00:00:00.000000000 Z
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.22
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: []