timwis / jkan

A lightweight, backend-free open data portal, powered by Jekyll
https://jkan.io
MIT License
219 stars 309 forks source link

Theme support #95

Closed timwis closed 8 years ago

timwis commented 8 years ago

Simplest solution would be to support all of the bootswatch themes, which would just be a matter of swapping out the <link> tag in the <head> based on the site's theme setting.

Beyond that, it may be possible to think of themes as forks of JKAN that contain only the changes necessary to implement the theme. For example, a fork could contain a change of the <link> tag, adding a .css file, and a few markup changes. You could install it by creating a pull request of that repo against your JKAN repo and merging it. Where it gets tricky is if you've made any other modifications, or if future versions of JKAN make markup modifications that create merge conflicts.

Any other ideas?