Anton Shestakov <av6@dwimlabs.net>, Wed, 11 Jul 2018 12:24:19 +0800
changeset: explain instabilities
A simple UIkit_-based theme for hgweb.
This theme is designed to work with
`Mercurial 4.6`_\+ (primarily because it
relies on {labels} being iterable in templates).
The recommended way is to create 2 symlinks to templates/kit/ and
templates/static/style-kit.css in templates directory of your hgweb
installation in such way
:: $ ls -l mercurial/templates/ kit -> kit-repo/templates/kit/ $ ls -l mercurial/templates/static/ style-kit.css -> ../kit-repo/templates/static/style-kit.css (Since this theme doesn't bundle all the needed static files, you can't just do
web.templates = kit/templates/.)
After that, the theme can be selected as any other
::GNU GPLv2+, since it is technically based on gitweb, a theme bundled_ with
.. image:: https://bitbucket.org/av6/hgweb-kit-theme/raw/tip/screenshot.png
.. _UIkit: https://getuikit.com/v2/
.. _Mercurial 4.6: https://www.mercurial-scm.org/wiki/Release4.6
.. _bundled: https://www.mercurial-scm.org/wiki/AvailableThemes#Bundled_with_Mercurial