Trivial: format and cleanup

main
Raymond Wanyoike 2014-06-21 15:55:27 +03:00
parent 96409841d8
commit ea68f1301c
2 changed files with 13 additions and 10 deletions

View File

@ -2,51 +2,57 @@
A theme for the [Pelican](http://getpelican.com) static site generator. A shameless rip off of @porterjamesj's [crowsfoot](http://github.com/porterjamesj/crowsfoot) theme.
## Screenshot
![pelican-alchemy](screenshot.png)
## Installation
`git clone https://github.com/nairobilug/pelican-alchemy.git`
Then set the pelican config variable `THEME` to the `alchemy` folder inside the cloned path.
## Usage
Pelican [documentation](http://docs.getpelican.com/en/latest/)
### Theme Options
| Config | Type | Description |
| ------------------------- | ----- | ----------------- |
| PROFILE_IMAGE | URL | Profile image |
| SITE_SUBTEXT | TEXT | Header subtitle |
| LICENSE_NAME | TEXT | License (footer) |
| LICENSE_URL | URL | - |
| MENU_ITEMS | DICT | Menu items |
| PROFILE_IMAGE | URL | Profile image |
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
| LICENSE_URL | URL | Footer action |
| LICENSE_NAME | TEXT | Hot footer action |
| SITE_SUBTEXT | TEXT | Header subtitle |
| Config | Type | Description |
| ------------------------- | ----- | ----------------- |
| EMAIL_ADDRESS | EMAIL | Email (mailto) |
| FB_ADDRESS | URL | Facebook |
| GITHUB_ADDRESS | URL | Github |
| SO_ADDRESS | URL | Stack Overflow |
| TWITTER_ADDRESS | URL | Twitter |
| FB_ADDRESS | URL | Facebook |
An RSS icon will also appear on the nav if `FEED_ATOM` or `FEED_RSS` is set.
| Config | Type | Description |
| ------------------------- | ----- | ----------------- |
| DISQUS_SITENAME | TEXT | Disqus sitename |
| GOOGLE_ANALYTICS_ID | TEXT | Google analytics |
| GOOGLE_ANALYTICS_DOMAIN | TEXT | Google analytics |
| GOOGLE_ANALYTICS_ID | TEXT | Google analytics |
## Live Demo
[nairobilug.or.ke](http://nairobilug.or.ke)
## License
MIT

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
<meta charset="utf-8">
@ -9,10 +10,8 @@
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
{% include "include/feeds.html" %}
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
{# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries #}
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
{# WARNING: Respond.js doesn't work if you view the page via file:// #}
@ -25,11 +24,9 @@
<body>
{% include "include/header.html" %}
<div class="container">
{% block content %}{% endblock %}
</div>
{% include "include/footer.html" %}
<script src="{{ SITEURL }}/theme/js/libs/jquery.min.js"></script>