2014-12-29 22:08:56 +00:00
|
|
|
mg
|
|
|
|
==============
|
|
|
|
|
2015-01-01 21:22:36 +00:00
|
|
|
A minimal theme with a green header bar for [Pelican]
|
|
|
|
(http://blog.getpelican.com/).
|
|
|
|
The theme is currently suited for a single author blog without tag pages and
|
|
|
|
blogroll. Feeds are provided via ATOM.
|
2014-12-29 22:08:56 +00:00
|
|
|
|
|
|
|
Warning
|
|
|
|
--------------
|
|
|
|
mg is still under development and may do anything it likes up, don't use it on
|
|
|
|
a production site!
|
|
|
|
You have been warned!
|
|
|
|
|
2014-12-30 00:48:06 +00:00
|
|
|
Live Example
|
|
|
|
--------------
|
|
|
|
Check out [my blog](http://www.devsbytes.com).
|
|
|
|
|
2014-12-29 22:08:56 +00:00
|
|
|
Features
|
|
|
|
--------------
|
|
|
|
|
2015-01-01 21:22:36 +00:00
|
|
|
* [Open Graph](http://ogp.me) support.
|
|
|
|
* [Twitter Summary Card](https://dev.twitter.com/cards/types/summary) support.
|
|
|
|
* [Schema.org](http://schema.org) support.
|
|
|
|
* Responsive design.
|
2014-12-29 22:08:56 +00:00
|
|
|
* Comment with DISQUS.
|
|
|
|
* Google Analytics.
|
|
|
|
* Share buttons built with share urls.
|
|
|
|
* Custom footer notice.
|
|
|
|
|
|
|
|
Settings
|
|
|
|
--------------
|
|
|
|
|
2015-01-01 21:22:36 +00:00
|
|
|
```python
|
|
|
|
TAG_SAVE_AS = ''
|
|
|
|
AUTHOR_SAVE_AS = ''
|
|
|
|
DIRECT_TEMPLATES = ('index', 'categories', 'archives')
|
|
|
|
```
|
|
|
|
|
|
|
|
###Optional settings
|
2014-12-30 20:17:01 +00:00
|
|
|
|
2014-12-30 21:16:07 +00:00
|
|
|
**ALT_NAME**
|
2014-12-30 20:17:01 +00:00
|
|
|
An alternative name for your site. It appears in the header bar.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**DESCRIPTION**
|
2014-12-29 22:08:56 +00:00
|
|
|
A brief description of your site, for Open Graph and search engines.
|
|
|
|
|
2015-01-01 21:22:36 +00:00
|
|
|
**FAVICON**
|
|
|
|
The relative path of your favicon, this is usefull for Disqus forum favicon.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**FOOTER**
|
2014-12-29 22:08:56 +00:00
|
|
|
A custom footer notice.
|
|
|
|
|
2015-01-01 21:22:36 +00:00
|
|
|
**META_IMAGE**
|
|
|
|
The path, as absolute URL, of a custom image for the `og:image` meta
|
|
|
|
property and Twitter summary card. This image is used in every page of the blog.
|
|
|
|
Articles and pages can override the default **META_IMAGE** by setting the
|
|
|
|
"image" metadata in the relative file.
|
2014-12-29 22:08:56 +00:00
|
|
|
|
2015-01-01 21:22:36 +00:00
|
|
|
**META_IMAGE_TYPE**
|
|
|
|
The MIME type for **META_IMAGE**, this is usefull for `og:image:type`.
|
2014-12-29 22:08:56 +00:00
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**SHARE**
|
2014-12-29 22:08:56 +00:00
|
|
|
Enable share buttons, boolean.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**SOCIAL**
|
2014-12-29 22:08:56 +00:00
|
|
|
A list of tutples (icon, URL). The icons are from [Font Awesome]
|
2014-12-30 19:28:43 +00:00
|
|
|
(http://fortawesome.github.io/Font-Awesome/). The suffix "-square" is removed
|
|
|
|
in the footer icons of the small screen layout.
|
2014-12-29 23:44:09 +00:00
|
|
|
e.g.
|
2014-12-29 22:08:56 +00:00
|
|
|
```python
|
|
|
|
SOCIAL = (('twitter', 'https://twitter.com/luca_chr'),
|
|
|
|
('google-plus-square', 'https://plus.google.com/117284397605208270870'),
|
|
|
|
('github', 'https://github.com/lucachr'),
|
|
|
|
('envelope', 'mailto:luca92web@gmail.com'),)
|
|
|
|
```
|