Commit graph

39 commits

Author SHA1 Message Date
Raymond Wanyoike
8b0903ec8e Add missing HTML img alt attribute
Wrap content body in div

Add title class to titles

Show icons with the teaser metadata

Visual improvements
2016-11-30 21:46:02 +03:00
Raymond Wanyoike
d911f0b813 Reference my up to date fork 2016-11-29 16:17:21 +03:00
Raymond Wanyoike
d35fedcd41 Fix SITEIMAGE relative url's 2016-11-29 16:08:32 +03:00
Raymond Wanyoike
118bfc6346 Visual improvements 2016-11-29 14:54:27 +03:00
Raymond Wanyoike
bfb5895c63 Hide footer tags link if no tags exist
Hide meta description if DESCRIPTION is undefined

Minor improvements
2016-11-16 15:17:40 +03:00
Raymond Wanyoike
d7b535dc95 ARTICLE_AUTHORS -> HIDE_AUTHORS 2016-11-12 15:21:48 +03:00
Raymond Wanyoike
8879c5cf58 Refactor header links, icons and settings
- Support misc fontawesome icons/links
- Pelican DISPLAY_PAGES_ON_MENU setting
2016-11-12 11:33:30 +03:00
Raymond Wanyoike
5f3b881368 Add GOOGLE_ANALYTICS, GAUGES and PIWIK analytics support
Attempt to match the Pelican notmyidea theme featureset

https://github.com/getpelican/pelican/blob/master/pelican/themes/notmyidea
2016-11-12 11:32:05 +03:00
Raymond Wanyoike
1df506e0e2 Change the default PYGMENTS_STYLE native -> default
Lighter theme that matches our theme
2016-11-12 11:29:54 +03:00
Raymond Wanyoike
32bd56b917 Update theme settings FAVICONS -> NEW_FAVICONS, META_DESCRIPTION -> DESCRIPTION
FAVICONS -> NEW_FAVICONS to imply the different favicon setup
META_DESCRIPTION -> DESCRIPTION semantics
2016-11-12 11:29:19 +03:00
Raymond Wanyoike
24aa65fcad Fix new favicon package support, missing tags
Minor improvements
2016-11-11 15:35:32 +03:00
Raymond Wanyoike
075c135dac Remove clean-blog css, model alchemy off clean-blog 2016-11-09 20:17:59 +03:00
Raymond Wanyoike
a4048d9d68 Add img-thumbnail, img-circle class to site image
Formatting
2016-11-09 20:10:04 +03:00
Raymond Wanyoike
304d9530d3 Switch <title> separator from &mdash; -> | 2016-11-09 20:07:43 +03:00
Raymond Wanyoike
7f4a22cc05 Use fa-lg class on fontawesome header icons 2016-11-08 08:22:47 +03:00
Raymond Wanyoike
9ae089c9b0 Fix invalid html definition 2016-11-08 08:21:37 +03:00
Raymond Wanyoike
218b91fbe1 Rename theme options to match pelican options
Format stylesheet
2016-11-07 13:10:33 +03:00
Raymond Wanyoike
f58a419a6c Theme support, add PYGMENTS_STYLE option, stylesheets
To generate pygments theme files, get a list of known styles:

>>> from pygments.styles import STYLE_MAP
>>> STYLE_MAP.keys()
['default', 'emacs', 'friendly', 'colorful']

Generate the relevant stylesheet etc:

$ pygmentize -S emacs -f html -a '.highlight pre' > pygments/emacs.css
2016-11-07 12:24:30 +03:00
Raymond Wanyoike
fa95d70051 Missing {{ SITEURL }} property in href links 2016-11-07 12:07:45 +03:00
Raymond Wanyoike
32cb3b69c2 Option rename SHOW_ARTICLE_AUTHOR -> SHOW_ARTICLE_AUTHORS
Rename HEADER_LINKS -> EXTERNAL_LINKS, *_ADDRESS -> *_LINK
2016-11-07 11:56:32 +03:00
Raymond Wanyoike
23e6d59d7f Polish Jinja2 conditionals, fix edge cases (if this, then that) 2016-11-07 11:49:32 +03:00
Raymond Wanyoike
b8707771d2 Remove SHOW_HEADER_*, SHOW_FOOTER_* options, keep it lean 2016-11-07 11:48:47 +03:00
Raymond Wanyoike
5bf6143b90 Format feed link titles 2016-11-07 11:46:43 +03:00
Raymond Wanyoike
3ac5a83a2f User html5 semantic elements 2016-11-07 10:18:02 +03:00
Raymond Wanyoike
99c13a39c7 Fix up inconsistencies
Fix style inconsistencies
2016-11-07 10:09:32 +03:00
Raymond Wanyoike
23ef8ca9cc Simplify jinja2 base templates, update theme options
- New realfavicongenerator.net packages (https://realfavicongenerator.net/blog/new-favicon-package-less-is-more/)
- Support all possible Pelican feed links
- Add recommended HEAD elements (https://github.com/joshbuchea/HEAD)
- Use minified css assets
- Link to boostrap, clean-blog and font-awesome stylesheets
- Add theme options, better options names

Template consistency, update structure on base.html

Fix missing article summary on index.html

Show the article.summary for teasers
2016-11-06 22:32:20 +03:00
Anthony Oduor
bd337dffaa Add canonical link on blog nairobilug/nairobilug.or.ke/issues/109 2015-02-12 01:33:46 +03:00
Alan Orth
27dba1a192 Revert "Add support for fancy fluidbox #75"
This reverts commit 688fc0fbae.
2015-02-03 12:39:59 +03:00
Anthony Oduor
688fc0fbae Add support for fancy fluidbox #75
Updated base template
2015-01-30 08:22:01 +03:00
Raymond Wanyoike
288e6464bd Reduce html files (space) tab size 4 -> 2 2014-10-29 12:03:00 +03:00
Raymond Wanyoike
52380ceab6 Simplify base.html, include favicon and feed content 2014-10-29 12:03:00 +03:00
Raymond Wanyoike
479f12e827 Merge branch 'extra-favicon' of github.com:raymondwanyoike/pelican-alchemy into raymondwanyoike-extra-favicon
* 'extra-favicon' of github.com:raymondwanyoike/pelican-alchemy:
  Add EXTRA_FAVICON option
2014-08-08 20:08:39 +03:00
Raymond Wanyoike
ea501ab3e6 Use SITE_SUBTEXT for index page title
Search engine visibility
2014-06-21 16:33:23 +03:00
Raymond Wanyoike
910441751f Add EXTRA_FAVICON option
http://realfavicongenerator.net/faq#why_so_many_files
2014-06-21 16:33:14 +03:00
Raymond Wanyoike
ea68f1301c Trivial: format and cleanup 2014-06-21 16:01:59 +03:00
Raymond Wanyoike
96409841d8 Trivial: organize templates 2014-06-21 15:56:03 +03:00
Raymond Wanyoike
3a2ddd20b4 Forgot these bootstrap assets 2014-05-31 17:13:28 +03:00
Raymond Wanyoike
752ebd247c This shit should work now
─────────▄──────────────▄
────────▌▒█───────────▄▀▒▌
────────▌▒▒▀▄───────▄▀▒▒▒▐
───────▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐
─────▄▄▀▒▒▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐
───▄▀▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀██▀▒▌
──▐▒▒▒▄▄▄▒▒▒▒▒▒▒▒▒▒▒▒▒▀▄▒▒▌
──▌▒▒▐▄█▀▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐
─▐▒▒▒▒▒▒▒▒▒▒▒▌██▀▒▒▒▒▒▒▒▒▀▄▌
─▌▒▀▄██▄▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌
─▌▀▐▄█▄█▌▄▒▀▒▒ Such commit ▐
▐▒▀▐▀▐▀▒▒▄▄▒▄▒▒▒▒▒░░░░░░▒▒▒▒▌
▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒░░░░░░▒▒▒▐
─▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒▒▒ Wow ▒▒▒▌
─▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐
──▀▄▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▄▒▒▒▒▌
────▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀
───▐▀▒▀▄▄▄
2014-05-29 00:54:52 +03:00
Raymond Wanyoike
b12b50104e Initial templates 2013-11-24 20:53:19 +03:00