jekyll-theme-panda 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/_config.yml +11 -11
- data/_includes/about/en.md +7 -1
- data/_includes/head.html +2 -2
- data/_includes/header.html +2 -0
- data/_layouts/about.html +21 -0
- data/_layouts/album.html +1 -0
- data/_layouts/post.html +3 -3
- data/_sass/common.scss +1 -1
- data/assets/js/album.js +7 -0
- data/assets/js/script.js +1 -2
- data/assets/js/typora2jekyll.js +6 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3de81689c19fd28338533a42bba68a1239e968b69c193dfd0c7e2ccdd406c7fa
|
4
|
+
data.tar.gz: 8ceeb4ffd77fc62baa321edadfed941a66762dae6c98043d430c9855c2c50f09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 071b778e868d1926e52308939311b4a3aa386146cc21676665ddb4f17ac1ed6f01cb428f5b6d9f1b64cecb0aef57b6f2f28dd6a26fd2e8154232b982a336a9a8
|
7
|
+
data.tar.gz: 3742c550c3cfc70cdd4b9903493cfb392584276771dd976ab8d29050dccb745ee751d803e7b22bd4556dc7cd96a65edb8f59b21ba1f4a6acc28fbc8606c22992
|
data/README.md
CHANGED
data/_config.yml
CHANGED
@@ -10,7 +10,7 @@ twitter_username: sorphwer
|
|
10
10
|
github_username: sorphwer
|
11
11
|
github_url: https://github.com/sorphwer
|
12
12
|
repo_url: https://github.com/sorphwer/jekyll-theme-panda
|
13
|
-
theme_version: 0.2.
|
13
|
+
theme_version: 0.2.5
|
14
14
|
permalink: /:year-:month-:day-:title:output_ext
|
15
15
|
# Build settings
|
16
16
|
# markdown: kramdown
|
@@ -38,19 +38,21 @@ sass:
|
|
38
38
|
|
39
39
|
navigation:
|
40
40
|
- text: Blogs
|
41
|
-
url:
|
41
|
+
url: index.html
|
42
42
|
layout: home
|
43
43
|
- text: Archive
|
44
|
-
url:
|
44
|
+
url: archive
|
45
45
|
layout: forarchive
|
46
46
|
- text: Albums
|
47
|
-
url:
|
47
|
+
url: albums
|
48
48
|
layout: albumlist
|
49
49
|
- text: Presets
|
50
|
-
url:
|
50
|
+
url: presets
|
51
51
|
layout: presetlist
|
52
|
-
|
53
|
-
|
52
|
+
- text: About
|
53
|
+
url: About1
|
54
|
+
layout: about
|
55
|
+
|
54
56
|
|
55
57
|
|
56
58
|
|
@@ -58,16 +60,15 @@ dropdown_header: Theme #will only exist if dropdown array below has item(s)
|
|
58
60
|
dropdown:
|
59
61
|
- text: BLOG
|
60
62
|
url: https://riino.site
|
61
|
-
|
62
|
-
url: https://li.riino.site
|
63
|
+
|
63
64
|
|
64
65
|
footer_text:
|
65
66
|
- jekyll-theme-panda demo by Riino
|
66
|
-
- Image and animte assets © by <a href="https://li.riino.site"><i>Low illuminance</i></a>
|
67
67
|
- All Rights Reserved.
|
68
68
|
|
69
69
|
footer_html: <a href="{{ site.baseurl }}/feed.xml">RSS Subscribe |</a><span></span><a href="{{ site.baseurl }}/policy/">Policy</a>
|
70
70
|
|
71
|
+
banner_img: /assets/img/banner.gif
|
71
72
|
hoster_logo: /assets/img/logo_Nest.png
|
72
73
|
hoster_logo_link: https://github.com/sorphwer
|
73
74
|
hoster_logo_alt: Github
|
@@ -75,7 +76,6 @@ hoster_text:
|
|
75
76
|
- Nest of Etamine - 10th Anniversary
|
76
77
|
- 2012-2022
|
77
78
|
|
78
|
-
optional_footer_html_code:
|
79
79
|
|
80
80
|
# Exclude from processing.
|
81
81
|
# The following items will not be processed, by default. Create a custom list
|
data/_includes/about/en.md
CHANGED
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
This is the demo page of `jekyll-theme-panda`
|
2
|
+
|
3
|
+
https://riino.site this the main website that is using this theme.
|
4
|
+
|
5
|
+
For more information, source code, installation, please visit https://github.com/sorphwer/jekyll-theme-panda
|
6
|
+
|
7
|
+
You can modify the content of demo page freely.
|
data/_includes/head.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
<meta property="og:description"
|
21
21
|
content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
|
22
22
|
{% endcase %}
|
23
|
-
<meta property="og:image" content="{{ site.url }}{{ site.
|
23
|
+
<meta property="og:image" content="{{ site.url }}{{ site.banner_img }}">
|
24
24
|
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
25
25
|
<meta property="og:site_name" content="{{ site.SEOTitle }}">
|
26
26
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
@@ -56,7 +56,7 @@
|
|
56
56
|
<script async
|
57
57
|
type="text/javascript"
|
58
58
|
src='{{ "/assets/js/mermaid.min.js" | prepend: site.baseurl }}'
|
59
|
-
onload="mermaid.init(undefined, $('.language-mermaid'));console.log('mermaid.js is loaded')"></script>
|
59
|
+
onload="setTimeout(mermaid.init(undefined, $('.language-mermaid')),1500);console.log('mermaid.js is loaded')"></script>
|
60
60
|
<!-- <script type="text/javascript" src='{{ "/assets/js/skrollr-0.6.3.js" | prepend: site.baseurl }}'></script> -->
|
61
61
|
<!-- slick plugin -->
|
62
62
|
<script defer type="text/javascript" src='{{ "/assets/js/slick.min.js" | prepend: site.baseurl }}'></script>
|
data/_includes/header.html
CHANGED
@@ -25,6 +25,7 @@
|
|
25
25
|
{% assign current = 'is-current is-active' %}
|
26
26
|
{% endif %}
|
27
27
|
|
28
|
+
|
28
29
|
<li class=" {{ current }} ">
|
29
30
|
<a href="{{ link.url }}">{{ link.text }}</a>
|
30
31
|
</li>
|
@@ -157,4 +158,5 @@
|
|
157
158
|
|
158
159
|
console.log('[↓]BEGIN');
|
159
160
|
console.log("🐼This site is using jekyll-theme-panda ", "{{site.theme_version}}");
|
161
|
+
|
160
162
|
</script>
|
data/_layouts/about.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: About
|
4
|
+
---
|
5
|
+
<style>
|
6
|
+
img{
|
7
|
+
display: inline-block;
|
8
|
+
|
9
|
+
}
|
10
|
+
p img{
|
11
|
+
width: inherit !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
</style>
|
15
|
+
<section style="height: 100px;"></section>
|
16
|
+
<div class="en post-container" id="markdown-content">
|
17
|
+
{% capture about_en %}{% include about/en.md %}{% endcapture %}
|
18
|
+
{{ about_en | markdownify }}
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<!-- <section style="height: 50px;"> -->
|
data/_layouts/album.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -72,7 +72,7 @@ layout: default
|
|
72
72
|
<!-- custom banner -->
|
73
73
|
{% if page.banner-title%}
|
74
74
|
<div class="d-flex banner">
|
75
|
-
<img src="
|
75
|
+
<img src="assets/img/banner.gif" class="black-white-image p-2 flex-fill bd-highlight banner-image">
|
76
76
|
<div class="p-2 flex-fill bd-highlight ">
|
77
77
|
<h1 class="banner-text">{{page.banner-title}}</h1>
|
78
78
|
<p class="banner-text">{{page.banner-subtitle}}</p>
|
@@ -88,7 +88,7 @@ layout: default
|
|
88
88
|
{% if curr_date>1 %}
|
89
89
|
{% unless page.never-expired %}
|
90
90
|
<div class="d-flex banner">
|
91
|
-
<img src="
|
91
|
+
<img src="assets/img/banner.gif" class="warning-image p-2 flex-fill bd-highlight banner-image">
|
92
92
|
<div class="p-2 flex-fill bd-highlight ">
|
93
93
|
<h1 class="banner-text" style="color: #e83e8c !important;"><i class="fa fa-exclamation-triangle"
|
94
94
|
style="color: #e83e8c !important;font-size: 2.5rem;" aria-hidden="true"></i> Expired</h1>
|
@@ -102,7 +102,7 @@ layout: default
|
|
102
102
|
<!-- WIP banner -->
|
103
103
|
{%if page.status == "WIP"%}
|
104
104
|
<div class="d-flex banner">
|
105
|
-
<img src="
|
105
|
+
<img src="assets/img/banner.gif" class="black-white-image p-2 flex-fill bd-highlight banner-image">
|
106
106
|
<div class="p-2 flex-fill bd-highlight ">
|
107
107
|
<h1 class="banner-text">Work in progress</h1>
|
108
108
|
<p class="banner-text"><i class="fa fa-spinner" aria-hidden="true"></i>This post will be updated
|
data/_sass/common.scss
CHANGED
data/assets/js/album.js
ADDED
data/assets/js/script.js
CHANGED
@@ -17,9 +17,8 @@ function pageTransition() {
|
|
17
17
|
$('a:not([href^="#"]):not([href^="javascript:void(0);"]):not([target]):not(.js-no-transition)').on('click', function(e){
|
18
18
|
// $('html, body').stop().animate({ scrollTop: 0 }, 400, 'easeInOutSine');
|
19
19
|
e.preventDefault();
|
20
|
-
url = $(this).attr('href');
|
20
|
+
url = $(this).attr('href');
|
21
21
|
if (url !== '') {
|
22
|
-
//$('main,footer,.menu').addClass('js-fadeOut');
|
23
22
|
$('main,.menu').addClass('js-fadeOut');
|
24
23
|
setTimeout(function(){
|
25
24
|
window.location = url;
|
data/assets/js/typora2jekyll.js
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
$(function() {
|
2
2
|
$("#markdown-content img").each(function(){
|
3
|
-
$(this).attr("src"
|
3
|
+
if($(this).attr("src").startsWith("..")){
|
4
|
+
$(this).attr("src", $(this).attr('src').slice(2));
|
5
|
+
};
|
6
|
+
if($(this).attr("src").startsWith("/")){
|
7
|
+
$(this).attr("src", $(this).attr('src').slice(1));
|
8
|
+
}
|
4
9
|
});
|
5
10
|
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-panda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- riino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- _includes/policy/zh.md
|
58
58
|
- _includes/search.html
|
59
59
|
- _includes/toc.html
|
60
|
+
- _layouts/about.html
|
60
61
|
- _layouts/album.html
|
61
62
|
- _layouts/albumlist.html
|
62
63
|
- _layouts/blank.html
|
@@ -97,6 +98,7 @@ files:
|
|
97
98
|
- assets/img/banner.gif
|
98
99
|
- assets/img/logo_Nest.png
|
99
100
|
- assets/img/switcher.png
|
101
|
+
- assets/js/album.js
|
100
102
|
- assets/js/archive.min.js
|
101
103
|
- assets/js/imagesLoaded-3.1.8.js
|
102
104
|
- assets/js/imagesLoaded-4.1.4.js
|