forked from cloudfoundry/docs-bosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
22 lines (20 loc) · 799 Bytes
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "base.html" %}
{% block content %}
{% if page and page.meta.schema %}
<div class="bosh-schema">
{% endif %}
{{ super() | replace("https://github.com/cloudfoundry/docs-bosh/edit/master/content/bpm/", "https://github.com/cloudfoundry-incubator/bpm-release/edit/master/docs/") }}
{% if page and page.schema %}
</div>
{% endif %}
{% endblock %}
{% block htmltitle %}
{% if page and page.meta and page.meta.title %}
{# always show site suffix to avoid individual content pages needing to suffix #}
<title>{{ page.meta.title }} - {{ config.site_name }}</title>
{% elif page and page.title and not page.is_homepage %}
<title>{{ page.title }} - {{ config.site_name }}</title>
{% else %}
<title>{{ config.site_name }}</title>
{% endif %}
{% endblock %}