added THEME_STATIC_DIR setting

The theme static output directory path is now customisable via settings.
i.e. you can now use 'assets' instead of 'theme'.
This commit is contained in:
Russ Webber 2013-07-18 10:36:44 +08:00 committed by Russ Webber
commit 89034f8b3f
4 changed files with 7 additions and 2 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}">
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}">
{% if FEED_ALL_ATOM %}
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
{% endif %}