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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 512da43642647b4a200dd92cf3ef1d41e22605a2de52a36afbbb8b51a7b2509b
4
- data.tar.gz: e7fe1a9d5f069fd238bf67dcd9f0b1ba2064977f4f0716d6eb5437458f2de44b
3
+ metadata.gz: a3abfc71354f12beb899ecdb600b0bea1aca649b03bb59c617c799e9a4bfbbaa
4
+ data.tar.gz: b2ee432ae02b0b77e07faf62d459488362f48c4855706d53ea9f09beaece7ec4
5
5
  SHA512:
6
- metadata.gz: 73b558a453cb97bc8c86a9a8ba7034172b0bcf874a4a4df3920a549ec0cad3ad892d838d57687047fcd83a31cc87cedcc6733d5a9e60a411fc4517ecf56e00e0
7
- data.tar.gz: 48b590148a2e9d262e6766e475b8faceb9e13b8fb038442fa1385fb9bc6ea432a19002c84c65ecdec1829cbfad0f1d0d1e702a7e4aab66f8430605d309be22ff
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.
@@ -6,6 +6,7 @@ author:
6
6
  copyright_year: YEAR
7
7
  google_analytics: UA-000000000-0
8
8
  aladin_ttbkey: TTB_KEY_VALUE
9
+ mathjax: enable #enable/disable
9
10
  sass:
10
11
  style: compressed
11
12
  plugins:
@@ -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> -->
@@ -1,15 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- {% if site.google_analytics != "" %}
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">
@@ -59,7 +59,6 @@
59
59
  }
60
60
  @media all and (max-width: 720px){
61
61
  img {
62
- margin-left: 1%;
63
62
  max-width: 94%;
64
63
  }
65
64
  }
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.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-09 00:00:00.000000000 Z
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