mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update main.html
This commit is contained in:
parent
3e71b6ae07
commit
1e365c28da
@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
{% if page and page.meta and page.meta.title %}
|
{% if page and page.meta and page.meta.title %}
|
||||||
{% set title = page.meta.title %}
|
{% set title = page.meta.title %}
|
||||||
{% elif page and page.title and not page.is_homepage and page.title != 'hidden' %}
|
{% elif page and page.title and not page.is_homepage and (not page.title.startswith('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 %}
|
{% elif page and page.title and not page.is_homepage and (not page.title.startswith('hidden-')) and page.ancestors %}
|
||||||
{% set title = (page.ancestors | first).title + ' | ' + config.site_name %}
|
{% set title = (page.ancestors | first).title + ' | ' + config.site_name %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set title = config.site_name %}
|
{% set title = config.site_name %}
|
||||||
|
Loading…
Reference in New Issue
Block a user