Trivial: format and cleanup
parent
96409841d8
commit
ea68f1301c
18
README.md
18
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.
|
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
|
## Screenshot
|
||||||
|
|
||||||
![pelican-alchemy](screenshot.png)
|
![pelican-alchemy](screenshot.png)
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
`git clone https://github.com/nairobilug/pelican-alchemy.git`
|
`git clone https://github.com/nairobilug/pelican-alchemy.git`
|
||||||
|
|
||||||
Then set the pelican config variable `THEME` to the `alchemy` folder inside the cloned path.
|
Then set the pelican config variable `THEME` to the `alchemy` folder inside the cloned path.
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Pelican [documentation](http://docs.getpelican.com/en/latest/)
|
Pelican [documentation](http://docs.getpelican.com/en/latest/)
|
||||||
|
|
||||||
|
|
||||||
### Theme Options
|
### Theme Options
|
||||||
|
|
||||||
| Config | Type | Description |
|
| Config | Type | Description |
|
||||||
| ------------------------- | ----- | ----------------- |
|
| ------------------------- | ----- | ----------------- |
|
||||||
| PROFILE_IMAGE | URL | Profile image |
|
| LICENSE_NAME | TEXT | License (footer) |
|
||||||
| SITE_SUBTEXT | TEXT | Header subtitle |
|
| LICENSE_URL | URL | - |
|
||||||
| MENU_ITEMS | DICT | Menu items |
|
| MENU_ITEMS | DICT | Menu items |
|
||||||
|
| PROFILE_IMAGE | URL | Profile image |
|
||||||
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
|
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
|
||||||
| LICENSE_URL | URL | Footer action |
|
| SITE_SUBTEXT | TEXT | Header subtitle |
|
||||||
| LICENSE_NAME | TEXT | Hot footer action |
|
|
||||||
|
|
||||||
| Config | Type | Description |
|
| Config | Type | Description |
|
||||||
| ------------------------- | ----- | ----------------- |
|
| ------------------------- | ----- | ----------------- |
|
||||||
| EMAIL_ADDRESS | EMAIL | Email (mailto) |
|
| EMAIL_ADDRESS | EMAIL | Email (mailto) |
|
||||||
|
| FB_ADDRESS | URL | Facebook |
|
||||||
| GITHUB_ADDRESS | URL | Github |
|
| GITHUB_ADDRESS | URL | Github |
|
||||||
| SO_ADDRESS | URL | Stack Overflow |
|
| SO_ADDRESS | URL | Stack Overflow |
|
||||||
| TWITTER_ADDRESS | URL | Twitter |
|
| 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.
|
An RSS icon will also appear on the nav if `FEED_ATOM` or `FEED_RSS` is set.
|
||||||
|
|
||||||
| Config | Type | Description |
|
| Config | Type | Description |
|
||||||
| ------------------------- | ----- | ----------------- |
|
| ------------------------- | ----- | ----------------- |
|
||||||
| DISQUS_SITENAME | TEXT | Disqus sitename |
|
| DISQUS_SITENAME | TEXT | Disqus sitename |
|
||||||
| GOOGLE_ANALYTICS_ID | TEXT | Google analytics |
|
|
||||||
| GOOGLE_ANALYTICS_DOMAIN | TEXT | Google analytics |
|
| GOOGLE_ANALYTICS_DOMAIN | TEXT | Google analytics |
|
||||||
|
| GOOGLE_ANALYTICS_ID | TEXT | Google analytics |
|
||||||
|
|
||||||
|
|
||||||
## Live Demo
|
## Live Demo
|
||||||
|
|
||||||
[nairobilug.or.ke](http://nairobilug.or.ke)
|
[nairobilug.or.ke](http://nairobilug.or.ke)
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ DEFAULT_LANG }}">
|
<html lang="{{ DEFAULT_LANG }}">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
@ -9,10 +10,8 @@
|
||||||
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
||||||
|
|
||||||
{% include "include/feeds.html" %}
|
{% include "include/feeds.html" %}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
<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]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<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:// #}
|
{# WARNING: Respond.js doesn't work if you view the page via file:// #}
|
||||||
|
@ -25,11 +24,9 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{% include "include/header.html" %}
|
{% include "include/header.html" %}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "include/footer.html" %}
|
{% include "include/footer.html" %}
|
||||||
|
|
||||||
<script src="{{ SITEURL }}/theme/js/libs/jquery.min.js"></script>
|
<script src="{{ SITEURL }}/theme/js/libs/jquery.min.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue