pelican-mg/README.md

74 lines
1.9 KiB
Markdown
Raw Normal View History

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!
Features
--------------
* [Open Graph](http://ogp.me/) supports for pages and articles.
* Show a custom image instead of your site name.
* 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-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
**LOGO**
2014-12-29 22:08:56 +00:00
The path of a custom image for replacing the site name in your header bar.
The path is relative to the "/static/" folder of your site, so if your image
is placed at "www.example.com/static/img/logo.png", the path to insert is
"img/logo.png".
2014-12-29 22:13:29 +00:00
**OG_IMAGE**
2014-12-29 22:08:56 +00:00
The path of a custom image for the `og:image` meta property. As for **LOGO**,
the path is relative to the "/static/" folder of your site.
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]
(http://fortawesome.github.io/Font-Awesome/). The suffix "-square" is stripped
2014-12-29 23:44:09 +00:00
away in the bottom icons of the small screen layout.
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'),)
```