mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
[docs] tune titles
This commit is contained in:
parent
b82c633716
commit
3845809d5a
@ -18,9 +18,9 @@
|
||||
{% if page and page.meta and page.meta.title %}
|
||||
{% set title = page.meta.title %}
|
||||
{% elif page and page.title and not page.is_homepage and page.title != 'hidden' %}
|
||||
{% set title = page.title + ' - ' + config.site_name %}
|
||||
{% set title = page.title + ' | ' + config.site_name %}
|
||||
{% elif page and page.title and not page.is_homepage and page.title == 'hidden' and page.ancestors %}
|
||||
{% set title = (page.ancestors | first).title + ' - ' + config.site_name %}
|
||||
{% set title = (page.ancestors | first).title + ' | ' + config.site_name %}
|
||||
{% else %}
|
||||
{% set title = config.site_name %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user