jekyll-theme-panda 0.2.3 → 0.2.5
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/README.md +6 -4
- data/_config.yml +10 -5
- data/_includes/footer.html +5 -2
- data/_includes/head.html +4 -2
- data/_includes/header.html +2 -2
- data/_includes/search.html +3 -2
- data/_layouts/post.html +9 -26
- data/assets/js/typora2jekyll.js +5 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c1b67b32284f7ea78800b6604711a9096dbae9f6ffd1b07d783443b8e41f61d
|
|
4
|
+
data.tar.gz: ce3f07c3ac02bed548d7de1f96477bd1e022e2175ed1027a391515358588aba0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edf02c9389f5f2086a7ffdd8210732752250ddba1810804093f3afe90e027d5cc7389fae0b4a2a69afc75cb6a56c31802c88918b6f470bb423b8ad1d07998e4b
|
|
7
|
+
data.tar.gz: 1861af9b83b470904ec538c9b51513b0856f84c230a7256cba64d2bd2cd7b8bf6cd87e034fdd42d01ebfd59477ec113b657bff2c65aaa4212227df69bfb7943c
|
data/README.md
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
# jekyll-theme-panda
|
|
2
2
|
|
|
3
|
-
[](https://sonarcloud.io/summary/new_code?id=sorphwer_jekyll-theme-panda)
|
|
4
|
+
|
|
5
|
+
[](https://badge.fury.io/rb/jekyll-theme-panda)  [](https://sonarcloud.io/summary/new_code?id=sorphwer_jekyll-theme-panda)
|
|
4
6
|
|
|
5
7
|
Theme Showcase : [RiinoSite - Jeklyy-Theme-Panda](https://riino.site/jekyll-theme-panda/)
|
|
6
8
|
|
|
7
|
-
DEMO
|
|
9
|
+
DEMO: [RiinoSite Blog](https://riino.site/)
|
|
10
|
+
|
|
8
11
|
|
|
9
|
-
DEMO 2: [low illuminance](https://li.riino.site/)
|
|
10
12
|
|
|
11
13
|
|
|
12
|
-
**! Notes: Currently the mathjax.js might be unavailable in your blog, please use it locally or change CDN url in your own projects. We will fix this in next version.**
|
|
13
14
|
|
|
14
15
|
[TOC]
|
|
15
16
|
|
|
@@ -80,6 +81,7 @@ banner-title: THEME DOC #optional
|
|
|
80
81
|
banner-subtitle: Readme.md #optional, must be with banner-title
|
|
81
82
|
never-expired: false #default fause, if ture , expired banner will not display
|
|
82
83
|
# toc options: inline, true, false
|
|
84
|
+
render_with_liquid: true #default: true, set as false to disable liquid
|
|
83
85
|
---
|
|
84
86
|
```
|
|
85
87
|
|
data/_config.yml
CHANGED
|
@@ -4,10 +4,10 @@ title: jekyll-theme-panda
|
|
|
4
4
|
author: riino
|
|
5
5
|
email: riino@gmail.com
|
|
6
6
|
SEOTitle: jekyll-theme-panda demo
|
|
7
|
-
baseurl: "" # the subpath of your site, e.g. /blog
|
|
7
|
+
baseurl: "/jekyll-theme-panda" # the subpath of your site, e.g. /blog
|
|
8
8
|
url: "https://riino.site" # the base hostname & protocol for your site, e.g. http://example.com
|
|
9
|
-
twitter_username:
|
|
10
|
-
github_username:
|
|
9
|
+
twitter_username: sorphwer
|
|
10
|
+
github_username: sorphwer
|
|
11
11
|
github_url: https://github.com/sorphwer
|
|
12
12
|
repo_url: https://github.com/sorphwer/jekyll-theme-panda
|
|
13
13
|
theme_version: 0.2.2
|
|
@@ -26,6 +26,7 @@ plugins:
|
|
|
26
26
|
- jekyll-feed
|
|
27
27
|
- jekyll-paginate
|
|
28
28
|
- jemoji
|
|
29
|
+
- jekyll-seo-tag
|
|
29
30
|
paginate: 10
|
|
30
31
|
|
|
31
32
|
toc:
|
|
@@ -55,9 +56,9 @@ navigation:
|
|
|
55
56
|
|
|
56
57
|
dropdown_header: Theme #will only exist if dropdown array below has item(s)
|
|
57
58
|
dropdown:
|
|
58
|
-
- text:
|
|
59
|
+
- text: BLOG
|
|
59
60
|
url: https://riino.site
|
|
60
|
-
- text:
|
|
61
|
+
- text: LOW ILLU.
|
|
61
62
|
url: https://li.riino.site
|
|
62
63
|
|
|
63
64
|
footer_text:
|
|
@@ -65,6 +66,8 @@ footer_text:
|
|
|
65
66
|
- Image and animte assets © by <a href="https://li.riino.site"><i>Low illuminance</i></a>
|
|
66
67
|
- All Rights Reserved.
|
|
67
68
|
|
|
69
|
+
footer_html: <a href="{{ site.baseurl }}/feed.xml">RSS Subscribe |</a><span></span><a href="{{ site.baseurl }}/policy/">Policy</a>
|
|
70
|
+
|
|
68
71
|
hoster_logo: /assets/img/logo_Nest.png
|
|
69
72
|
hoster_logo_link: https://github.com/sorphwer
|
|
70
73
|
hoster_logo_alt: Github
|
|
@@ -72,6 +75,8 @@ hoster_text:
|
|
|
72
75
|
- Nest of Etamine - 10th Anniversary
|
|
73
76
|
- 2012-2022
|
|
74
77
|
|
|
78
|
+
optional_footer_html_code:
|
|
79
|
+
|
|
75
80
|
# Exclude from processing.
|
|
76
81
|
# The following items will not be processed, by default. Create a custom list
|
|
77
82
|
# to override the default setting.
|
data/_includes/footer.html
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<footer class="js-fadein">
|
|
2
2
|
<div class="footer__link">
|
|
3
3
|
<p>
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
{{ site.footer_html }}
|
|
6
|
+
|
|
7
|
+
</p>
|
|
6
8
|
</div>
|
|
7
9
|
<!-- .footer__link -->
|
|
8
10
|
<div class="footer__copy">
|
|
@@ -21,6 +23,7 @@
|
|
|
21
23
|
<small>{{item}}</small>
|
|
22
24
|
{% endfor %}
|
|
23
25
|
{% endif %}
|
|
26
|
+
<!-- {% include search.html %} -->
|
|
24
27
|
</div>
|
|
25
28
|
<!-- .footer__copy -->
|
|
26
29
|
</footer>
|
data/_includes/head.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<head>
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
<meta property="og:title"
|
|
4
4
|
content="{% if page.title %}{{ page.title }} - {{ site.SEOTitle }}{% else %}{{ site.SEOTitle }}{% endif %}">
|
|
5
5
|
{% case page.layout %}
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
27
27
|
<title>{% if page.title %}{{ page.title }} - {{ site.SEOTitle }}{% else %}{{ site.SEOTitle }}{% endif %}</title>
|
|
28
28
|
|
|
29
|
+
<!-- favicon -->
|
|
30
|
+
<link rel="shortcut icon" type="image/png" href="{{ site.baseurl | append: "/favicon.ico"}}">
|
|
29
31
|
<!-- preload -->
|
|
30
32
|
|
|
31
33
|
<!--CSS inside-->
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
<script async
|
|
55
57
|
type="text/javascript"
|
|
56
58
|
src='{{ "/assets/js/mermaid.min.js" | prepend: site.baseurl }}'
|
|
57
|
-
onload="mermaid.init(undefined, $('.language-mermaid'));"></script>
|
|
59
|
+
onload="mermaid.init(undefined, $('.language-mermaid'));console.log('mermaid.js is loaded')"></script>
|
|
58
60
|
<!-- <script type="text/javascript" src='{{ "/assets/js/skrollr-0.6.3.js" | prepend: site.baseurl }}'></script> -->
|
|
59
61
|
<!-- slick plugin -->
|
|
60
62
|
<script defer type="text/javascript" src='{{ "/assets/js/slick.min.js" | prepend: site.baseurl }}'></script>
|
data/_includes/header.html
CHANGED
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
</nav><!-- .header__sns -->
|
|
61
61
|
<div class="header__logo sp">
|
|
62
62
|
<a href="../">
|
|
63
|
-
<p class="header__logoTxt black-white-image"><img src="{{ site.
|
|
63
|
+
<p class="header__logoTxt black-white-image"><img src="{{ site.baseurl }}/assets/img/logo_Nest.png"
|
|
64
64
|
alt="Riino BLOG"></p>
|
|
65
65
|
</a>
|
|
66
66
|
</div><!-- .header__logo -->
|
|
67
67
|
|
|
68
68
|
<div class="header__logo sp" style="margin-left: 20px;" onclick="modeSwitcher()">
|
|
69
69
|
<a href="javascript:void(0);">
|
|
70
|
-
<p class="header__logoTxt black-white-image"><img src="{{ site.
|
|
70
|
+
<p class="header__logoTxt black-white-image"><img src="{{ site.baseurl }}/assets/img/switcher.png"
|
|
71
71
|
alt="Riino BLOG"></p>
|
|
72
72
|
</a>
|
|
73
73
|
</div><!-- .swithcer__logo -->
|
data/_includes/search.html
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
href="https://riino.site/jekyll-search-bar/search/css/search.css">
|
|
5
5
|
<script defer type="text/javascript" src='https://riino.site/jekyll-search-bar/search/js/typeahead.bundle.js'></script>
|
|
6
6
|
<script defer type="text/javascript" src='https://riino.site/jekyll-search-bar/search/js/fuzzyset.js'></script>
|
|
7
|
-
<script
|
|
7
|
+
<script sync
|
|
8
|
+
type="text/javascript"
|
|
8
9
|
src='https://riino.site/jekyll-search-bar/search/js/search.js'
|
|
9
|
-
onload="document.write(searchBarHtml('https://riino.site'));"></script>
|
|
10
|
+
onload="document.write(searchBarHtml('https://riino.site'));setSearchJsonBaseURL('{{site.baseurl}}')"></script>
|
data/_layouts/post.html
CHANGED
|
@@ -2,13 +2,9 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
{%if page.mathjax != false %}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<link rel="stylesheet" href="{{ "assets/css/prism.css" | prepend: site.baseurl }}">
|
|
10
|
-
<script src="{{ "assets/js/prism.js" | prepend: site.baseurl }}"></script>
|
|
11
|
-
<script type="text/javascript" id="MathJax-script" async src="{{ "assets/js/tex-chtml-full.min.js" | prepend: site.baseurl }}"></script>
|
|
5
|
+
<link rel="stylesheet" href="{{ "/assets/css/prism.css" | prepend: site.baseurl }}">
|
|
6
|
+
<script src="{{ "/assets/js/prism.js" | prepend: site.baseurl }}"></script>
|
|
7
|
+
<script type="text/javascript" id="MathJax-script" async src="{{ "/assets/js/tex-chtml-full.min.js" | prepend: site.baseurl }}"></script>
|
|
12
8
|
<script>MathJax = {
|
|
13
9
|
tex: {
|
|
14
10
|
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
|
@@ -17,25 +13,12 @@ layout: default
|
|
|
17
13
|
fontCache: 'global'
|
|
18
14
|
}
|
|
19
15
|
};</script>
|
|
20
|
-
|
|
21
|
-
MathJax.Hub.Config({
|
|
22
|
-
tex2jax: {
|
|
23
|
-
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
|
|
24
|
-
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
</script> -->
|
|
28
|
-
{%endif%}
|
|
29
|
-
<!-- {%if page.mathjax != false %}
|
|
30
|
-
<script
|
|
31
|
-
type="text/javascript"
|
|
32
|
-
async
|
|
33
|
-
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
|
|
34
|
-
onload="MathJax.Hub.Config({tex2jax: {skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],inlineMath: [['$','$']]}});"
|
|
35
|
-
</script>
|
|
36
|
-
{%endif%} -->
|
|
37
|
-
|
|
16
|
+
{%endif%}
|
|
38
17
|
|
|
18
|
+
{% if page.auto-convert-img %}
|
|
19
|
+
<script src="{{ "/assets/js/typora2jekyll.js" | prepend: site.baseurl }}"></script>
|
|
20
|
+
{% endif %}
|
|
21
|
+
<!-- <script src="{{ "/assets/js/typora2jekyll.js" | prepend: site.baseurl }}"></script> -->
|
|
39
22
|
<section id="front-wedge" style="height: 0px;"></section>
|
|
40
23
|
{% if page.toc != false %}
|
|
41
24
|
<div class="sidebar_catelog sticky-top"></div>
|
|
@@ -89,7 +72,7 @@ layout: default
|
|
|
89
72
|
<!-- custom banner -->
|
|
90
73
|
{% if page.banner-title%}
|
|
91
74
|
<div class="d-flex banner">
|
|
92
|
-
<img src="/assets/img/banner.gif" class="black-white-image p-2 flex-fill bd-highlight banner-image">
|
|
75
|
+
<img src="{{ site.baseurl | append: "/assets/img/banner.gif"}}" class="black-white-image p-2 flex-fill bd-highlight banner-image">
|
|
93
76
|
<div class="p-2 flex-fill bd-highlight ">
|
|
94
77
|
<h1 class="banner-text">{{page.banner-title}}</h1>
|
|
95
78
|
<p class="banner-text">{{page.banner-subtitle}}</p>
|
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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- riino
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -110,7 +110,8 @@ files:
|
|
|
110
110
|
- assets/js/script.js
|
|
111
111
|
- assets/js/slick.min.js
|
|
112
112
|
- assets/js/tex-chtml-full.min.js
|
|
113
|
-
|
|
113
|
+
- assets/js/typora2jekyll.js
|
|
114
|
+
homepage: https://riino.site/jekyll-theme-panda/
|
|
114
115
|
licenses:
|
|
115
116
|
- MIT
|
|
116
117
|
metadata: {}
|