academic 0.4.96 → 0.4.97

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -0
  3. data/_includes/head.html +5 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f142e83415eaf228b8a485de927e78f7c461c0f
4
- data.tar.gz: 82183da0fdb5bf8e496762b0f8b164f8adc06d23
3
+ metadata.gz: a30acb700c58f608c5f26790575c77a1796ed40e
4
+ data.tar.gz: 446816c447b61183af1ea9207ad210cce8404721
5
5
  SHA512:
6
- metadata.gz: e39705bbb964cec46dc796e6aa1a57c2384c38be89c2492fba51a0576e432c24eab2e37ebec97ac1efede3c9de1a6da08446d25d20ebf9851c92365b79eb9c0b
7
- data.tar.gz: bcfae0dbff9a35586c867a2f2bdcd133f70c6aafebc6cdf93c735755cd7ed431a0871bfbd593064b249db8481eb99e1093884d39bdb99bc35e1ebdf64536906e
6
+ metadata.gz: 2ccd89e2460b548196f982e87b9da7a24d32059a95a6f68d8ead88c6e3dfae6f26678c89c70f421bc3d920ea36307b1183345411a6eedbcf16e4e1ef8e388da9
7
+ data.tar.gz: 68fb0b5d9b878d8baa6c34b65bf38cc0bbab3dea6542a1477d8e9b657fcadd76864a94f2a763c8cbe65176998e75a10f46c116166a8dcdb2eeac204709523f80
data/README.md CHANGED
@@ -96,6 +96,14 @@ Or install it yourself as:
96
96
  $ gem install academic
97
97
  ```
98
98
 
99
+ Then add the `jekyll-data` plugin to your `Gemfile` ([see also](https://github.com/ashmaroli/jekyll-data#installation)):
100
+
101
+ ```ruby
102
+ group :jekyll_plugins do
103
+ gem 'jekyll-data'
104
+ end
105
+ ```
106
+
99
107
  I suggest you install and use `redcarpet` to generate your markdown ([read more](http://jekyllrb.com/docs/configuration/#redcarpet)).
100
108
 
101
109
  ## Usage
data/_includes/head.html CHANGED
@@ -4,7 +4,11 @@
4
4
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
 
7
- <title>{{ page.title }} | {% include i18n.html value=site.title %}</title>
7
+ {% if page.title %}
8
+ <title>{{ page.title }} | {% include i18n.html value=site.title %}</title>
9
+ {% else %}
10
+ <title>{% include i18n.html value=site.title %}</title>
11
+ {% endif %}
8
12
  <meta name="description" content="{% include i18n.html value=site.description %}">
9
13
 
10
14
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: academic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.96
4
+ version: 0.4.97
5
5
  platform: ruby
6
6
  authors:
7
7
  - gaalcaras