jekyll-whiteglass 1.10.2 → 1.11.1

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: ea9315f9d6dfd5b997a513a054652baf255e58dc9fbda7f34cc66cd230e8f57e
4
- data.tar.gz: 924c4ad6aab7fec4487d18a41e934906ac8937e3afda0d89283cf897487b4bec
3
+ metadata.gz: 296f985089fe871e0584839b9951c5d43b5ee3af0e792f7b97e5d5e8048f7919
4
+ data.tar.gz: 02c9e2a20665f87ceddd8c6c1123db7db8c2eb8fb8d8da1e774362e5c2162464
5
5
  SHA512:
6
- metadata.gz: d2e5baa8a9dff2da585ebdbf139b7dd4965632f12fdc911cca7191b45b33f290d1e37427c9380a4fa09ffdeb94774ed6b505cf2d5976f342170f481fb9f54b87
7
- data.tar.gz: 8b6238c036580cc96fbb481a044e4f54ddbd1c530e4b143947b3f93ae5a8454920f7e757645286f960caaf32cc579f2a1e08723254bcd5be0cb6b4d005f7f8d9
6
+ metadata.gz: 1f8a6435f655b315728fc84e99aa06fa035108202cf110d4c51b29c41e3de9f6a15d96af188205ba3562a9b232ebb9b3b56994b590a696b2be7c920f4e6771d2
7
+ data.tar.gz: 95502bdddf3ae3707d18a224dba015350d0ca56ec54d7b1a1ca4b0dbe6a983ef0dd10fb448f9db5671ccd00eb5c7cd4961bacd52e0b968684fff8323bacc4669
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # ChangeLog
2
2
 
