c3ce6dbf1f
Page template added two background images
31 lines
989 B
HTML
Executable File
31 lines
989 B
HTML
Executable File
{% extends "index.html" %}
|
|
|
|
{% block title %}{{ page.title }}{% endblock title %}
|
|
|
|
{% block header %}
|
|
<!-- Page Header -->
|
|
{% if page.header_cover %}
|
|
<header class="intro-header" style="background-image: url('{{ page.header_cover }}')">
|
|
{% elif HEADER_COVER %}
|
|
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
|
{% 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="post-heading">
|
|
<h1>{{ page.title }}</h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{% endblock header %}
|
|
|
|
{% block content %}
|
|
<article>
|
|
{{ page.content }}
|
|
</article>
|
|
{% endblock content %}
|