academic 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -1
- data/_layouts/sitemap.html +1 -2
- 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: ea92a991ce683dc70e5e47f23cb4e57a52feb55c
|
|
4
|
+
data.tar.gz: d812b0d71ca33691ec1ea9943c934efbe0c0aa41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bc4e20f077e8d307a316fd1cb100e61324385348f6fd0d3a6f89928bed393ec3141dd63005c7c77b63acdff1bf49f1af13a113a33564f5f724161d092310938
|
|
7
|
+
data.tar.gz: 51234d36a7fc3962b74969db00da1594c4944c64d18082ade491d24dd16ff007deaad9a6759ef727135fa495a481febda42b1343d56376d50036410b4dee39ec
|
data/README.md
CHANGED
|
@@ -19,6 +19,7 @@ All features require you to *opt in*, which means that you can either use a very
|
|
|
19
19
|
|
|
20
20
|
Table of contents:
|
|
21
21
|
|
|
22
|
+
|
|
22
23
|
* [Features](#features)
|
|
23
24
|
* [Installation](#installation)
|
|
24
25
|
* [Usage](#usage)
|
|
@@ -35,6 +36,7 @@ Table of contents:
|
|
|
35
36
|
* [About layout](#about-layout)
|
|
36
37
|
* [Archive layout](#archive-layout)
|
|
37
38
|
* [404 layout](#404-layout)
|
|
39
|
+
* [Sitemap layout](#sitemap-layout)
|
|
38
40
|
* [Contributing](#contributing)
|
|
39
41
|
* [Release log](#release-log)
|
|
40
42
|
* [License](#license)
|
|
@@ -50,7 +52,7 @@ Table of contents:
|
|
|
50
52
|
+ If you'd like a **multilingual** website, Academic has basic **i18n** support (no plugin required):
|
|
51
53
|
+ *Supported languages* : English, French
|
|
52
54
|
+ Lang selector to change languages automatically added in header and footer
|
|
53
|
-
+ Basic SEO support for multilingual pages
|
|
55
|
+
+ Basic SEO support for multilingual pages (sitemap and `<head>`)
|
|
54
56
|
+ Add an **image thumbnail** to illustrate your posts. It's displayed both on the post list and on the post itself.
|
|
55
57
|
+ Add a **summary** to your posts. It's used in the posts lists and on the post itself.
|
|
56
58
|
+ **MathJax** support (loaded only on posts layouts)
|
|
@@ -58,6 +60,7 @@ Table of contents:
|
|
|
58
60
|
+ Add your name and a shortbio at the end of each post
|
|
59
61
|
+ Easily add a "call to action" (links to the RSS feed and your Twitter if you gave your username in the `_config.yml` file) at the end of each post and on your homepage
|
|
60
62
|
+ If you want to, **add a Creative Commons license** to your website directly from your `_config.yml` file
|
|
63
|
+
+ **Sitemap** layout
|
|
61
64
|
+ **About page**:
|
|
62
65
|
+ Responsive two-columns layout
|
|
63
66
|
+ Just fill out your usernames for Twitter, Github, LinkedIn, Keybase ; contact email or personal website ; link to your curriculum vitae.
|
|
@@ -297,6 +300,16 @@ layout: pagenotfound
|
|
|
297
300
|
|
|
298
301
|
The content of the page will be used in the 404 page.
|
|
299
302
|
|
|
303
|
+
#### Sitemap layout
|
|
304
|
+
|
|
305
|
+
Create a `sitemap.xml` page, set the layout:
|
|
306
|
+
|
|
307
|
+
```
|
|
308
|
+
layout: sitemap
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
You now have a sitemap you can feed to the search engines.
|
|
312
|
+
|
|
300
313
|
## Contributing
|
|
301
314
|
|
|
302
315
|
Bug reports and pull requests are welcome on GitHub at https://github.com/gaalcaras/academic. 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/_layouts/sitemap.html
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<urlset xmlns="http://www.sitemaposts.org/schemas/sitemap/0.9"
|
|
3
|
-
xmlns:xhtml="http://www.w3.org/1999/xhtml" >
|
|
2
|
+
<urlset xmlns="http://www.sitemaposts.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
|
4
3
|
{% include sitemap-url.html objects=site.pages %}
|
|
5
4
|
{% include sitemap-url.html objects=site.posts %}
|
|
6
5
|
</urlset>
|