jekyll-theme-panda 0.2.5 → 0.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c1b67b32284f7ea78800b6604711a9096dbae9f6ffd1b07d783443b8e41f61d
4
- data.tar.gz: ce3f07c3ac02bed548d7de1f96477bd1e022e2175ed1027a391515358588aba0
3
+ metadata.gz: 3de81689c19fd28338533a42bba68a1239e968b69c193dfd0c7e2ccdd406c7fa
4
+ data.tar.gz: 8ceeb4ffd77fc62baa321edadfed941a66762dae6c98043d430c9855c2c50f09
5
5
  SHA512:
6
- metadata.gz: edf02c9389f5f2086a7ffdd8210732752250ddba1810804093f3afe90e027d5cc7389fae0b4a2a69afc75cb6a56c31802c88918b6f470bb423b8ad1d07998e4b
7
- data.tar.gz: 1861af9b83b470904ec538c9b51513b0856f84c230a7256cba64d2bd2cd7b8bf6cd87e034fdd42d01ebfd59477ec113b657bff2c65aaa4212227df69bfb7943c
6
+ metadata.gz: 071b778e868d1926e52308939311b4a3aa386146cc21676665ddb4f17ac1ed6f01cb428f5b6d9f1b64cecb0aef57b6f2f28dd6a26fd2e8154232b982a336a9a8
7
+ data.tar.gz: 3742c550c3cfc70cdd4b9903493cfb392584276771dd976ab8d29050dccb745ee751d803e7b22bd4556dc7cd96a65edb8f59b21ba1f4a6acc28fbc8606c22992
data/README.md CHANGED
@@ -8,10 +8,6 @@ Theme Showcase : [RiinoSite - Jeklyy-Theme-Panda](https://riino.site/jekyll-them
8
8
 
9
9
  DEMO: [RiinoSite Blog](https://riino.site/)
10
10
 
11
-
12
-
13
-
14
-
15
11
  [TOC]
16
12
 
17
13
  ## Installation
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.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: /index.html
41
+ url: index.html
42
42
  layout: home
43
43
  - text: Archive
44
- url: /archive
44
+ url: archive
45
45
  layout: forarchive
46
46
  - text: Albums
47
- url: /albums
47
+ url: albums
48
48
  layout: albumlist
49
49
  - text: Presets
50
- url: /presets
50
+ url: presets
51
51
  layout: presetlist
52
- # - text: Visios
53
- # url: ./visios
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
- - text: LOW ILLU.
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 &copy 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
@@ -1 +1,7 @@
1
- Post your profile here
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.sidebar-avatar }}">
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>
@@ -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>
@@ -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
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ <script src="{{ "/assets/js/album.js" | prepend: site.baseurl }}"></script>
4
5
  <body class="home blog lang-ja footer_mt">
5
6
  <section class="home-message js-fadein">
6
7
  <div class="home-message__ttl" id="whiteline">
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="{{ site.baseurl | append: "/assets/img/banner.gif"}}" class="black-white-image p-2 flex-fill bd-highlight banner-image">
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="/assets/img/banner.gif" class="warning-image p-2 flex-fill bd-highlight banner-image">
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="/assets/img/banner.gif" class="black-white-image p-2 flex-fill bd-highlight banner-image">
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
@@ -1,5 +1,5 @@
1
- @charset "UTF-8";
2
1
 
2
+ @charset "UTF-8";
3
3
  .u-beta {
4
4
  color: #11ffaa !important;
5
5
  }
@@ -0,0 +1,7 @@
1
+ $(function() {
2
+ $("img.album").each(function(){
3
+ if($(this).attr("src").startsWith("/")){
4
+ $(this).attr("src", $(this).attr('src').slice(1));
5
+ }
6
+ });
7
+ });
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'); // 遷移先のURLを取得
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;
@@ -1,5 +1,10 @@
1
1
  $(function() {
2
2
  $("#markdown-content img").each(function(){
3
- $(this).attr("src", $(this).attr('src').slice(2))
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.5
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-02-11 00:00:00.000000000 Z
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