jekyll-whiteglass 1.10.1 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +11 -6
- data/_data/i18n.yml +16 -0
- data/_includes/fonts.html +1 -1
- data/_includes/google_analytics.html +21 -9
- metadata +3 -5
- data/_config.yml +0 -74
- data/_data/navigation.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c80975334e2797b740692525664cbde3fbf71db318dd57cea20f8983cfb9d370
|
4
|
+
data.tar.gz: '085dd2dbc91d334f2f99ba1fe8dac16576bdfd86291410392bd0e5e6e748a8d1'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b4c315fd35a88c7920c0a1a2c94d22542152478ca51d909affff4c32d1558d8a632429f5850cef5bb01bed8b0928249647287172197d020920da21eb3f6634d
|
7
|
+
data.tar.gz: 9c3ba65ffc2242fa30fe3de0d6b5c1ddd7d6a51d47e5cfd801e31b9ebc584d2ea067d1279cf73a75e087998c9d7ac86b818291ab510323831a24ed2fefac1126
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# ChangeLog
|
2
2
|
|
3
|
+
## 1.11.0 (2021-07-21)
|
4
|
+
|
5
|
+
- Update for Google Analytics 4
|
6
|
+
|
7
|
+
## 1.10.4 (2021-03-15)
|
8
|
+
|
9
|
+
- Add French translation (#42)
|
10
|
+
|
11
|
+
## 1.10.3 (2021-01-03)
|
12
|
+
|
13
|
+
- Don't ship _config.yml (#40)
|
14
|
+
- Include i18n.yml only under _data for gem
|
15
|
+
- Add missing robots.txt
|
16
|
+
|
17
|
+
## 1.10.2 (2020-10-16)
|
18
|
+
|
19
|
+
- Update Google Fonts to v2 API
|
20
|
+
|
3
21
|
## 1.10.1 (2020-08-31)
|
4
22
|
|
5
23
|
- Fix i18n.yml for de-AT (#39)
|
data/README.md
CHANGED
@@ -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.
|
41
|
-
|
42
|
-
4.
|
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"
|
data/_includes/fonts.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
|
2
2
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
3
|
-
<link href="https://fonts.googleapis.com/
|
3
|
+
<link href="https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
|
@@ -1,13 +1,25 @@
|
|
1
1
|
{% if site.google_analytics %}
|
2
|
-
|
3
|
-
|
4
|
-
(
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
-
|
10
|
-
|
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
|
-
|
21
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
22
|
+
ga('send', 'pageview');
|
23
|
+
</script>
|
24
|
+
{% endif %}
|
13
25
|
{% endif %}
|
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.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chayoung You
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-21 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.
|
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
|