forked from cockroachdb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.html
executable file
·45 lines (36 loc) · 1.13 KB
/
page.html
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
34
35
36
37
38
39
40
41
42
43
44
45
---
layout: default
---
<div class="cf-5329-area-16739"></div>
<div class="post-header">
<h1 class="post-title-main">{% if page.homepage == true %} {{site.homepage_title}} {% else %}{{ page.title }}{% endif %}</h1>
{% unless page.contribute == false %}
{% include contribute-options.html %}
{% endunless %}
</div>
<div class="post-content">
<!--
TOC LEVEL: By default, a page TOC includes h2 and h3 headers. To limit a
page TOC to h2 headers only, set `toc_not_nested: true` in the page's
front-matter.
-->
{% if page.toc %}
<div id="toc"></div>
{% endif %}
{% if page.url contains "v1.0" or page.url contains 'v1.1' or page.url contains 'v2.0' or page.url contains 'v2.1' or page.url contains 'v19.1' %}
{% include unsupported-version.md %}
{% endif %}
{% if page.url contains 'v19.2' %}
{% include unsupported-version-soon.md %}
{% endif %}
{{content}}
{% if page.feedback != false %}
<br><br>
{% include feedback-widget.html %}
{% endif %}
</div>
{% if page.homepage != true %}
<script>
anchors.add('h2, h3, h4, h5');
</script>
{% endif %}