domain-jekyll 1.2.0 → 1.3.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 +3 -1
- data/_includes/Content.html +1 -0
- data/_includes/Header.html +18 -11
- data/_includes/PreviousNext.html +14 -0
- data/_includes/TwitterEmbed.html +5 -0
- data/_includes/YoutubeEmbed.html +4 -0
- data/_layouts/Default.html +3 -1
- data/_layouts/Home.html +27 -2
- data/_layouts/Post.html +1 -1
- data/_layouts/Tutorial.html +53 -0
- data/_layouts/Tutorials.html +20 -0
- data/_sass/domain/_author.scss +2 -2
- data/_sass/domain/_backtotop.scss +4 -4
- data/_sass/domain/_codecopy.scss +35 -35
- data/_sass/domain/_content.scss +0 -1
- data/_sass/domain/_contextmenu.scss +84 -84
- data/_sass/domain/_embed.scss +20 -0
- data/_sass/domain/_highlight.scss +25 -27
- data/_sass/domain/_media.scss +13 -9
- data/_sass/domain/_normalize.scss +217 -260
- data/_sass/domain/_pagination.scss +17 -15
- data/_sass/domain/_previousnext.scss +108 -0
- data/_sass/domain/_search.scss +0 -2
- data/_sass/domain/_sidenote.scss +1 -1
- data/_sass/domain/_tables.scss +18 -0
- data/_sass/domain/_tag.scss +4 -2
- data/_sass/domain/_toc.scss +24 -24
- data/_sass/domain/_tooltip.scss +114 -115
- data/_sass/domain/_util.scss +262 -267
- data/_sass/domain/skin/_dark.scss +22 -28
- data/_sass/domain/skin/_light.scss +2 -9
- data/_sass/domain.scss +3 -0
- data/assets/.DS_Store +0 -0
- data/assets/js/ContextMenu.js +8 -8
- metadata +10 -3
- data/_includes/Postlist.html +0 -26
data/assets/js/ContextMenu.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
/********************************************************************************************
|
2
2
|
* MIT License
|
3
|
-
*
|
3
|
+
*
|
4
4
|
* Copyright (c) 2020 Raghuveer S
|
5
|
-
*
|
5
|
+
*
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
8
8
|
* in the Software without restriction, including without limitation the rights
|
9
9
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
10
|
* copies of the Software, and to permit persons to whom the Software is
|
11
11
|
* furnished to do so, subject to the following conditions:
|
12
|
-
*
|
12
|
+
*
|
13
13
|
* The above copyright notice and this permission notice shall be included in all
|
14
14
|
* copies or substantial portions of the Software.
|
15
|
-
*
|
15
|
+
*
|
16
16
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
17
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
18
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
@@ -20,14 +20,14 @@
|
|
20
20
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
22
|
* SOFTWARE.
|
23
|
-
*
|
24
|
-
*
|
23
|
+
*
|
24
|
+
*
|
25
25
|
* File: ContextMenu.js
|
26
26
|
* Author@Raghuveer S
|
27
27
|
*
|
28
28
|
* This allows us to override the default contextmenu provided by the browser and replace
|
29
29
|
* it with a custom context menu containing options to view related files and files
|
30
|
-
* that link back to it(a.k.a backlinks).
|
30
|
+
* that link back to it(a.k.a backlinks).
|
31
31
|
*********************************************************************************************/
|
32
32
|
|
33
33
|
(function (sj) {
|
@@ -54,7 +54,7 @@
|
|
54
54
|
});
|
55
55
|
};
|
56
56
|
|
57
|
-
/* Helper function to check if the click event happened
|
57
|
+
/* Helper function to check if the click event happened
|
58
58
|
inside the specfied css element or outside */
|
59
59
|
function clickInsideElement(e, className) {
|
60
60
|
var el = e.srsElement || e.target;
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lumunix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: webrick
|
@@ -161,9 +161,11 @@ files:
|
|
161
161
|
- _includes/InfiniteScroll.html
|
162
162
|
- _includes/LinkLibrary.md
|
163
163
|
- _includes/Pagination.html
|
164
|
-
- _includes/
|
164
|
+
- _includes/PreviousNext.html
|
165
165
|
- _includes/Related.html
|
166
|
+
- _includes/TwitterEmbed.html
|
166
167
|
- _includes/Utterances.html
|
168
|
+
- _includes/YoutubeEmbed.html
|
167
169
|
- _layouts/About.html
|
168
170
|
- _layouts/Default.html
|
169
171
|
- _layouts/Home.html
|
@@ -172,21 +174,26 @@ files:
|
|
172
174
|
- _layouts/Posts.html
|
173
175
|
- _layouts/Sidebar.html
|
174
176
|
- _layouts/Tags.html
|
177
|
+
- _layouts/Tutorial.html
|
178
|
+
- _layouts/Tutorials.html
|
175
179
|
- _sass/domain.scss
|
176
180
|
- _sass/domain/_author.scss
|
177
181
|
- _sass/domain/_backtotop.scss
|
178
182
|
- _sass/domain/_codecopy.scss
|
179
183
|
- _sass/domain/_content.scss
|
180
184
|
- _sass/domain/_contextmenu.scss
|
185
|
+
- _sass/domain/_embed.scss
|
181
186
|
- _sass/domain/_footer.scss
|
182
187
|
- _sass/domain/_highlight.scss
|
183
188
|
- _sass/domain/_main.scss
|
184
189
|
- _sass/domain/_media.scss
|
185
190
|
- _sass/domain/_normalize.scss
|
186
191
|
- _sass/domain/_pagination.scss
|
192
|
+
- _sass/domain/_previousnext.scss
|
187
193
|
- _sass/domain/_related.scss
|
188
194
|
- _sass/domain/_search.scss
|
189
195
|
- _sass/domain/_sidenote.scss
|
196
|
+
- _sass/domain/_tables.scss
|
190
197
|
- _sass/domain/_tag.scss
|
191
198
|
- _sass/domain/_toc.scss
|
192
199
|
- _sass/domain/_tooltip.scss
|
data/_includes/Postlist.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<div id="post-wrapper">
|
2
|
-
{% for post in paginator.posts %}
|
3
|
-
<article class="post feed-title-excerpt-block disable-select" data-url="{{site.baseurl}}{{post.url}}">
|
4
|
-
{% if post.thumbnail %}
|
5
|
-
<a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
|
6
|
-
{% else %}
|
7
|
-
{% endif %}
|
8
|
-
<div class="post-content">
|
9
|
-
<h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
|
10
|
-
<p>{{ post.content | strip_html | truncatewords: 60 }}</p>
|
11
|
-
<span class="post-date">{{post.date | date: '%Y, %b %d'}} — </span>
|
12
|
-
<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>
|
13
|
-
|
14
|
-
</div>
|
15
|
-
</article>
|
16
|
-
{% endfor %}
|
17
|
-
</div>
|
18
|
-
|
19
|
-
{% case site.preferences.pagination.system %}
|
20
|
-
{% when "infinitescroll" %}
|
21
|
-
{% include InfiniteScroll.html %}
|
22
|
-
{% when "pagination" %}
|
23
|
-
{% include Pagination.html %}
|
24
|
-
{% else %}
|
25
|
-
{% include InfiniteScroll.html %}
|
26
|
-
{% endcase %}
|