jekyll-theme-paikblog 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/_config.yml +1 -0
- data/_includes/head.html +15 -0
- data/_includes/head/custom.html +1 -0
- data/_layouts/default.html +2 -10
- data/_sass/jekyll-theme-paikblog/_layout.scss +0 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3abfc71354f12beb899ecdb600b0bea1aca649b03bb59c617c799e9a4bfbbaa
|
4
|
+
data.tar.gz: b2ee432ae02b0b77e07faf62d459488362f48c4855706d53ea9f09beaece7ec4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 520c062a97c95d99279d616f570294048e9fbf0fe603fe00914a000c013c6368ed2d9d801d469bf8f7098584538717c8bf5345f58a7d0a6b246d8febe71892f9
|
7
|
+
data.tar.gz: 07a2ab52feca045793f1a21ac5fef3ac49d557cb88daa9ecd16d5f2d4cb210216e1ece9298e18e036164ebd4cbe2fdf45ab54bae776643c36d9e11b21fd7b237
|
data/README.md
CHANGED
@@ -72,6 +72,19 @@ permalink: /tags
|
|
72
72
|
{% include tags.html %}
|
73
73
|
```
|
74
74
|
|
75
|
+
### MathJax
|
76
|
+
|
77
|
+
Set `site.mathjax` to `enable` in `_config.yml`.
|
78
|
+
|
79
|
+
```yml
|
80
|
+
# _config.yml
|
81
|
+
...
|
82
|
+
mathjax: enable #enable/disable
|
83
|
+
...
|
84
|
+
```
|
85
|
+
|
86
|
+
NOTICE: [MathJax](https://www.mathjax.org/) is written by The MathJax Consortium. MathJax is license under Apache License, Version 2.0.
|
87
|
+
|
75
88
|
## Contributing
|
76
89
|
|
77
90
|
Bug reports and pull requests are welcome on GitHub at [paikwiki](mailto:paikwiki@gmail.com). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/_config.yml
CHANGED
data/_includes/head.html
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
<head>
|
3
|
+
{% if site.google_analytics != "" %}
|
4
|
+
{% include ga.html %}
|
5
|
+
<script type="text/javascript" src="{{ '/assets/js/analytics.js' }}"></script>
|
6
|
+
{% endif %}
|
7
|
+
{% if site.mathjax == "enable" %}
|
8
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
9
|
+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
10
|
+
{% endif %}
|
11
|
+
<meta charset="UTF-8">
|
12
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
13
|
+
{% seo %}
|
14
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
15
|
+
</head>
|
@@ -0,0 +1 @@
|
|
1
|
+
<!-- custom code for <head> -->
|
data/_layouts/default.html
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en">
|
3
|
-
|
4
|
-
{%
|
5
|
-
{% include ga.html %}
|
6
|
-
<script type="text/javascript" src="{{ '/assets/js/analytics.js' }}"></script>
|
7
|
-
{% endif %}
|
8
|
-
<meta charset="UTF-8">
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
10
|
-
{% seo %}
|
11
|
-
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
12
|
-
</head>
|
3
|
+
{% include head.html %}
|
4
|
+
{% include head/custom.html %}
|
13
5
|
<body>
|
14
6
|
<article class="global-wrapper">
|
15
7
|
<header class="site-header">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-paikblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- paikwiki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -78,6 +78,8 @@ files:
|
|
78
78
|
- _config.yml
|
79
79
|
- _includes/aBookItem.html
|
80
80
|
- _includes/ga.html
|
81
|
+
- _includes/head.html
|
82
|
+
- _includes/head/custom.html
|
81
83
|
- _includes/post-list.html
|
82
84
|
- _includes/tags.html
|
83
85
|
- _layouts/default.html
|