2014-12-29 22:08:56 +00:00
|
|
|
mg
|
|
|
|
==============
|
|
|
|
|
|
|
|
A minimal theme with a green header bar for [Pelican](http://blog.getpelican.com/).
|
|
|
|
|
|
|
|
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 11:56:48 +00:00
|
|
|
* [Open Graph](http://ogp.me) support for pages and articles.
|
|
|
|
* [Twitter Summary Card](https://dev.twitter.com/cards/types/summary) support for pages
|
|
|
|
and articles.
|
|
|
|
* [Schema.org](http://schema.org) support for articles.
|
2014-12-29 22:08:56 +00:00
|
|
|
* Comment with DISQUS.
|
|
|
|
* Google Analytics.
|
|
|
|
* Responsive design.
|
|
|
|
* Share buttons built with share urls.
|
|
|
|
* Meta tags for description, author and copyright.
|
|
|
|
* Custom footer notice.
|
|
|
|
|
|
|
|
Anti-Features
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* Support only a single author blog
|
|
|
|
* Support only ATOM feeds
|
|
|
|
* Currently blogroll is disabled
|
|
|
|
* Tag and tags pages style needs to be improved.
|
|
|
|
|
|
|
|
Settings
|
|
|
|
--------------
|
|
|
|
|
2014-12-30 20:17:01 +00:00
|
|
|
All settings are optional.
|
|
|
|
|
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.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**FOOTER**
|
2014-12-29 22:08:56 +00:00
|
|
|
A custom footer notice.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**OG_IMAGE**
|
2014-12-30 19:28:43 +00:00
|
|
|
The path of a custom image for the `og:image` meta property.
|
|
|
|
The path is relative to the "/static/" folder of your site, so if your image
|
|
|
|
is placed at "www.example.com/static/img/pic.png", the path to insert is "img/pic.png"
|
2014-12-29 22:08:56 +00:00
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**OG_IMAGE_TYPE**
|
2014-12-29 22:08:56 +00:00
|
|
|
The MIME type for **OG_IMAGE**.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**OG_IMAGE_WIDTH**
|
2014-12-29 22:08:56 +00:00
|
|
|
The width of **OG_IMAGE**.
|
|
|
|
|
2014-12-29 22:13:29 +00:00
|
|
|
**OG_IMAGE_HEIGHT**
|
2014-12-29 22:08:56 +00:00
|
|
|
The heigth of **OG_IMAGE**.
|
|
|
|
|
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'),)
|
|
|
|
```
|