3
+ ## 1.11.1 (2021-08-14)
4
+
5
+ - Don't break h1, h2, h3 for Korean
6
+
7
+ ## 1.11.0 (2021-07-21)
8
+
9
+ - Update for Google Analytics 4
10
+
11
+ ## 1.10.4 (2021-03-15)
12
+
13
+ - Add French translation (#42)
14
+
15
+ ## 1.10.3 (2021-01-03)
16
+
17
+ - Don't ship _config.yml (#40)
18
+ - Include i18n.yml only under _data for gem
19
+ - Add missing robots.txt
20
+
3
21
  ## 1.10.2 (2020-10-16)
4
22
 
5
23
  - Update Google Fonts to v2 API
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # whiteglass
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/jekyll-whiteglass.svg)](https://badge.fury.io/rb/jekyll-whiteglass)
4
- [![Build Status](https://travis-ci.org/yous/whiteglass.svg?branch=master)](https://travis-ci.org/yous/whiteglass)
4
+ [![CircleCI](https://circleci.com/gh/yous/whiteglass/tree/master.svg?style=shield)](https://circleci.com/gh/yous/whiteglass/tree/master)
5
5
 
6
6
  Minimal, responsive Jekyll theme for hackers.
7
7
 
@@ -37,12 +37,9 @@ gem install jekyll-whiteglass
37
37
 
38
38
  1. Go to [yous/whiteglass-template](https://github.com/yous/whiteglass-template).
39
39
  2. Click "Use this template" button, and then create a repository.
40
- 3. Generate a personal access token on <https://github.com/settings/tokens>,
41
- select `public_repo` or `repo` depending on your repository.
42
- 4. In the settings page of your repository, go to Secrets tab
43
- (`https://github.com/<user>/<repo>/settings/secrets`) and add a secret
44
- `JEKYLL_PAT` with the value of token you got from 3.
45
- 5. Push some content, then GitHub Actions will generate the site.
40
+ 3. Change the options defined in _config.yml. See [Configuration](https://github.com/yous/whiteglass-template#configuration)
41
+ section under whiteglass-template.
42
+ 4. Push some content, then GitHub Actions will generate the site.
46
43
 
47
44
  ## Manual Setup
48
45
 
@@ -351,6 +348,14 @@ To enable Google Analytics, add the following lines to your Jekyll site:
351
348
  google_analytics: UA-NNNNNNNN-N
352
349
  ```
353
350
 
351
+ For Google Analytics 4, add the following lines:
352
+
353
+ ``` yaml
354
+ google_analytics: G-NNNNNNNNNN
355
+ ```
356
+
357
+ Replace `N`s with your specific ID.
358
+
354
359
  ## Contributing
355
360
 
356
361
  Bug reports and pull requests are welcome on GitHub at
data/_data/i18n.yml CHANGED
@@ -52,3 +52,19 @@ ko:
52
52
  archive-category: "'%1' 카테고리 아카이브"
53
53
  archive-tag: "'%1' 태그 아카이브"
54
54
  comments: "댓글"
55
+ fr:
56
+ date:
57
+ format: "%-d %B %Y"
58
+ abbr_day_names: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]
59
+ abbr_month_names: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui",
60
+ "Jui", "Aou", "Sep", "Oct", "Nov", "Dec"]
61
+ day_names: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"]
62
+ month_names: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin",
63
+ "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"]
64
+ morelink: "Lire plus"
65
+ page-older: "Plus ancien"
66
+ page-newer: "Récent"
67
+ archive: "Archives"
68
+ archive-category: "Archives de la catégorie '%1'"
69
+ archive-tag: "Archives du tag '%1'"
70
+ comments: "Commentaires"
@@ -1,13 +1,25 @@
1
1
  {% if site.google_analytics %}
2
- <!-- Google Analytics -->
3
- <script>
4
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
2
+ {% assign prefix = site.google_analytics | slice: 0, 2 %}
3
+ {% if prefix == "G-" %}
4
+ <!-- Global site tag (gtag.js) - Google Analytics -->
5
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
6
+ <script>
7
+ window.dataLayer = window.dataLayer || [];
8
+ function gtag(){dataLayer.push(arguments);}
9
+ gtag('js', new Date());
8
10
 
9
- ga('create', '{{ site.google_analytics }}', 'auto');
10
- ga('send', 'pageview');
11
+ gtag('config', '{{ site.google_analytics }}');
12
+ </script>
13
+ {% else %}
14
+ <!-- Google Analytics -->
15
+ <script>
16
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
17
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
18
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
19
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
11
20
 
12
- </script>
21
+ ga('create', '{{ site.google_analytics }}', 'auto');
22
+ ga('send', 'pageview');
23
+ </script>
24
+ {% endif %}
13
25
  {% endif %}
@@ -94,6 +94,12 @@ h1, h2, h3, h4, h5, h6 {
94
94
  }
95
95
  }
96
96
 
97
+ h1, h2, h3 {
98
+ &:lang(ko) {
99
+ word-break: keep-all;
100
+ }
101
+ }
102
+
97
103
 
98
104
 
99
105
  /**
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-whiteglass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.2
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chayoung You
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-16 00:00:00.000000000 Z
11
+ date: 2021-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -104,9 +104,7 @@ files:
104
104
  - CHANGELOG.md
105
105
  - LICENSE.txt
106
106
  - README.md
107
- - _config.yml
108
107
  - _data/i18n.yml
109
- - _data/navigation.yml
110
108
  - _includes/category_links.html
111
109
  - _includes/custom_comments_provider.html
112
110
  - _includes/date.html
@@ -154,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
152
  - !ruby/object:Gem::Version
155
153
  version: '0'
156
154
  requirements: []
157
- rubygems_version: 3.1.4
155
+ rubygems_version: 3.2.22
158
156
  signing_key:
159
157
  specification_version: 4
160
158
  summary: Minimal, responsive Jekyll theme for hackers.
data/_config.yml DELETED
@@ -1,74 +0,0 @@
1
- # Welcome to Jekyll!
2
- #
3
- # This config file is meant for settings that affect your whole blog, values
4
- # which you are expected to set up once and rarely edit after that. If you find
5
- # yourself editing this file very often, consider using Jekyll's data files
6
- # feature for the data you need to update frequently.
7
- #
8
- # For technical reasons, this file is *NOT* reloaded automatically when you use
9
- # 'jekyll serve'. If you change this file, please restart the server process.
10
-
11
- # Site settings
12
- # These are used to personalize your new site. If you look in the HTML files,
13
- # you will see them accessed via {{ site.title }}, {{ site.author }}, and so on.
14
- # You can create any custom variable you would like, and they will be accessible
15
- # in the templates via {{ site.myvariable }}.
16
- title: whiteglass theme
17
- author: Yous
18
- description: Minimal, responsive Jekyll theme for hackers.
19
- baseurl: "/whiteglass" # the subpath of your site, e.g. /blog
20
- url: "https://yous.github.io" # the base hostname & protocol for your site, e.g. http://example.com
21
- lang: en
22
- timezone: UTC
23
- exclude:
24
- - Gemfile
25
- - Gemfile.lock
26
- - Rakefile
27
- - README.md
28
- - LICENSE.txt
29
- - CHANGELOG.md
30
- - jekyll-whiteglass.gemspec
31
- - screenshot.png
32
- - vendor
33
-
34
- # Social media
35
- twitter_username:
36
- twitter_image:
37
- facebook_app_id:
38
- facebook_image:
39
- google_analytics:
40
- comments: false
41
-
42
- # Plugins
43
- plugins:
44
- - jekyll-archives
45
- - jekyll-paginate
46
- - jekyll-sitemap
47
-
48
- # Build settings
49
- markdown: kramdown
50
- excerpt_separator: "<!-- more -->"
51
-
52
- # Outputting
53
- permalink: /:year/:month/:day/:title/
54
- paginate_path: /posts/:num/
55
- paginate: 5
56
-
57
- # Markdown settings
58
- kramdown:
59
- auto_ids: false
60
- enable_coderay: false
61
- entity_output: as_char
62
- footnote_nr: 1
63
- smart_quotes: lsquo,rsquo,ldquo,rdquo
64
- toc_levels: 1..6
65
-
66
- # jekyll-archives
67
- jekyll-archives:
68
- enabled:
69
- - categories
70
- - tags
71
- layout: category_archives
72
- permalinks:
73
- category: /categories/:name/
74
- tag: /tags/:name/
data/_data/navigation.yml DELETED
@@ -1,9 +0,0 @@
1
- # If you want to link only specific pages in your header, add the path to the
2
- # pages in order as they should show up.
3
- main:
4
- - title: "About"
5
- url: /about/
6
- - title: "Archives"
7
- url: /archives/
8
- - title: "GitHub"
9
- url: https://github.com/yous/whiteglass