cosy-jekyll-theme 1.0.8 → 1.1.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
  SHA1:
3
- metadata.gz: 562ce56bf1aae2f7829ae41a76f01e4ec6db0645
4
- data.tar.gz: 03b4bc064b545f202903bf339f7306ebddc45d2d
3
+ metadata.gz: 37c332077f9718e1e70610a62c60c33665f4c4a3
4
+ data.tar.gz: e836c69baf4ad48ed501deecd444ea0893170db5
5
5
  SHA512:
6
- metadata.gz: 9635ea4b278d7115cd3f5401cbac6fad2cbe190d04dcb7406492e5c7cf75c2ade9f74b146c321a4e0b492c3038f1a462c32b3d2b7f216da4b935817594614143
7
- data.tar.gz: 9de36b641360253ba894995f5979bcf99ae745ed0d6f886f996652d19cf44f918c4cb7750d480a9abfd349269535ab168b09e9a40ecebdce2b1a24d84ea56c22
6
+ metadata.gz: 3dd834f60ce5db53397a209dc211b9b2744eb295414b14bf6c6bb9a924ef168f8abe93f9b083515bc0fe43e627f984d24e4ed686578b4495b9ff724de721add2
7
+ data.tar.gz: dd7745a18a0891e70bb1fe75c7628d9e1cd96b06fc55fd8931cec4122a0a72e9efa9875a815bb30f8978ee1432cb2e107bb40a7a6ff4bda016a170bf8d417f1a
data/README.md CHANGED
@@ -12,10 +12,10 @@
12
12
  - **Responsive templates for post, page**,Looks great on mobile, tablet, and desktop devices.
13
13
  - **Loading resources selectively on different platforms.**
14
14
  - **Support Lazyload.**
15
- - **Minimize HTML、CSS and JavaScript.**
15
+ - Compress JavaScript and CSS.
16
16
  - By using SVG and Canvas Makes this blog more geeks.
17
17
  - When running in PC,It will show a QRcode that you can read on mobile.
18
- - when the picture in articles is **too complicated to see it clearly,you can zoom it in full-screen.** .
18
+ - When the picture in articles is **too complicated to see it clearly,you can zoom it in full-screen.** .
19
19
  - **More suitable for China**:
20
20
  - Dropping Google webfont, using proxy webfont.
21
21
  - Delay loading of resources that are not immediately required.
@@ -0,0 +1,5 @@
1
+ {% if page.comments != false and site.disqus_shortname %}
2
+ <section id="disqus_thread">Disqus is climbing the Great Fire Wall of China, Maybe She needs <a href="https://sodatea.github.io/2015/12/23/all-i-know-about-the-wall/" target="_blank" class="need_dotted">a ladder.</a>&nbsp;&nbsp; 🤦🏼‍️ 🤷🏼‍️
3
+ </section>
4
+ {% endif %}
5
+
@@ -1,11 +1,10 @@
1
1
  <div class="footer-wrapper">
2
2
  <footer role="contentinfo">
3
- <a href="https://github.com/tw93/tw93.github.io" rel="nofollow" target="_blank">&copy; {{ site.time | date: '%Y' }}
4
- cosy-jekyll-theme By Tw93.</a>
3
+ &copy; {{ site.time | date: '%Y' }} Using <a href="https://github.com/tw93/tw93.github.io" rel="nofollow" target="_blank" class="need_dotted">cosy-jekyll-theme</a> by Tw93.
5
4
  </footer>
6
5
  </div>
7
6
 
8
- <script type="text/javascript" src="{{ site.url }}/js/index.js"></script>
7
+ <script type="text/javascript" src="{{ site.url }}/js/index.min.js"></script>
9
8
 
10
9
  {% if site.google_analytics %}
11
10
  <script type="text/javascript">
data/_layouts/home.html CHANGED
@@ -12,6 +12,5 @@
12
12
  </div>
13
13
 
14
14
  {% include footer.html %}
15
-
16
15
  </body>
17
16
  </html>
data/_layouts/page.html CHANGED
@@ -12,12 +12,7 @@
12
12
  <div class="entry-content">
13
13
  {{ content }}
14
14
  </div>
