mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
21d8b6288d
* Refactoring in preparation for AMP support * infrastructure for AMP validation * Add Metrika counter on AMP page + adjust layout * more content fixes * improve amp layout * improve navigation * Move converting admonitions to generation time * strict amp test check * Batch AMP validation * Add date published/modified to docs articles and their ld+json meta * few more content fixes * improve ld+json meta * adjust margins * skip published/modified for stable release docs * adapt single page mode * update po * skip published/modified for single page docs * update po * adjust layout * adjust layout
24 lines
750 B
HTML
24 lines
750 B
HTML
<div id="content-wrapper" class="{% if single_page %}col-md-10{% else %}col-md-8{% endif %} p-2 p-md-5">
|
|
<div id="content" class="mt-md-n3">
|
|
{% if not single_page %}
|
|
{% include "templates/docs/machine-translated.html" %}
|
|
{{ page.content|adjust_markdown_html }}
|
|
{% endif %}
|
|
|
|
{% if single_page and page.content %}
|
|
<script type="text/javascript" src="content.js?{{ config.extra.rev_short }}"></script>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% include "templates/docs/footer.html" %}
|
|
</div>
|
|
{% if single_page and page.content %}
|
|
<!-- BREAK -->
|
|
(function() {
|
|
{% for chunk in page.content|chunks %}
|
|
document.write({{ chunk|tojson|safe }});
|
|
{% endfor %}
|
|
})();
|
|
<!-- BREAK -->
|
|
{% endif %}
|