jekyll-theme-louis 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 9c4595288142c5c07a0e76a1e6d242d7ba5742d3646c2816caf400facd87913b
4
- data.tar.gz: d20bd2236591ab4c9009bd93ded67c6daf6c6d4dc1ca288281f18dcbe9e0615e
3
+ metadata.gz: 9419e69d7f4075afb7eb4a7cf8fc4d7abbc90d6fa36c1b5887f0420d5faa631c
4
+ data.tar.gz: afd58531a377e32d76183f9746133d402edfad39e50f42a79968a5fad296d158
5
5
  SHA512:
6
- metadata.gz: 5b6dc012957368f7c4be556a8335c40c7db7fe8ad544946bbfe0898c9af747a5b66d6e6f4082691f9d205459f82d3d814861a3bcbaa079ee2d5ad613ade3ff3d
7
- data.tar.gz: 5cb501be0d428c06b9330d1852d7e662b84d366436e5be6df19c094e28008437eaafa75d712177dbf01d1cf08a1686960c4bab4c2a51dfae51626a07d792d661
6
+ metadata.gz: c7d9f7e245b2fa77647150da4596c9284bbcffc68ab42cc391918e666f7dfd758aaeac8734399a1468fd0c76a4f923c0a594f6f40c152bae6e87236d6b5bfc82
7
+ data.tar.gz: 42e7ba25196824a7d9d772cf48e27b3e33bd9e1e435be3e5662d853943cf85846b88e33b460ca7e02e7fb3c008d4b3505f8e254098ab0fe3c45df8cff1a56028
data/README.md CHANGED
@@ -1,12 +1,16 @@
1
- # Louis
1
+ ![Louis画像](https://github.com/shimewtr/louis/blob/master/assets/images/README_image.png?raw=true,"Louisロゴ")
2
2
 
3
- ![Louisロゴ](https://github.com/wawawatataru/louis/blob/master/assets/images/favicon/android-chrome-192x192.png?raw=true,"Louisロゴ")
3
+ # Louis
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/jekyll-theme-louis.svg)](https://badge.fury.io/rb/jekyll-theme-louis)
6
6
 
7
7
  Louis is a [Jekyll](https://github.com/jekyll/jekyll/) theme for Blog. It provides very simple blog theme for Jekyll sites that includes a profile, post and other pages.
8
8
 
9
- ![Louisイメージ](https://github.com/wawawatataru/louis/blob/master/assets/images/usage_image.png?raw=true,"Louisイメージ")
9
+ ## Example
10
+
11
+ ![Louis使用例](https://github.com/shimewtr/louis/blob/master/assets/images/usage_image.png?raw=true,"Louisイメージ")
12
+
13
+ The web page can be found [here](https://blog.shimewtr.me/).
10
14
 
11
15
  ## Usage
12
16
 
@@ -44,15 +48,15 @@ Please enter author information.
44
48
  ```yml
45
49
  author:
46
50
  name: [Author name]
47
- github: [Author github account (optinal)]
48
- twitter: [Author twitter account (optinal)]
49
- facebook: [Author facebook account (optinal)]
51
+ github: [Author github account (optional)]
52
+ twitter: [Author twitter account (optional)]
53
+ facebook: [Author facebook account (optional)]
50
54
  ```
51
55
 
52
56
  If you want to analyze with Google Analytics, add Google Analytics ID to config.yml.
53
57
 
54
58
  ```yml
55
- google_analytics_id: [google analytics id (optinal)]
59
+ google_analytics_id: [google analytics id (optional)]
56
60
  ```
57
61
 
58
62
  ## License
@@ -3,4 +3,4 @@
3
3
  <img class="amazon-associate__image" src="{{ include.image-url }}" >
4
4
  <p class="amazon-associate__title">{{ include.title }}</p>
5
5
  </a>
6
- </div>
6
+ </div>
@@ -8,6 +8,6 @@
8
8
  <p class="footer-profile__name">{{ site.author.name }}</p>
9
9
  </a>
10
10
  {% include social-link.html %}
11
- <p class="footer-credit">Powered by <a href="https://jekyllrb.com/" class="footer-credit__link" target="blank">Jekyll</a> / <a href="https://github.com/wawawatataru/louis" class="footer-credit__link" target="blank">Louis</a></p>
11
+ <p class="footer-credit">Powered by <a href="https://jekyllrb.com/" class="footer-credit__link" target="blank">Jekyll</a> / <a href="https://github.com/shimewtr/louis" class="footer-credit__link" target="blank">Louis</a></p>
12
12
  </div>
13
13
  </footer>
@@ -1,3 +1,7 @@
1
+ {% if site.google_site_verification %}
2
+ <meta name="google-site-verification" content="{{ site.google_site_verification }}" />
3
+ {% endif %}
4
+
1
5
  {% if site.google_analytics_id %}
2
6
  <!-- Global site tag (gtag.js) - Google Analytics -->
3
7
  <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics_id }}"></script>
@@ -13,7 +13,7 @@
13
13
  {% endif %}
14
14
 
15
15
  {% if page.ogp %}
16
- <meta name="twitter:image" content="{{ "assets/ogp/" | absolute_url }}{{page.ogp}}">
16
+ <meta name="twitter:image" content="{{ "assets/ogp/" | absolute_url }}{{page.ogp}}.png">
17
17
  {% else %}
18
18
  <meta name="twitter:image" content="{{ "assets/images/default_ogp.png" | absolute_url }}">
19
19
  {% endif %}
@@ -0,0 +1,8 @@
1
+ <div>
2
+ <a href="{{ include.url | relative_url }}" class="link-site">
3
+ <img src="{{ "assets/ogp/" | absolute_url }}{{include.ogp}}.png" alt="{{include.title}}" class="link-site__image">
4
+ <div class="link-site__text-box">
5
+ <p class="link-site__title">{{include.title}}</p>
6
+ </div>
7
+ </a>
8
+ </div>
@@ -0,0 +1,8 @@
1
+ <div>
2
+ <a href="{{ include.url }}" class="link-site" target="blank">
3
+ <img src="{{ "assets/ogp/" | absolute_url }}{{include.ogp}}.png" alt="{{include.title}}" class="link-site__image">
4
+ <div class="link-site__text-box">
5
+ <p class="link-site__title">{{include.title}}</p>
6
+ </div>
7
+ </a>
8
+ </div>
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
  <ul class="posts">
5
- <p class="posts-title">Tag: {{page.title}}</p>
5
+ <p class="tag-name">Tag: {{page.title}}</p>
6
6
  {% for post in page.posts %}
7
7
  <div class="posts-content">
8
8
  <a href="{{ post.url | relative_url }}">
@@ -4,6 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <title>{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
7
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="/feed.xml" />
7
8
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
8
9
  <link rel="stylesheet" href="//stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
9
10
  <link rel="stylesheet" href="{{ '/assets/css/common.css' | relative_url }}">
@@ -13,7 +14,7 @@
13
14
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
14
15
  {% include head/twitter-ogp.html %}
15
16
  {% include head/favicon.html %}
16
- {% include head/google_analytics.html %}
17
+ {% include head/google_meta.html %}
17
18
  </head>
18
19
 
19
20
  <body>
@@ -0,0 +1,34 @@
1
+ .link-site {
2
+ display: flex;
3
+ overflow: hidden;
4
+ flex-direction: column;
5
+ margin-bottom: 2rem;
6
+ width: 40%;
7
+ height: auto;
8
+ border: 1px solid $color-border;
9
+ border-radius: 0.5rem;
10
+ text-decoration: none;
11
+ @media screen and (max-width: 479px) {
12
+ width: 100%;
13
+ }
14
+ &:hover{
15
+ opacity: 0.6;
16
+ }
17
+ &__image {
18
+ margin-bottom: 0 !important;
19
+ width: 100%;
20
+ }
21
+ &__text-box {
22
+ display: flex;
23
+ align-items: center;
24
+ flex-wrap: wrap;
25
+ justify-content: center;
26
+ box-sizing: border-box;
27
+ padding: 0.5rem;
28
+ }
29
+ &__title{
30
+ margin-bottom: 0 !important;
31
+ text-decoration: none;
32
+ line-height: 1.25rem;
33
+ }
34
+ }
@@ -20,6 +20,10 @@
20
20
  margin-bottom: 1rem;
21
21
  width: 100%;
22
22
  font-size: 2.125rem;
23
+ @media screen and (max-width: 479px) {
24
+ font-size: 1.75rem;
25
+ line-height: 2.125rem;
26
+ }
23
27
  }
24
28
 
25
29
  &__date {
@@ -28,7 +32,7 @@
28
32
  color: $color-font-sub;
29
33
  font-size: 1rem;
30
34
  @media screen and (max-width: 479px) {
31
- margin-bottom: .25rem !important;
35
+ margin-bottom: .75rem !important;
32
36
  width: 100%;
33
37
  font-size: 0.875rem;
34
38
  }
@@ -133,28 +137,49 @@
133
137
  h1 {
134
138
  font-size: 1.75rem;
135
139
  @media screen and (max-width: 479px) {
136
- font-size: 1.375rem;
140
+ font-size: 1.625rem;
141
+ line-height: 1.75rem;
137
142
  }
138
143
  }
139
144
 
140
145
  h2 {
141
146
  font-size: 1.675rem;
147
+ @media screen and (max-width: 479px) {
148
+ font-size: 1.5rem;
149
+ line-height: 1.75rem;
150
+ }
142
151
  }
143
152
 
144
153
  h3 {
145
154
  font-size: 1.5rem;
155
+ @media screen and (max-width: 479px) {
156
+ font-size: 1.375rem;
157
+ line-height: 1.675rem;
158
+ }
146
159
  }
147
160
 
148
161
  h4 {
149
162
  font-size: 1.375rem;
163
+ @media screen and (max-width: 479px) {
164
+ font-size: 1.25rem;
165
+ line-height: 1.5rem;
166
+ }
150
167
  }
151
168
 
152
169
  h5 {
153
170
  font-size: 1.25rem;
171
+ @media screen and (max-width: 479px) {
172
+ font-size: 1.125rem;
173
+ line-height: 1.375rem;
174
+ }
154
175
  }
155
176
 
156
177
  h6 {
157
178
  font-size: 1.125rem;
179
+ @media screen and (max-width: 479px) {
180
+ font-size: 1rem;
181
+ line-height: 1.5rem;
182
+ }
158
183
  }
159
184
 
160
185
  h1 {
@@ -181,7 +206,6 @@
181
206
  >ul,
182
207
  >ol,
183
208
  img,
184
- pre,
185
209
  p,
186
210
  table,
187
211
  blockquote {
@@ -236,7 +260,7 @@
236
260
  }
237
261
 
238
262
  .highlighter-rouge {
239
- padding: 0 0.25rem;
263
+ margin-bottom: 1rem;
240
264
  border: 1px solid $color-border;
241
265
  border-radius: 0.25rem;
242
266
  background-color: rgba($color-border, 0.25);
@@ -1,5 +1,7 @@
1
1
  .highlight pre {
2
+ overflow: scroll;
2
3
  background-color: #272822;
4
+
3
5
  }
4
6
  .highlight .hll {
5
7
  background-color: #272822;
@@ -8,8 +10,8 @@
8
10
  color: #75715e;
9
11
  } /* Comment */
10
12
  .highlight .err {
11
- color: #960050;
12
13
  background-color: #1e0010;
14
+ color: #960050;
13
15
  } /* Error */
14
16
  .highlight .k {
15
17
  color: #66d9ef;
@@ -0,0 +1,3 @@
1
+ .tag-name{
2
+ margin-bottom: 1rem;
3
+ }
@@ -1,5 +1,5 @@
1
1
  $color-font-main: #212121;
2
- $color-font-sub: #616161;
2
+ $color-font-sub: #414141;
3
3
 
4
4
  $color-shadow: rgba(#333, 0.3);
5
5
 
@@ -7,6 +7,7 @@
7
7
  @import "block/amazon-associate";
8
8
  @import "block/footer";
9
9
  @import "block/header";
10
+ @import "block/link-site";
10
11
  @import "block/not-found";
11
12
  @import "block/post";
12
13
  @import "block/post-pager";
@@ -18,3 +19,4 @@
18
19
  @import "block/sns-container";
19
20
  @import "block/social-link";
20
21
  @import "block/tag-cloud";
22
+ @import "block/tag-name";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-louis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShimeWataru
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-28 00:00:00.000000000 Z
11
+ date: 2020-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +96,7 @@ dependencies:
82
96
  version: '12.0'
83
97
  description:
84
98
  email:
85
- - wawawatataru@gmail.com
99
+ - shimewtr@shimewtr.me
86
100
  executables: []
87
101
  extensions: []
88
102
  extra_rdoc_files: []
@@ -92,9 +106,11 @@ files:
92
106
  - _includes/amazon-associate.html
93
107
  - _includes/footer.html
94
108
  - _includes/head/favicon.html
95
- - _includes/head/google_analytics.html
109
+ - _includes/head/google_meta.html
96
110
  - _includes/head/twitter-ogp.html
97
111
  - _includes/header.html
112
+ - _includes/link-to-my-site.html
113
+ - _includes/link-to-other-site.html
98
114
  - _includes/post-pager.html
99
115
  - _includes/posts-pager.html
100
116
  - _includes/posts.html
@@ -112,6 +128,7 @@ files:
112
128
  - _sass/block/amazon-associate.scss
113
129
  - _sass/block/footer.scss
114
130
  - _sass/block/header.scss
131
+ - _sass/block/link-site.scss
115
132
  - _sass/block/not-found.scss
116
133
  - _sass/block/post-pager.scss
117
134
  - _sass/block/post.scss
@@ -123,6 +140,7 @@ files:
123
140
  - _sass/block/sns-container.scss
124
141
  - _sass/block/social-link.scss
125
142
  - _sass/block/tag-cloud.scss
143
+ - _sass/block/tag-name.scss
126
144
  - _sass/color.scss
127
145
  - _sass/import.scss
128
146
  - _sass/mixin/container.scss
@@ -130,6 +148,7 @@ files:
130
148
  - _sass/reset.scss
131
149
  - _sass/variable.scss
132
150
  - assets/css/common.scss
151
+ - assets/images/README_image.png
133
152
  - assets/images/default_ogp.png
134
153
  - assets/images/dummy_1200_400.png
135
154
  - assets/images/dummy_400_400.png
@@ -146,7 +165,7 @@ files:
146
165
  - assets/images/profile_icon.png
147
166
  - assets/images/usage_image.png
148
167
  - assets/ogp/ogp.png
149
- homepage: https://github.com/wawawatataru/louis
168
+ homepage: https://github.com/shimewtr/louis
150
169
  licenses:
151
170
  - MIT
152
171
  metadata: {}