https://github.com/if1live/pelican-sora
Responsive Theme for Pelican
https://github.com/if1live/pelican-sora
Last synced: 3 months ago
JSON representation
Responsive Theme for Pelican
- Host: GitHub
- URL: https://github.com/if1live/pelican-sora
- Owner: if1live
- License: mit
- Created: 2013-11-01T12:37:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-14T02:40:25.000Z (about 11 years ago)
- Last Synced: 2025-02-02T18:14:42.055Z (5 months ago)
- Language: CSS
- Homepage:
- Size: 473 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pelican-sora
## What is pelican-sora?
pelican-sora is a [pelican][pelican] theme
based on [pelican-elegant][pelican-elegant] theme and [PureCSS][purecss].* Use LESS, easy to customize
* Responsive Theme
* Many same features in [pelican-elegant][pelican-elegant] based theme. Thanks to [talha131][talha131]
* Support search (Using [Tipue Search][tipue])
* Live filter for Tags
* Custom 404 Page
* etc...## Preview
* [LiveDemo](http://static-blog-sample.libsora.so/)
* [OxAA.so](http://0xaa.so/)



## Variables & Configure
[Look my configure.](https://github.com/static-blog-sample/blog/blob/master/pelicanconf.py)
```python
DEFAULT_PAGINATION = False# attributes for pelican-sora
PLUGINS = [
'tipue_search',
'sitemap',
'related_posts',
'assets',
]
DIRECT_TEMPLATES = (('index', 'tags', 'categories','archives', 'search', '404'))
MD_EXTENSIONS = ['codehilite(css_class=highlight)', 'extra', 'headerid']
STATIC_PATHS = ['theme/images', 'images', 'static']SITEMAP = {
'format': 'xml',
'priorities': {
'articles': 0.5,
'indexes': 0.5,
'pages': 0.5
},
'changefreqs': {
'articles': 'monthly',
'indexes': 'daily',
'pages': 'monthly'
}
}# optional attributes for pelican-sora
SITE_DESCRIPTION = u'libsora.so'
SITESUBTITLE = ''
SITE_LICENSE = ''
RECENT_ARTICLES_COUNT = 10
```## Installation
### Dependency
* [LESS](http://lesscss.org)
* [BeautifulSoup4](https://pypi.python.org/pypi/beautifulsoup4)
* [webassets](https://pypi.python.org/pypi/webassets)```
$ git clone https://github.com/if1live/pelican-sora.git
$ pelican-themes -s path/to/pelican-sora
``````
THEME = "pelican-sora"
```[pelican]: http://blog.getpelican.com/
[purecss]: http://purecss.io/
[talha131]: https://github.com/talha131
[pelican-elegant]: http://oncrashreboot.com/elegant-best-pelican-theme-features
[tipue]: http://www.tipue.com/search/