academic 0.4.96 → 0.4.97
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/_includes/head.html +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a30acb700c58f608c5f26790575c77a1796ed40e
|
4
|
+
data.tar.gz: 446816c447b61183af1ea9207ad210cce8404721
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 }}">
|