Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
b8645c5a
C
ClickHouse
项目概览
2dot5
/
ClickHouse
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ClickHouse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
b8645c5a
编写于
4月 22, 2020
作者:
I
Ivan Blinkov
提交者:
GitHub
4月 22, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Adjust benchmark page caching + og:url/og:type/rel=canonical (#10439)
上级
ab150f96
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
22 addition
and
8 deletion
+22
-8
docs/tools/build.py
docs/tools/build.py
+3
-1
website/benchmark/dbms/index.html
website/benchmark/dbms/index.html
+6
-1
website/benchmark/hardware/index.html
website/benchmark/hardware/index.html
+6
-1
website/main.html
website/main.html
+1
-0
website/templates/common_meta.html
website/templates/common_meta.html
+6
-5
未找到文件。
docs/tools/build.py
浏览文件 @
b8645c5a
...
@@ -127,8 +127,10 @@ def build_for_lang(lang, args):
...
@@ -127,8 +127,10 @@ def build_for_lang(lang, args):
if
args
.
htmlproofer
:
if
args
.
htmlproofer
:
plugins
.
append
(
'htmlproofer'
)
plugins
.
append
(
'htmlproofer'
)
site_name
=
site_names
.
get
(
lang
,
site_names
[
'en'
])
%
args
.
version_prefix
site_name
=
site_name
.
replace
(
' '
,
' '
)
raw_config
=
dict
(
raw_config
=
dict
(
site_name
=
site_name
s
.
get
(
lang
,
site_names
[
'en'
])
%
args
.
version_prefix
,
site_name
=
site_name
,
site_url
=
f
'https://clickhouse.tech/docs/
{
lang
}
/'
,
site_url
=
f
'https://clickhouse.tech/docs/
{
lang
}
/'
,
docs_dir
=
os
.
path
.
join
(
args
.
docs_dir
,
lang
),
docs_dir
=
os
.
path
.
join
(
args
.
docs_dir
,
lang
),
site_dir
=
site_dir
,
site_dir
=
site_dir
,
...
...
website/benchmark/dbms/index.html
浏览文件 @
b8645c5a
{% extends 'templates/base.html' %}
{% extends 'templates/base.html' %}
{% set title = 'Performance comparison of database management systems' %}
{% set title = 'Performance comparison of database management systems' %}
{% set extra_js = ['queries.js', 'results.js', '../benchmark.js'] %}
{% set extra_js = [
'queries.js?' + rev_short,
'results.js?' + rev_short,
'../benchmark.js?' + rev_short]
%}
{% set url = 'https://clickhouse.tech/benchmark/dbms/' %}
{% set no_footer = True %}
{% set no_footer = True %}
{% block content %}
{% block content %}
...
...
website/benchmark/hardware/index.html
浏览文件 @
b8645c5a
{% extends 'templates/base.html' %}
{% extends 'templates/base.html' %}
{% set title = 'Performance comparison of ClickHouse on various hardware' %}
{% set title = 'Performance comparison of ClickHouse on various hardware' %}
{% set extra_js = ['queries.js', 'results.js', '../benchmark.js'] %}
{% set extra_js = [
'queries.js?' + rev_short,
'results.js?' + rev_short,
'../benchmark.js?' + rev_short]
%}
{% set url = 'https://clickhouse.tech/benchmark/hardware/' %}
{% set no_footer = True %}
{% set no_footer = True %}
{% block content %}
{% block content %}
...
...
website/main.html
浏览文件 @
b8645c5a
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
{% set direction = config.theme.direction %}
{% set direction = config.theme.direction %}
{% set single_page = config.extra.single_page %}
{% set single_page = config.extra.single_page %}
{% set no_footer = True %}
{% set no_footer = True %}
{% set og_type = 'article' %}
{% 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 %}
...
...
website/templates/common_meta.html
浏览文件 @
b8645c5a
...
@@ -9,13 +9,14 @@
...
@@ -9,13 +9,14 @@
<meta
property=
"og:title"
content=
"{% if title %}{{ title }}{% else %}{{ _('ClickHouse DBMS') }}{% endif %}"
/>
<meta
property=
"og:title"
content=
"{% if title %}{{ title }}{% else %}{{ _('ClickHouse DBMS') }}{% endif %}"
/>
<meta
property=
"og:description"
content=
"{{ description }}"
/>
<meta
property=
"og:description"
content=
"{{ description }}"
/>
<meta
property=
"og:type"
content=
"
website
"
/>
<meta
property=
"og:type"
content=
"
{{ og_type or 'website' }}
"
/>
<meta
property=
"og:image"
content=
"https://clickhouse.tech/images/logo.png"
/>
<meta
property=
"og:image"
content=
"https://clickhouse.tech/images/logo.png"
/>
{% if page %}
{% if page and page.abs_url %}
<meta
property=
"og:url"
content=
"{{ page.abs_url or 'https://clickhouse.tech/' }}"
/>
{% set url = 'https://clickhouse.tech' + page.abs_url %}
{% else %}
<meta
property=
"og:url"
content=
"https://clickhouse.tech/"
/>
{% endif %}
{% endif %}
<meta
property=
"og:url"
content=
"{{ url or 'https://clickhouse.tech/' }}"
/>
<link
rel=
"canonical"
href=
"{{ url or 'https://clickhouse.tech/' }}"
/>
<meta
property=
"twitter:title"
content=
"{% if title %}{{ title }}{% else %}{{ _('ClickHouse DBMS') }}{% endif %}"
/>
<meta
property=
"twitter:title"
content=
"{% if title %}{{ title }}{% else %}{{ _('ClickHouse DBMS') }}{% endif %}"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录