7e44e0ff80
Prepend SITEURL to HEADER_COVER and article.header_cover in templates so that the site can be on a subdirectory, such as http://mywebsite.com/blog.
23 lines
865 B
HTML
23 lines
865 B
HTML
{% extends "index.html" %}
|
|
{% block title %}{{ SITENAME }} - Tag {{ tag }}{% endblock %}
|
|
{% block header %}
|
|
{% if HEADER_COVER %}
|
|
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
|
{% elif HEADER_COLOR %}
|
|
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
|
{% else %}
|
|
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg')">
|
|
{% endif %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
<div class="page-heading">
|
|
<h1>Tag {{ tag }}</h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{% endblock header %}
|
|
|