Merge pull request #5 from Xion/master
Use THEME_STATIC_DIR for asset URL's
This commit is contained in:
commit
6078d2450e
2 changed files with 6 additions and 6 deletions
|
@ -3,13 +3,13 @@
|
||||||
<head>
|
<head>
|
||||||
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
|
||||||
{% if USE_LESS %}
|
{% if USE_LESS %}
|
||||||
<link rel="stylesheet/less" type="text/css" href="{{ SITEURL }}/theme/css/style.less">
|
<link rel="stylesheet/less" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.less">
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js" type="text/javascript"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js" type="text/javascript"></script>
|
||||||
{% else %}
|
{% else %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.min.css">
|
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.min.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/pygments.min.css">
|
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygments.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/font-awesome.min.css">
|
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/font-awesome.min.css">
|
||||||
{% if FEED_ALL_ATOM %}
|
{% if FEED_ALL_ATOM %}
|
||||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom">
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
{% if SITELOGO %}
|
{% if SITELOGO %}
|
||||||
<img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
|
<img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ SITEURL }}/theme/img/profile.png" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
|
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/profile.png" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
|
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% if SITELOGO %}
|
{% if SITELOGO %}
|
||||||
{% set default_cover = SITELOGO %}
|
{% set default_cover = SITELOGO %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set default_cover = '{{ SITEURL }}/theme/img/profile.png' %}
|
{% set default_cover = '{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/profile.png' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue