Skip to content

Commit 5ad30ca

Browse files
committed
show blogs on pages
1 parent ea8df9d commit 5ad30ca

File tree

22 files changed

+39
-23
lines changed

22 files changed

+39
-23
lines changed

contribute/style-guide.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,17 @@ logic might fail.
379379

380380
## Related blog component
381381

382-
Each page has a "Related blogs" component which displays recent blogs which are
382+
Pages can show a "Related blogs" component which displays recent blogs which are
383383
related to the keywords or title of the document.
384384

385-
If you would like to hide it from a page, add the following property to the
385+
If you would like to show it on a page, add the following property to the
386386
front matter:
387387

388388
```yaml
389389
---
390-
show_related_blogs: false
390+
show_related_blogs: true
391391
---
392392
```
393393

394-
This will hide it from the page.
394+
This will show it on the page, assuming there is a matching blog. If there is no
395+
match then it remains hidden.

docs/best-practices/choosing_a_primary_key.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar_label: 'Choosing a Primary Key'
55
title: 'Choosing a Primary Key'
66
description: 'Page describing how to choose a primary key in ClickHouse'
77
keywords: ['primary key']
8+
show_related_blogs: true
89
---
910

1011
import Image from '@theme/IdealImage';

docs/best-practices/json_type.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar_label: 'Using JSON'
55
title: 'Use JSON where appropriate'
66
description: 'Page describing when to use JSON'
77
keywords: ['JSON']
8+
show_related_blogs: true
89
---
910

1011
ClickHouse now offers a native JSON column type designed for semi-structured and dynamic data. It's important to clarify that **this is a column type, not a data format**—you can insert JSON into ClickHouse as a string or via supported formats like [JSONEachRow](/docs/interfaces/formats/JSONEachRow), but that does not imply using the JSON column type. Users should only use the JSON type when the structure of their data is dynamic, not when they simply happen to store JSON.

docs/best-practices/minimize_optimize_joins.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ sidebar_position: 10
44
sidebar_label: 'Minimize and Optimize JOINs'
55
title: 'Minimize and optimize JOINs'
66
description: 'Page describing best practices for JOINs'
7-
keywords: ['joins', 'join algorithm']
7+
keywords: ['JOIN', 'Join Algorithm']
8+
show_related_blogs: true
89
---
910

1011
import Image from '@theme/IdealImage';

docs/best-practices/selecting_an_insert_strategy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar_label: 'Selecting an insert strategy'
55
title: 'Selecting an insert strategy'
66
description: 'Page describing how to choose an insert strategy in ClickHouse'
77
keywords: ['INSERT', 'asynchronous inserts', 'compression', 'batch inserts']
8+
show_related_blogs: true
89
---
910

1011
import Image from '@theme/IdealImage';

docs/best-practices/use_materialized_views.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar_label: 'Use Materialized Views'
55
title: 'Use Materialized Views'
66
description: 'Page describing Materialized Views'
77
keywords: ['materialized views', 'medallion architecture']
8+
show_related_blogs: true
89
---
910

1011
import Image from '@theme/IdealImage';

docs/best-practices/using_data_skipping_indices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar_label: 'Data Skipping Indices'
55
title: 'Use data skipping indices where appropriate'
66
description: 'Page describing how and when to use data skipping indices'
77
keywords: ['data skipping index', 'skip index']
8+
show_related_blogs: true
89
---
910

1011
import Image from '@theme/IdealImage';

docs/chdb/guides/querying-pandas.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: 'How to query Pandas DataFrames with chDB'
33
sidebar_label: 'Querying Pandas'
44
slug: /chdb/guides/pandas
55
description: 'Learn how to query Pandas DataFrames with chDB'
6-
keywords: ['chdb', 'pandas']
6+
keywords: ['chDB', 'Pandas']
7+
show_related_blogs: true
78
---
89

910
[Pandas](https://pandas.pydata.org/) is a popular library for data manipulation and analysis in Python.

docs/deployment-modes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ slug: /deployment-modes
33
sidebar_label: 'Deployment modes'
44
description: 'ClickHouse offers four deployment options that all use the same powerful database engine, just packaged differently to suit your specific needs.'
55
title: 'Deployment modes'
6-
keywords: ['chDB', 'clickhouse-local', 'ClickHouse Cloud']
6+
keywords: ['Deployment Modes', 'chDB', 'clickhouse-local', 'ClickHouse Cloud']
7+
show_related_blogs: true
78
---
89

910
import chServer from '@site/static/images/deployment-modes/ch-server.png';

docs/getting-started/example-datasets/github.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar_label: 'Github Repo'
55
sidebar_position: 1
66
slug: /getting-started/example-datasets/github
77
title: 'Writing Queries in ClickHouse using GitHub Data'
8+
keywords: ['Github']
9+
show_related_blogs: true
810
---
911

1012
import Image from '@theme/IdealImage';
@@ -2457,11 +2459,3 @@ LIMIT 20
24572459
```
24582460

24592461
We welcome exact and improved solutions here.
2460-
2461-
2462-
## Related Content {#related-content}
2463-
2464-
- Blog: [Git commits and our community](https://clickhouse.com/blog/clickhouse-git-community-commits)
2465-
- Blog: [Window and array functions for Git commit sequences](https://clickhouse.com/blog/clickhouse-window-array-functions-git-commits)
2466-
- Blog: [Building a Real-time Analytics Apps with ClickHouse and Hex](https://clickhouse.com/blog/building-real-time-applications-with-clickhouse-and-hex-notebook-keeper-engine)
2467-
- Blog: [A Story of Open-source GitHub Activity using ClickHouse + Grafana](https://clickhouse.com/blog/introduction-to-clickhouse-and-grafana-webinar)

0 commit comments

Comments
 (0)