Fix double-titles on refdocs
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{% for thistoc in site.data.globals.tocs %}{% if foundTOC %}{% break %}{% else %}{% assign tree = site.data[thistoc].toc %}{% include tocsearch.html %}{% endif %}{% endfor %}
|
{% for thistoc in site.data.globals.tocs %}{% if foundTOC %}{% break %}{% else %}{% assign tree = site.data[thistoc].toc %}{% include tocsearch.html %}{% endif %}{% endfor %}
|
||||||
|
{% for override in site.data.overrides.overrides %}{% if page.path contains override.path %}{% assign notitle = "true" %}{% endif %}{% endfor %}
|
||||||
<!Doctype html>
|
<!Doctype html>
|
||||||
<html id="docs">
|
<html id="docs">
|
||||||
|
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
</div> <!-- /docsToc -->
|
</div> <!-- /docsToc -->
|
||||||
<div id="docsContent">
|
<div id="docsContent">
|
||||||
<p><a href="/docs/editdocs#{{ page.path }}" id="editPageButton">Edit This Page</a></p>
|
<p><a href="/docs/editdocs#{{ page.path }}" id="editPageButton">Edit This Page</a></p>
|
||||||
<h1>{{ title }}</h1>
|
{% if notitle != "true" %}<h1>{{ title }}</h1>{% endif %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<p><a href=""><img src="https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/{{ page.path }}?pixel" alt="Analytics" /></a>
|
<p><a href=""><img src="https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/{{ page.path }}?pixel" alt="Analytics" /></a>
|
||||||
<div id="pd_rating_holder_8345992"></div>
|
<div id="pd_rating_holder_8345992"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user