ClickHouse/website/templates/docs/footer.html
Ivan Blinkov 21d8b6288d
[docs] generate AMP versions for docs articles (#10732)
* 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
2020-05-08 11:04:09 +03:00

9 lines
747 B
HTML

{% if not single_page %}
<div id="content-footer" class="text-muted pt-5 mb-5">
<div class="float-md-right">{{ config.copyright }}</div>
<div>{{ _('Built from') }} <a href="{{ config.extra.rev_url }}" rel="external nofollow noreferrer" target="_blank" class="text-reset">{{ config.extra.rev_short }}</a>{% if page and page.meta %}{% if page.meta.published_date %}, {{ _('published on') }} <span title="{{ page.meta.published_date.isoformat() }}">{{ page.meta.published_date.date().isoformat() }}</span>{% endif %}{% if page.meta.modified_date %}, {{ _('modified on') }} <span title="{{ page.meta.modified_date.isoformat() }}">{{ page.meta.modified_date.date().isoformat() }}</span>{% endif %}
{% endif %}
</div>
</div>
{% endif %}