15
-
16
- {% if page.comments != false and site.disqus_shortname %}
17
- <section id="disqus_thread">Disqus is climbing the Great Fire Wall of China, Maybe She needs <a href="https://sodatea.github.io/2015/12/23/all-i-know-about-the-wall/" target="_blank" class="need_dotted">a ladder.</a>&nbsp;&nbsp; 🤦🏼‍️ 🤷🏼‍️
18
- </section>
19
- {% endif %}
20
-
15
+ {% include disqus.html %}
21
16
  </article>
22
17
  </div>
23
18
 
data/_layouts/post.html CHANGED
@@ -10,17 +10,6 @@
10
10
  <article class="hentry">
11
11
  <div class="entry-content">
12
12
 
13
- {% if page.image.feature %}
14
- <div class="entry-image-index">
15
- <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }}">
16
- {% if page.image.credit %}
17
- <div class="image-credit">Image source:
18
- <a target="_blank" href="{{ page.image.creditlink }}">{{page.image.credit }}</a>
19
- </div>
20
- {% endif %}
21
- </div>
22
- {% endif %}
23
-
24
13
  <h1 class="post-title entry-title">{{ page.title }}</h1>
25
14
 
26
15
  <h4 class="page-info">
@@ -37,12 +26,7 @@
37
26
 
38
27
  </div>
39
28
 
40
- {% if page.comments != false and site.disqus_shortname %}
41
- <section id="disqus_thread">
42
- Disqus is climbing the Great Fire Wall of China, Maybe She needs <a
43
- href="https://sodatea.github.io/2015/12/23/all-i-know-about-the-wall/" target="_blank" class="need_dotted">a ladder.</a>&nbsp;&nbsp; 🤦🏼‍️ 🤷🏼‍️
44
- </section>
45
- {% endif %}
29
+ {% include disqus.html %}
46
30
 
47
31
  {% include read-more.html %}
48
32
 
data/_sass/_page.scss CHANGED
@@ -118,32 +118,6 @@ body {
118
118
  }
119
119
  }
120
120
 
121
- // Feature Image Caption
122
- .image-credit {
123
- position: absolute;
124
- bottom: 0;
125
- right: 0;
126
- margin: 0 auto;
127
- max-width: 440px;
128
- padding: 10px 15px;
129
- background-color: rgba($base-color, 0.5);
130
- color: $white;
131
- @include font-rem(12);
132
- text-align: right;
133
- @include border-radius(3px, 0, 0, 3px);
134
- z-index: 10;
135
- @media #{$medium} {
136
- max-width: 760px;
137
- }
138
- @media #{$large} {
139
- max-width: 960px;
140
- }
141
- a {
142
- color: $white;
143
- text-decoration: none;
144
- }
145
- }
146
-
147
121
  // Single Post and Page
148
122
  // --------------------------------------------------
149
123
  .entry-meta {
@@ -368,20 +342,6 @@ body {
368
342
  }
369
343
  }
370
344
 
371
- .entry-image-index {
372
- margin: -25px -15px 10px -15px;
373
- position: relative;
374
- @media #{$medium} {
375
- margin: -30px -30px 15px -30px;
376
- }
377
- @media #{$large} {
378
- margin: -50px -80px 20px -80px;
379
- }
380
- img {
381
- @include border-radius(3px, 0, 0, 3px); // round image corners
382
- }
383
- }
384
-
385
345
  // Footer
386
346
  // --------------------------------------------------
387
347
  .footer-wrapper {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosy-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tw93
@@ -62,6 +62,7 @@ files:
62
62
  - License
63
63
  - README.md
64
64
  - _includes/buy-me-coffee.html
65
+ - _includes/disqus.html
65
66
  - _includes/feed-footer.html
66
67
  - _includes/footer.html
67
68
  - _includes/gallery
@@ -87,7 +88,7 @@ homepage: https://github.com/tw93/tw93.github.io
87
88
  licenses:
88
89
  - MIT
89
90
  metadata: {}
90
- post_install_message:
91
+ post_install_message: Thanks for installing! You can view the live demo on http://tw93.github.io
91
92
  rdoc_options: []
92
93
  require_paths:
93
94
  - lib