This repository was archived by the owner on May 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpage.html
More file actions
34 lines (29 loc) · 1.38 KB
/
page.html
File metadata and controls
34 lines (29 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "base.html" %}
{% block title %}{{ page.title }} - {{ super() }}{% endblock title %}
{% block description %}{{ page.content|striptags|truncate(200)|escape }}{% endblock description %}
{% block headerstyle %}
{% if page.illustration %}
<div class="header-container header-image" style="background: linear-gradient(rgba(0, 0, 0, {{ NEST_HEADER_OPACITY }}), rgba(0, 0, 0, {{ NEST_HEADER_OPACITY }})), url('{{ SITEURL }}/images/{{ page.illustration }}'); background-position: center; ">
{% elif NEST_HEADER_IMAGES %}
<div class="header-container header-image" style="background: linear-gradient(rgba(0, 0, 0, {{ NEST_HEADER_OPACITY }}), rgba(0, 0, 0, {{ NEST_HEADER_OPACITY }})), url('{{ SITEURL }}/images/{{ NEST_HEADER_IMAGES }}'); background-position: center; ">
{% else %}
<div class="header-container gradient">
{% endif %}
{% endblock headerstyle %}
{% block header %}
<div class="container header-wrapper">
<div class="row">
<div class="col-lg-12">
<div class="header-content">
<h1 class="header-title text-uppercase">{{ page.title }}</h1>
<div class="header-underline"></div>
</div>
</div>
</div>
</div>
{% endblock header %}
{% block content %}
<div class="container content">
{{ page.content }}
</div>
{% endblock %}