From ea68f1301cae6366e92a9c56fa4ae17e39371576 Mon Sep 17 00:00:00 2001 From: Raymond Wanyoike Date: Sat, 21 Jun 2014 15:55:27 +0300 Subject: [PATCH] Trivial: format and cleanup --- README.md | 18 ++++++++++++------ alchemy/templates/base.html | 5 +---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3e7e625..45a9169 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 938bcb9..d2d5ecf 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -1,5 +1,6 @@ + {% block head %} @@ -9,10 +10,8 @@ {% block title %}{{ SITENAME }}{% endblock title %} {% include "include/feeds.html" %} - - {# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries #}