Commit Graph

136 Commits (56448ef7653e4a840e31f7d5e716432117917d1e)

Author SHA1 Message Date
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 1e89cd6389 Strip html tags from article summary 2016-11-12 11:27:38 +03:00
Raymond Wanyoike 9ef5613eab Add sitemap support, https://github.com/getpelican/pelican/wiki/Tips-n-Tricks#generate-sitemapxml 2016-11-12 11:26:38 +03:00
Raymond Wanyoike 24aa65fcad Fix new favicon package support, missing tags
Minor improvements
2016-11-11 15:35:32 +03:00
Raymond Wanyoike 4adcdd7d71 Add Merriweather and Montserrat webfonts 2016-11-10 20:06:09 +03:00
Raymond Wanyoike 6a5f451c95 Remove desktop version of fontawesome 2016-11-10 20:04:54 +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 f645f704f9 Pages are also articles 2016-11-09 20:09:28 +03:00
Raymond Wanyoike 151c18da13 Add fontawesome icons to article meta 2016-11-09 20:08:27 +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 e960b3e1e0 Revert to stock bootstrap dist, customizer doesn't fill use case 2016-11-07 13:03:53 +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 fa001c23a1 Support multiple authors, via the :author:/:authors: metadata field 2016-11-07 12:05:38 +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 3e8603cec4 Make website title larger, align header margins 2016-11-07 11:46:22 +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 27de618fdb article.summary, and page.summary are always set
Pelican will use `Summary:` or trim the content
2016-11-07 10:07:44 +03:00
Raymond Wanyoike d2533f8f57 Use <table> to organize link - count pages 2016-11-07 10:04:00 +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
Raymond Wanyoike cb4f2e862f Remove google analytics support
One in many options that you can use to track page views, not on our
roadmap at the moment.

Update disqus support
2016-11-06 22:15:11 +03:00
Raymond Wanyoike ef928be31d Generated using the Bootstrap Customizer
Included the config.json

v3.3.7 http://getbootstrap.com/customize/?id=928e7733b7dc6e3bb675cee5fde04184

No more bootstrap javascript dependency 🎉
2016-11-06 21:56:20 +03:00
Alan Orth b720a06ecb Update to Bootstrap v3.3.7
From the official bootstrap-3.3.7-dist.zip release.
2016-07-29 21:34:15 +03:00
Raymond Wanyoike 27ed065151 Replace icon fonts with fontawesome v4.7.0
Awesome.
2016-11-06 22:00:21 +03:00
Raymond Wanyoike 47e279c9ce Remove CSS preprocessors, use simple css
Remove old pygments.css (will be replaced)

Override clean-blog defaults to our requirements.
2016-11-06 22:09:09 +03:00
Raymond Wanyoike ef044ac47d Use the clean blog bootstrap theme as a start, v3.3.7
Clean Blogs comes with beautiful typography, readable fonts and nice defaults.

http://startbootstrap.com/template-overviews/clean-blog
2016-11-06 22:07:23 +03:00
Wang Zhi 53180849cb Fix tag url in article pages. 2016-04-10 15:02:59 +08:00
Alan Orth c2ddff43e1
style.css: Regenerate for Bootstrap 3.3.5
Requires the less compiler (from npm):

    $ cd alchemy/static/less
    $ npm install -g less
    $ lessc style.less > ../css/style.css

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-08-02 14:52:22 +03:00
Alan Orth 375936e642 Update to Bootstrap v3.3.5
From the official bootstrap-3.3.5-dist.zip release.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-08-02 14:51:07 +03:00
Alan Orth 0814248345 css/style.css: Regenerate for Bootstrap 3.3.4
Requires the less compiler (from npm):

    $ cd theme/alchemy/static/less
    $ npm install -g less
    $ lessc style.less > ../css/style.css

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-06-16 22:49:30 +03:00
Alan Orth 5a99761035 Update to Bootstrap 3.3.4
From official bootstrap-3.3.4-dist.zip.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-06-16 22:49:30 +03:00
Alan Orth ef0714ef91 Update jQuery from 1.11.0 -> 1.11.3
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-06-15 19:19:28 +03:00
lynix 9242ff3cb7 show tags in article view 2015-04-10 21:30:59 +02:00
lynix 8e1e53af31 introduce options for category, tag and archives links on menu 2015-04-10 21:21:20 +02: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 a6bada6a1e
Update Disqus JS embed to use HTTPS
We moved to HTTPS on the blog so we need to be loading JS resources
over HTTPS as well or else we get mixed-content errors in browsers.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-02-07 00:58:25 +03:00
Alan Orth 4b1c26add1 Update Google Analytics code
Use latest tracking blurb straight from Google. Also, the new code
uses "auto" for the domain so we don't need to set that anymore.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-02-06 17:19:53 +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 0fd2460ac9 Update bootstrap v3.2.0 -> v3.3.0 2014-10-30 17:05:41 +03:00
Alan Orth e7d8ebb489
Regenerate styles and clean up merge garbage
Sucky thing about minified files is that they are a pain in the ass
for merge conflicts.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-30 16:48:50 +03:00
Alan Orth 44977f33f3 Merge remote-tracking branch 'raywan/feature/border-radius' into raymazing
Meh, merging generated/minified files is lame.

Conflicts:
	alchemy/static/css/style.css
2014-10-30 16:45:34 +03:00
Raymond Wanyoike 586164230b Set post link colour to a visible blue 2014-10-29 20:52:10 +03:00
Raymond Wanyoike c80409e460 Make post images responsive 2014-10-29 20:47:36 +03:00
Raymond Wanyoike 51e4a557c0 Border radius (4px) code blocks and images, smooth ᵔᴥᵔ
Conflicts:
	alchemy/static/css/style.css
2014-10-29 20:47:36 +03:00
Raymond Wanyoike 299563fb4a Limit max width on container div (970px) to contain post images
Conflicts:
	alchemy/static/css/style.css
2014-10-29 20:47:36 +03:00
Raymond Wanyoike d237842df8 Update bootstrap v3.1.1 -> v3.2.0 2014-10-29 13:42:52 +03:00
Raymond Wanyoike f0eec15a11 Update bootstrap v3.1.1 -> v3.2.0 2014-10-29 13:42:51 +03:00
Raymond Wanyoike 8d9827b78a Reduce less files (space) tab size 4 -> 2 2014-10-29 12:03:00 +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 771aaf9478 Merge branch 'pages-on-menu' of github.com:raymondwanyoike/pelican-alchemy into raymondwanyoike-pages-on-menu
* 'pages-on-menu' of github.com:raymondwanyoike/pelican-alchemy:
  Add PAGES_ON_MENU option

Conflicts:
	README.md
2014-08-08 20:08:01 +03:00
Raymond Wanyoike 6343cc6f05 Merge branch 'seo-title' of github.com:raymondwanyoike/pelican-alchemy into raymondwanyoike-seo-title
* 'seo-title' of github.com:raymondwanyoike/pelican-alchemy:
  Use SITE_SUBTEXT for index page title
2014-08-08 20:04:34 +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 b9bc0810dd Add PAGES_ON_MENU option 2014-06-21 16:32:51 +03:00
Raymond Wanyoike 8881d326c9 Add META_DESCRIPTION option 2014-06-21 16:32:43 +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 fe1626735f MENU_ITEM's will open on a new page
They are mostly external links
2014-06-21 15:56:03 +03:00
Raymond Wanyoike a5bb85f98e Fix pygments double border effect 2014-06-16 19:35:40 +03:00
Raymond Wanyoike 3a2ddd20b4 Forgot these bootstrap assets 2014-05-31 17:13:28 +03:00
Raymond Wanyoike b690c785b6 Beef up the titles 2014-05-31 17:13:00 +03:00
Raymond Wanyoike a5deb71fd0 This is less 2014-05-31 17:12:25 +03:00
Raymond Wanyoike 9bbfa7398d Compress output using clean-css
124K	alchemy/static/css/style.css
$ lessc --clean-css ...
104K	alchemy/static/css/style.css
2014-05-31 17:01:04 +03:00
Raymond Wanyoike c1366a5492 Move stylesheet changes to less file 2014-05-31 16:53:18 +03:00
Raymond Wanyoike a13bfc76b9 Merge branch 'raywan-revolution' of https://github.com/alanorth/pelican-alchemy
* 'raywan-revolution' of https://github.com/alanorth/pelican-alchemy:
  static: Remove web fonts
  static/css/style.css: Use web- and platform-safe font stacks instead of @font-face
2014-05-31 16:40:52 +03:00
Raymond Wanyoike 76cb229eb9 Update the option 2014-05-31 16:35:13 +03:00
Alan Orth d197977ca5
static: Remove web fonts
Let's use a sane font stack so each platform can use the best font
for their platform.  Also, this reduces page load time.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-31 00:13:25 +03:00
Alan Orth a2d306a70b
static/css/style.css: Use web- and platform-safe font stacks instead of @font-face
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-31 00:05:25 +03:00
Raymond Wanyoike 752ebd247c This shit should work now
─────────▄──────────────▄
────────▌▒█───────────▄▀▒▌
────────▌▒▒▀▄───────▄▀▒▒▒▐
───────▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐
─────▄▄▀▒▒▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐
───▄▀▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀██▀▒▌
──▐▒▒▒▄▄▄▒▒▒▒▒▒▒▒▒▒▒▒▒▀▄▒▒▌
──▌▒▒▐▄█▀▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐
─▐▒▒▒▒▒▒▒▒▒▒▒▌██▀▒▒▒▒▒▒▒▒▀▄▌
─▌▒▀▄██▄▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌
─▌▀▐▄█▄█▌▄▒▀▒▒ Such commit ▐
▐▒▀▐▀▐▀▒▒▄▄▒▄▒▒▒▒▒░░░░░░▒▒▒▒▌
▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒░░░░░░▒▒▒▐
─▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒▒▒ Wow ▒▒▒▌
─▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐
──▀▄▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▄▒▒▒▒▌
────▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀
───▐▀▒▀▄▄▄
2014-05-29 00:54:52 +03:00
Raymond Wanyoike c1680b5b3e Initial styles 2013-11-24 20:58:47 +03:00
Raymond Wanyoike b12b50104e Initial templates 2013-11-24 20:53:19 +03:00
Raymond Wanyoike e43301b65e mmmmm... Solarized Dark
Tasty
2013-11-24 20:30:26 +03:00
Raymond Wanyoike 966dc97351 Add bootstrap assets
Bootstrap v3.0
jQuery v1.10
2013-11-24 20:28:43 +03:00