This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
The following commit(s) were added to refs/heads/master by this push:
new 2654c6a Fix the tag number of en/cn blogs (#193)
2654c6a is described below
commit 2654c6a928f7d1f6e7c7accf5263cef00568fd35
Author: Juntao Zhang <[email protected]>
AuthorDate: Sun Jan 10 23:11:57 2021 +0800
Fix the tag number of en/cn blogs (#193)
---
config.toml | 1 +
content/_index.html | 14 ++--
content/zh/2018-05-24-skywalking-net/index.md | 2 +-
.../index.md | 4 +-
.../index.md | 2 +-
.../index.md | 4 +-
.../index.md | 4 +-
.../2019-01-02-understand-trace-trans2cn/index.md | 4 +-
.../zh/2019-01-03-monitor-microservice/index.md | 4 +-
.../zh/2019-01-21-agent-plugin-practice/index.md | 4 +-
.../zh/2019-01-24-skywalking-remote-debug/index.md | 5 +-
.../zh/2019-02-24-skywalking-pk-pinpoint/index.md | 4 +-
.../index.md | 4 +-
.../index.md | 2 +-
.../index.md | 4 +-
content/zh/2019-10-08-how-to-use-sw-chart/index.md | 4 +-
.../index.md | 4 +-
.../zh/2020-04-19-skywalking-quick-start/index.md | 2 +-
.../zh/2020-06-21-skywalking8-0-1-release/index.md | 2 +-
.../zh/2020-07-26-apdex-and-skywalking/index.md | 4 +-
.../index.md | 2 +-
.../zh/2020-08-13-cloud-native-academy/index.md | 4 +-
content/zh/2020-10-25-coscon20-swck/index.md | 4 +-
.../zh/2020-10-29-skywalking8-2-release/index.md | 4 +-
content/zh/2020-11-23-devcon/index.md | 4 +-
content/zh/2020-11-30-pycon/index.md | 2 +-
content/zh/2020-12-13-skywalking-alarm/index.md | 4 +-
.../index.md | 2 +-
.../index.md | 2 +-
.../index.md | 2 +-
.../index.md | 2 +-
themes/docsy/assets/scss/_blog.scss | 95 +++++++++++++++-------
themes/docsy/assets/scss/_custom_tags.scss | 4 -
themes/docsy/assets/scss/main.scss | 1 +
themes/docsy/layouts/blog/baseof.html | 10 +--
themes/docsy/layouts/partials/scripts.html | 2 +-
themes/docsy/layouts/partials/tags-en.html | 17 ----
themes/docsy/layouts/partials/tags-zh.html | 8 +-
themes/docsy/layouts/partials/tags.html | 87 +-------------------
themes/docsy/layouts/partials/toc.html | 34 +++++++-
themes/docsy/layouts/taxonomy/baseof.html | 87 ++++++++++++++++++--
themes/docsy/layouts/taxonomy/tag.html | 2 +-
.../layouts/taxonomy/{tag.html => zh-tag.html} | 6 +-
themes/docsy/layouts/zh/baseof.html | 9 +-
themes/docsy/layouts/zh/content.html | 4 +-
45 files changed, 257 insertions(+), 219 deletions(-)
diff --git a/config.toml b/config.toml
index 3ec1179..73922c3 100644
--- a/config.toml
+++ b/config.toml
@@ -19,6 +19,7 @@ enableMissingTranslationPlaceholders = true
# disableKinds = ["taxonomy", "taxonomyTerm"]
[taxonomies]
tag = "tags"
+ zh-tag = "zh_tags"
# Highlighting config
pygmentsCodeFences = true
diff --git a/content/_index.html b/content/_index.html
index a892480..c978713 100644
--- a/content/_index.html
+++ b/content/_index.html
@@ -5,13 +5,13 @@ linkTitle = "Apache SkyWalking"
{{< blocks/cover title="Apache SkyWalking" image_anchor="top" height="full"
color="dark" >}}
<div class="mx-auto">
- <a class="btn btn-lg btn-primary mr-3 mb-4"
href="https://github.com/apache/skywalking/tree/master/docs">
- Quick Start<i class="fas fa-arrow-alt-circle-right ml-2"></i>
- </a>
- <a class="btn btn-lg btn-secondary mr-3 mb-4"
href="https://github.com/apache/skywalking">
- GitHub<i class="fab fa-github ml-2 "></i>
- </a>
- <p class="lead mt-5">
+ <a class="btn btn-lg btn-primary mr-3 mb-4"
href="https://github.com/apache/skywalking/tree/master/docs">
+ Quick Start<i class="fas fa-arrow-alt-circle-right ml-2"></i>
+ </a>
+ <a class="btn btn-lg btn-secondary mr-3 mb-4"
href="https://github.com/apache/skywalking">
+ GitHub<i class="fab fa-github ml-2 "></i>
+ </a>
+ <p class="lead mt-5">
Application performance monitor tool for distributed systems,
especially designed for microservices, cloud native and container-based
(Docker, Kubernetes, Mesos) architectures.
</p>
diff --git a/content/zh/2018-05-24-skywalking-net/index.md
b/content/zh/2018-05-24-skywalking-net/index.md
index 6baf399..7755420 100755
--- a/content/zh/2018-05-24-skywalking-net/index.md
+++ b/content/zh/2018-05-24-skywalking-net/index.md
@@ -3,7 +3,7 @@ title: "Apache SkyWalking 为.NET Core带来开箱即用的分布式追踪和应
date: 2018-05-24
author: 刘浩扬(SkyWalking .NET Core 探针维护者)
description: "SkyWalking .NET Core SDK 现已可用。"
-tags:
+zh_tags:
- DotNetCore
- Agent
---
diff --git a/content/zh/2018-12-18-apache-skywalking-5-0-userguide/index.md
b/content/zh/2018-12-18-apache-skywalking-5-0-userguide/index.md
index 130cc19..202cbdc 100755
--- a/content/zh/2018-12-18-apache-skywalking-5-0-userguide/index.md
+++ b/content/zh/2018-12-18-apache-skywalking-5-0-userguide/index.md
@@ -3,7 +3,7 @@ title: Apache SkyWalking 5.0 中文版图文详解使用手册
date: 2018-12-18
author: 工匠小猪猪的技术世界(微信公众号)
description: 本文纯粹介绍 Apache SkyWalking 如何使用,面对的群体包括了解和不了解 SkyWalking
原理的使用者和打算使用者。
-tags:
+zh_tags:
- User Manual
- Web UI
---
@@ -159,4 +159,4 @@ Trace 是一个非常实用的功能,用户可以根据精确的 TraceId 去
## 参考资料
- https://twitter.com/AsfSkyWalking/status/1013616673218179072
-- https://twitter.com/AsfSkyWalking/status/1013617100143800320
\ No newline at end of file
+- https://twitter.com/AsfSkyWalking/status/1013617100143800320
diff --git a/content/zh/2018-12-21-skywalking-apm-sniffer-beginning/index.md
b/content/zh/2018-12-21-skywalking-apm-sniffer-beginning/index.md
index 06cae69..60bca94 100755
--- a/content/zh/2018-12-21-skywalking-apm-sniffer-beginning/index.md
+++ b/content/zh/2018-12-21-skywalking-apm-sniffer-beginning/index.md
@@ -3,7 +3,7 @@ title: SkyWalking apm-sniffer 原理学习与插件编写
date: 2018-12-21
author: 赵禹光
description: SkyWalking apm-sniffer 插件编写实践 与 ByteBuddy实现类转化的实践。
-tags:
+zh_tags:
- User Manual
- Development
---
diff --git a/content/zh/2018-12-21-skywalking-source-code-read/index.md
b/content/zh/2018-12-21-skywalking-source-code-read/index.md
index 6e3bd45..c5a6861 100755
--- a/content/zh/2018-12-21-skywalking-source-code-read/index.md
+++ b/content/zh/2018-12-21-skywalking-source-code-read/index.md
@@ -3,7 +3,7 @@ title: "SkyWalking 源码解析合集"
date: 2018-12-21
author: 谭建
description: 源码解析的博客,可以帮助你更好的读懂 SkyWalking 的源码。
-tags:
+zh_tags:
- User Manual
- Source Code
---
@@ -62,4 +62,4 @@ tags:
## SkyWalking 6.X 源码解析合集
-- [《SkyWalking 6.x 源码分析 ——
调试环境搭建》](http://www.iocoder.cn/SkyWalking/6/build-debugging-environment/?vip&guanfang)
\ No newline at end of file
+- [《SkyWalking 6.x 源码分析 ——
调试环境搭建》](http://www.iocoder.cn/SkyWalking/6/build-debugging-environment/?vip&guanfang)
diff --git a/content/zh/2019-01-02-skywalking-elasticsearch-basic/index.md
b/content/zh/2019-01-02-skywalking-elasticsearch-basic/index.md
index cc5770d..c7af644 100755
--- a/content/zh/2019-01-02-skywalking-elasticsearch-basic/index.md
+++ b/content/zh/2019-01-02-skywalking-elasticsearch-basic/index.md
@@ -3,7 +3,7 @@ title: 关于 ElastiSsearch 因 basic 认证导致 SkyWalking 无法正常调用
date: 2019-01-02
author: 刘离勇
description: ElasticSearch basic 验证。
-tags:
+zh_tags:
- User Manual
- ElasticSearch
---
@@ -59,4 +59,4 @@ server {
}
```
-看到如上结果那么恭喜你成功了。
\ No newline at end of file
+看到如上结果那么恭喜你成功了。
diff --git a/content/zh/2019-01-02-understand-trace-trans2cn/index.md
b/content/zh/2019-01-02-understand-trace-trans2cn/index.md
index 3540c7b..e375d93 100755
--- a/content/zh/2019-01-02-understand-trace-trans2cn/index.md
+++ b/content/zh/2019-01-02-understand-trace-trans2cn/index.md
@@ -3,7 +3,7 @@ title: 更容易理解将要到来的分布式链路追踪 6.0GA (翻译)
date: 2019-01-02
author: 吴晟
description:
在当前的微服务架构中分布式链路追踪是很有必要的一部分,但是对于一些用户来说如何去理解和使用分布式链路追踪的相关数据是不清楚的。这个博客概述了典型的分布式跟踪用例,以及
Skywalking 的 V6 版本中新的可视化功能。我们希望新的用户通过这些示例来更好的理解。
-tags:
+zh_tags:
- User Manual
- Tracing
---
@@ -94,4 +94,4 @@ Skywakling 6计划在2019年的1月底完成release。您可以通过以下渠
+ 关注 [skywalking推特](https://twitter.com/ASFSkyWalking)
+ 订阅邮件:[email protected]。发送邮件到 [email protected] 来订阅.
-+ 加入[Gitter](https://gitter.im/OpenSkywalking/Lobby)聊天室
\ No newline at end of file
++ 加入[Gitter](https://gitter.im/OpenSkywalking/Lobby)聊天室
diff --git a/content/zh/2019-01-03-monitor-microservice/index.md
b/content/zh/2019-01-03-monitor-microservice/index.md
index ef04bf3..f4113d6 100755
--- a/content/zh/2019-01-03-monitor-microservice/index.md
+++ b/content/zh/2019-01-03-monitor-microservice/index.md
@@ -3,7 +3,7 @@ title: SkyWalking 微服务监控分析
date: 2019-01-03
author: 赵瑞栋
description:
微服务框架落地后,分布式部署架构带来的问题就会迅速凸显出来。服务之间的相互调用过程中,如果业务出现错误或者异常,如何快速定位问题?如何跟踪业务调用链路?如何分析解决业务瓶颈?本文我们来看看如何解决以上问题。
-tags:
+zh_tags:
- User Manual
---
@@ -281,4 +281,4 @@
https://skywalkingtest.github.io/Agent-Benchmarks/README_zh.html。
**问9:sw对于商用的web中间件,如bes、tongweb、websphere、weblogic的支持如何?**
-答:商业组件支持的比较少,因为涉及到相关license的问题,sw项目组需要获得他们的支持来进行数据上报,据我了解,支持不是很好。
\ No newline at end of file
+答:商业组件支持的比较少,因为涉及到相关license的问题,sw项目组需要获得他们的支持来进行数据上报,据我了解,支持不是很好。
diff --git a/content/zh/2019-01-21-agent-plugin-practice/index.md
b/content/zh/2019-01-21-agent-plugin-practice/index.md
index f0521f0..74b5940 100755
--- a/content/zh/2019-01-21-agent-plugin-practice/index.md
+++ b/content/zh/2019-01-21-agent-plugin-practice/index.md
@@ -3,7 +3,7 @@ title: SkyWalking Java 插件贡献实践
date: 2019-01-21
author: 赵禹光
description: 本文将基于SkyWalking 6.0.0-GA-SNAPSHOT版本,以编写Redis客户端Lettuce的SkyWalking
Java Agent 插件为例,与大家分享我贡献PR的过程,希望对大家了解SkyWalking Java Agent插件有所帮助。
-tags:
+zh_tags:
- User Manual
- Development
- Open Source Contribution
@@ -124,4 +124,4 @@ PR的url:[Support lettuce
plugin](https://github.com/apache/incubator-skywalki
<a
name="AbstractSpan"></a>span:org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan接口定义了所有Span实现需要完成的方法;
-<a name="Redisson"></a>Redisson是一个非常易用Java的Redis客户端,
它没有学习曲线,无需知道任何Redis命令即可开始使用它。了解细节可点击阅读 [redisson.org](https://redisson.org/);
\ No newline at end of file
+<a name="Redisson"></a>Redisson是一个非常易用Java的Redis客户端,
它没有学习曲线,无需知道任何Redis命令即可开始使用它。了解细节可点击阅读 [redisson.org](https://redisson.org/);
diff --git a/content/zh/2019-01-24-skywalking-remote-debug/index.md
b/content/zh/2019-01-24-skywalking-remote-debug/index.md
index 254b136..cf38ba5 100755
--- a/content/zh/2019-01-24-skywalking-remote-debug/index.md
+++ b/content/zh/2019-01-24-skywalking-remote-debug/index.md
@@ -3,10 +3,11 @@ title: SkyWalking的远程调试
date: 2019-01-24
author: 丁兵兵
description:
"远程调试的目的是为了解决代码或者说程序包部署在服务器上运行,只能通过log来查看问题,以及不能跟在本地IDE运行debug那样查找问题,观看程序运行流程..."
-tags:
+zh_tags:
- User Manual
- Development
-- JavaAgent
+- Java
+- Agent
---
ps:本文仅写给菜鸟,以及不知道如何远程调试的程序员,并且仅仅适用skywalking的远程调试
diff --git a/content/zh/2019-02-24-skywalking-pk-pinpoint/index.md
b/content/zh/2019-02-24-skywalking-pk-pinpoint/index.md
index 4b056c8..b73053a 100755
--- a/content/zh/2019-02-24-skywalking-pk-pinpoint/index.md
+++ b/content/zh/2019-02-24-skywalking-pk-pinpoint/index.md
@@ -3,7 +3,7 @@ title: APM巅峰对决:SkyWalking P.K. Pinpoint
date: 2019-02-24
author: 王振飞
description:
这应该是目前两款最优秀的开源APM软件:skywalking和Pinpoint,本文基于它们截止2019年2月最新的版本,进行最全方位的对比。看看到底谁能更胜一筹...
-tags:
+zh_tags:
- Use Case
---
@@ -185,4 +185,4 @@ skywalking和Pinpoint支持的中间件对比说明:
---
-> 如果觉得本文不错,请关注作者公众号:【**阿飞的博客**】,多谢!
\ No newline at end of file
+> 如果觉得本文不错,请关注作者公众号:【**阿飞的博客**】,多谢!
diff --git
a/content/zh/2019-03-29-introduction-of-skywalking-and-simple-practice/index.md
b/content/zh/2019-03-29-introduction-of-skywalking-and-simple-practice/index.md
index a81a5d5..33094a4 100755
---
a/content/zh/2019-03-29-introduction-of-skywalking-and-simple-practice/index.md
+++
b/content/zh/2019-03-29-introduction-of-skywalking-and-simple-practice/index.md
@@ -3,7 +3,7 @@ title: SkyWalking调研与初步实践
date: 2019-03-23
author: linz.ink
description:
在为公司进行调用链跟踪系统进行技术选型的过程中,详细的了解了一下Skywalking,同时也进行了初步的实践,给其他同样在了解Skywalking的同学提供一些参考。
-tags:
+zh_tags:
- Use Case
---
@@ -506,4 +506,4 @@ ES集群负载:
- 增加receiver:整合ELK,通过日志采集采集数据,降低异构系统的采集开发成本
- 优化数据结构,提供基于业务关键数据的查询接口
- 优化探针,采集更多的业务数据,争取代替传统的ELK日志简单查询,绝大部分异常诊断和定位均可以通过Skywalking即可完成
- - 增加业务指标监控的模式,能够自定义业务指标(目前官方已经在实现 [Metric
Exporter](https://github.com/apache/incubator-skywalking/blob/master/docs/en/setup/backend/metric-exporter.md)
)
\ No newline at end of file
+ - 增加业务指标监控的模式,能够自定义业务指标(目前官方已经在实现 [Metric
Exporter](https://github.com/apache/incubator-skywalking/blob/master/docs/en/setup/backend/metric-exporter.md)
)
diff --git a/content/zh/2019-08-30-how-to-use-skywalking-agent/index.md
b/content/zh/2019-08-30-how-to-use-skywalking-agent/index.md
index cabe5a6..06e12c9 100755
--- a/content/zh/2019-08-30-how-to-use-skywalking-agent/index.md
+++ b/content/zh/2019-08-30-how-to-use-skywalking-agent/index.md
@@ -3,7 +3,7 @@ title: 如何使用 SkyWalking Agent ?
date: 2019-08-30
author: innerpeacez
description: 本文将教你如何在 docker 或者 kubernetes 使用Skywalking Agent。
-tags:
+zh_tags:
- User Manual
---
diff --git
a/content/zh/2019-09-12-apache-skyWalking-committer-apply-process/index.md
b/content/zh/2019-09-12-apache-skyWalking-committer-apply-process/index.md
index 8792c81..97c3610 100755
--- a/content/zh/2019-09-12-apache-skyWalking-committer-apply-process/index.md
+++ b/content/zh/2019-09-12-apache-skyWalking-committer-apply-process/index.md
@@ -3,7 +3,7 @@ title: Apache SkyWalking Committer申请流程
date: 2019-09-12
author: x22x22
description: 本文介绍申请Apache SkyWalking Committer流程。
-tags:
+zh_tags:
- Open Source Contribution
---
@@ -53,4 +53,4 @@ tags:
## 其它提示
1. GitHub其它一些不重要设置
- * 在GitHub首页展示Apache组织的logo: 进入[Apache
GitHub组织](https://github.com/apache)->People->搜索自己的GitHubID->将`Private`改成`Public`
\ No newline at end of file
+ * 在GitHub首页展示Apache组织的logo: 进入[Apache
GitHub组织](https://github.com/apache)->People->搜索自己的GitHubID->将`Private`改成`Public`
diff --git a/content/zh/2019-10-08-how-to-use-sw-chart/index.md
b/content/zh/2019-10-08-how-to-use-sw-chart/index.md
index 53c32c7..425dc05 100755
--- a/content/zh/2019-10-08-how-to-use-sw-chart/index.md
+++ b/content/zh/2019-10-08-how-to-use-sw-chart/index.md
@@ -3,7 +3,7 @@ title: 使用 chart 部署 SkyWalking
date: 2019-10-08
author: innerpeacez
description: 本文主要讲述的是如何使用 Helm Charts 将 SkyWalking 部署到 Kubernetes 集群中。
-tags:
+zh_tags:
- User Manual
---
@@ -158,4 +158,4 @@ helm install -n test stable/skywalking
### 总结
-四种方式都可以进行部署,如果你想要自定义 chart ,需要使用上述两种本地方法及 harbor 存储的方式,以便你修改好 chart 之后进行部署.
\ No newline at end of file
+四种方式都可以进行部署,如果你想要自定义 chart ,需要使用上述两种本地方法及 harbor 存储的方式,以便你修改好 chart 之后进行部署.
diff --git
a/content/zh/2020-03-23-using-profiling-to-fix-the-blind-spot-of-distributed-tracing/index.md
b/content/zh/2020-03-23-using-profiling-to-fix-the-blind-spot-of-distributed-tracing/index.md
index 791d15f..c4441fb 100755
---
a/content/zh/2020-03-23-using-profiling-to-fix-the-blind-spot-of-distributed-tracing/index.md
+++
b/content/zh/2020-03-23-using-profiling-to-fix-the-blind-spot-of-distributed-tracing/index.md
@@ -3,7 +3,7 @@ title: 在线代码级性能剖析,补全分布式追踪的最后一块“短
date: 2020-03-23
author: 吴晟、刘晗
description: 在本文中,我们详细介绍了代码级的性能剖析方法,以及我们在 Apache SkyWalking
中的实践。希望能够帮助大家在线定位系统性能短板,缓解系统压力。
-tags:
+zh_tags:
- Java
- Agent
- Tracing
@@ -88,4 +88,4 @@ try {
第一, 对于高频反复执行的方法,如循环调用,可能会误报为缓慢方法。但这并不是大问题,因为如果反复执行的耗时较长,必然是系统需要关注的性能瓶颈。
-第二, 由于性能栈快照有一定的性能消耗,所以采集周期不宜过密,如 SkyWalking 实践中,不支持小于 10ms
的采集间隔。所以如果问题方法执行时间过小(比如在 10 毫秒内波动),此方法并不适用。我们也再此强调,**方法论和工具的强大,始终不能代替程序员**。
\ No newline at end of file
+第二, 由于性能栈快照有一定的性能消耗,所以采集周期不宜过密,如 SkyWalking 实践中,不支持小于 10ms
的采集间隔。所以如果问题方法执行时间过小(比如在 10 毫秒内波动),此方法并不适用。我们也再此强调,**方法论和工具的强大,始终不能代替程序员**。
diff --git a/content/zh/2020-04-19-skywalking-quick-start/index.md
b/content/zh/2020-04-19-skywalking-quick-start/index.md
index 6a05ca6..6f1e5c6 100755
--- a/content/zh/2020-04-19-skywalking-quick-start/index.md
+++ b/content/zh/2020-04-19-skywalking-quick-start/index.md
@@ -3,7 +3,7 @@ title: SkyWalking 极简入门
date: 2020-04-19
author: 芋道源码
description: 从 0 开始入门 SkyWalking,搭建 SkyWalking 服务,并接入 Java 项目中实现分布式链路追踪。
-tags:
+zh_tags:
- User Manual
---
diff --git a/content/zh/2020-06-21-skywalking8-0-1-release/index.md
b/content/zh/2020-06-21-skywalking8-0-1-release/index.md
index dda48fc..295d6c9 100644
--- a/content/zh/2020-06-21-skywalking8-0-1-release/index.md
+++ b/content/zh/2020-06-21-skywalking8-0-1-release/index.md
@@ -3,7 +3,7 @@ title: "Apache SkyWalking 8.0.1 发布"
date: 2020-06-21
author: 吴晟
description: "与 8.0.0 相比,此版本包含一个热修复程序。"
-tags:
+zh_tags:
- Release Blog
---
diff --git a/content/zh/2020-07-26-apdex-and-skywalking/index.md
b/content/zh/2020-07-26-apdex-and-skywalking/index.md
index 0f3c36a..7ed40f7 100755
--- a/content/zh/2020-07-26-apdex-and-skywalking/index.md
+++ b/content/zh/2020-07-26-apdex-and-skywalking/index.md
@@ -3,7 +3,7 @@ title: 度量服务网格健康度——Apdex得分
date: 2020-07-26
author: Srinivasan Ramaswamy
description: 在管理Service Mesh的服务时,"你感觉怎么样" 比 "你的症状是什么" 更重要。Apdex帮助了解服务的健康状况。
-tags:
+zh_tags:
- User Manual
---
@@ -147,4 +147,4 @@ Tetrate的“服务网格健康程度”方法不仅提供了管理,监视和
- [https://en.wikipedia.org/wiki/Apdex](https://en.wikipedia.org/wiki/Apdex)
- [https://www.apdex.org/overview.html](https://www.apdex.org/overview.html)
-
[https://www.apdex.org/index.php/specifications/](https://www.apdex.org/index.php/specifications/)
-- [https://skywalking.apache.org/](https://skywalking.apache.org/)
\ No newline at end of file
+- [https://skywalking.apache.org/](https://skywalking.apache.org/)
diff --git
a/content/zh/2020-08-11-observability-at-scale-skywalking-it-is/index.md
b/content/zh/2020-08-11-observability-at-scale-skywalking-it-is/index.md
index 1e51348..5bb048b 100755
--- a/content/zh/2020-08-11-observability-at-scale-skywalking-it-is/index.md
+++ b/content/zh/2020-08-11-observability-at-scale-skywalking-it-is/index.md
@@ -3,7 +3,7 @@ title: SkyWalking 为超大规模而生
date: 2020-08-11
author: 吴晟
description: SkyWalking为超大规模而生。无论你的微服务是否在服务网格(Service
Mesh)架构下,它都可以提供高性能且一致性的监控。
-tags:
+zh_tags:
- Use Case
---
diff --git a/content/zh/2020-08-13-cloud-native-academy/index.md
b/content/zh/2020-08-13-cloud-native-academy/index.md
index a594823..f9d2f30 100644
--- a/content/zh/2020-08-13-cloud-native-academy/index.md
+++ b/content/zh/2020-08-13-cloud-native-academy/index.md
@@ -3,7 +3,7 @@ title: "[视频] 云原生学院 - 后分布式追踪时代的性能问题定位
date: 2020-08-13
author: 吴晟
description: "由云原生社区主办的线上直播分享。"
-tags:
+zh_tags:
- Conference
- Video
---
@@ -23,4 +23,4 @@ tags:
听众能够全面的了解分布式追踪的技术背景,和技术原理。以及为什么这些年,分布式追踪和基于分布式追踪的APM系统,Apache
SkyWalking,得到了广泛的使用、集成,甚至云厂商的支持。同时,除了针对追踪数据,我们应该关注更多的是,如何利用其产生的监控数据,定位系统的性能问题。以及它有哪些短板,应该如何弥补。
-{{< bilibili BV1D541187kC >}}
\ No newline at end of file
+{{< bilibili BV1D541187kC >}}
diff --git a/content/zh/2020-10-25-coscon20-swck/index.md
b/content/zh/2020-10-25-coscon20-swck/index.md
index c608acc..39d0c65 100644
--- a/content/zh/2020-10-25-coscon20-swck/index.md
+++ b/content/zh/2020-10-25-coscon20-swck/index.md
@@ -3,7 +3,7 @@ title: "[视频] Apache SkyWalking Cloud on Kubernetes"
date: 2020-10-25
author: 高洪涛
description: "中国开源年会2020,云原生与微服务专场"
-tags:
+zh_tags:
- Conference
- Video
---
@@ -18,4 +18,4 @@ tags:
3. 观测ServiceMesh,包含于Istio的自动集成。
4. 目前的工作进展和对未来的规划。
-{{< bilibili BV1ia411c7Hc >}}
\ No newline at end of file
+{{< bilibili BV1ia411c7Hc >}}
diff --git a/content/zh/2020-10-29-skywalking8-2-release/index.md
b/content/zh/2020-10-29-skywalking8-2-release/index.md
index d0aace3..ae3463b 100755
--- a/content/zh/2020-10-29-skywalking8-2-release/index.md
+++ b/content/zh/2020-10-29-skywalking8-2-release/index.md
@@ -3,7 +3,7 @@ title: "SkyWalking 8.2.0 中的新特性: 浏览器端监控; 使用标签查询
date: 2020-10-29
author: "柯振旭, 吴晟, 高洪涛, Tevah Platt. tetrate.io"
description: "浏览器端监控; 通过 tag 查找链路数据; 指标分析语言; 复合告警规则"
-tags:
+zh_tags:
- Release Blog
---
@@ -65,4 +65,4 @@ PV(page views,页面浏览量), UV(unique visitors,独立访客数
### Apache SkyWalking DevCon 报名信息
Apache SkyWalking DevCon 2020 开始报名了。
-2020 年 11 月 14
日,欢迎大家[来线下参加活动和交流](https://www.huodongxing.com/event/3567284406200),
或者[报名观看线上直播](https://www.itdks.com/Home/Act/apply?id=5392&mUid=57437)。
\ No newline at end of file
+2020 年 11 月 14
日,欢迎大家[来线下参加活动和交流](https://www.huodongxing.com/event/3567284406200),
或者[报名观看线上直播](https://www.itdks.com/Home/Act/apply?id=5392&mUid=57437)。
diff --git a/content/zh/2020-11-23-devcon/index.md
b/content/zh/2020-11-23-devcon/index.md
index 5e84afe..61abc1e 100644
--- a/content/zh/2020-11-23-devcon/index.md
+++ b/content/zh/2020-11-23-devcon/index.md
@@ -3,7 +3,7 @@ title: "[视频] SkyWalking DevCon 2020"
date: 2020-11-23
author: "吴晟"
description: "2020年11月14日Apache SkyWalking 2020 DevCon 线下活动视频"
-tags:
+zh_tags:
- Conference
- Video
---
@@ -74,4 +74,4 @@ ___
王院生 深圳支流科技创始人兼 CTO,Apache APISIX 创始人 & PMC成员
-{{< bilibili BV1xZ4y1G7D7 >}}
\ No newline at end of file
+{{< bilibili BV1xZ4y1G7D7 >}}
diff --git a/content/zh/2020-11-30-pycon/index.md
b/content/zh/2020-11-30-pycon/index.md
index b251956..97a6c4c 100644
--- a/content/zh/2020-11-30-pycon/index.md
+++ b/content/zh/2020-11-30-pycon/index.md
@@ -3,7 +3,7 @@ title: "[视频] PyCon China 2020 - Python 微服务应用性能监控"
date: 2020-11-30
author: "柯振旭"
description: "2020 年 11 月 28 日PyCon China 2020 线上分享视频"
-tags:
+zh_tags:
- Conference
- Video
---
diff --git a/content/zh/2020-12-13-skywalking-alarm/index.md
b/content/zh/2020-12-13-skywalking-alarm/index.md
index 7ebac74..132d48d 100644
--- a/content/zh/2020-12-13-skywalking-alarm/index.md
+++ b/content/zh/2020-12-13-skywalking-alarm/index.md
@@ -3,7 +3,7 @@ title: SkyWalking报警发送到钉钉群
date: 2020-12-13
author: tristan-tsl
description: 本文将详细介绍如何配置告警发送到钉钉群
-tags:
+zh_tags:
- User Manual
---
@@ -51,4 +51,4 @@
https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-a
https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq/uKPlK
-谢谢观看, 后续我会在SkyWalking告警这块写更多实战文章
\ No newline at end of file
+谢谢观看, 后续我会在SkyWalking告警这块写更多实战文章
diff --git a/content/zh/2020-12-19-summer2020-activity-sharing/index.md
b/content/zh/2020-12-19-summer2020-activity-sharing/index.md
index 1956ed4..4820448 100644
--- a/content/zh/2020-12-19-summer2020-activity-sharing/index.md
+++ b/content/zh/2020-12-19-summer2020-activity-sharing/index.md
@@ -3,7 +3,7 @@ title: 暑期2020活动心得分享
date: 2020-12-19
author: 江华禧
description: 学生通过暑期2020活动参与 Apache SkyWalking 项目的一些感悟
-tags:
+zh_tags:
- Open Source Promotion Plan
- Open Source Contribution
---
diff --git a/content/zh/2020-12-20-summer2020-activity-sharing2/index.md
b/content/zh/2020-12-20-summer2020-activity-sharing2/index.md
index 28e3501..46759be 100644
--- a/content/zh/2020-12-20-summer2020-activity-sharing2/index.md
+++ b/content/zh/2020-12-20-summer2020-activity-sharing2/index.md
@@ -3,7 +3,7 @@ title: 暑期 2020 活动学生(张可)心得分享
date: 2020-12-20
author: 张可
description: 学生(张可)参与暑期 2020 活动中 Apache SkyWalking 项目的感受与收获
-tags:
+zh_tags:
- Open Source Promotion Plan
- Open Source Contribution
---
diff --git
a/content/zh/observe-service-mesh-with-skywalking-and-envoy-access-log-service/index.md
b/content/zh/observe-service-mesh-with-skywalking-and-envoy-access-log-service/index.md
index a2786a6..ccd0032 100644
---
a/content/zh/observe-service-mesh-with-skywalking-and-envoy-access-log-service/index.md
+++
b/content/zh/observe-service-mesh-with-skywalking-and-envoy-access-log-service/index.md
@@ -3,7 +3,7 @@ title: 使用 SkyWalking 和 Envoy 访问日志服务对服务网格进行观察
date: 2020-12-03
author: 柯振旭, 吴晟, Tevah Platt. tetrate.io
description: 本文将详细介绍如何摆脱 Istio Mixer 使用 Apache SkyWalking 来观测 service mesh
-tags:
+zh_tags:
- Service Mesh
---
diff --git
a/content/zh/whats-new-in-skywalking-metersystem-and-mesh-monitoring-in-8-0/index.md
b/content/zh/whats-new-in-skywalking-metersystem-and-mesh-monitoring-in-8-0/index.md
index 1c1fcec..edb327c 100755
---
a/content/zh/whats-new-in-skywalking-metersystem-and-mesh-monitoring-in-8-0/index.md
+++
b/content/zh/whats-new-in-skywalking-metersystem-and-mesh-monitoring-in-8-0/index.md
@@ -3,7 +3,7 @@ title: "SkyWalking 的最新动向?8.0 版本的 MeterSystem 和网格监控"
date: 2020-06-15
author: "吴晟, 高洪涛, Tevah Platt(tetrate.io)"
description: "可观察性平台和开源应用程序性能监控(APM)项目 Apache SkyWalking,今天刚宣布 8.0
的发布版本。素以强劲指标、追踪与服务网格能力见称的 SkyWalking ,在最新版本中的功能性延展到用户渴求已久的功能 —— 将指标功能和包括
Prometheus 的其他指标收集系统进行了融合。"
-tags:
+zh_tags:
- Release Blog
---
diff --git a/themes/docsy/assets/scss/_blog.scss
b/themes/docsy/assets/scss/_blog.scss
index 9d3b183..475e40d 100644
--- a/themes/docsy/assets/scss/_blog.scss
+++ b/themes/docsy/assets/scss/_blog.scss
@@ -1,42 +1,77 @@
// Blog related styles.
.td-blog {
- .td-rss-button {
- position: absolute;
- top: 5.5rem;
- right: 1rem;
- z-index: 22;
- }
+ .td-rss-button {
+ position: absolute;
+ top: 5.5rem;
+ right: 1rem;
+ z-index: 22;
+ }
- .td-main{
- main{
- padding-right: 0;
- padding-left: 0;
- }
- }
- .td-content p code {
- word-break:break-word!important;
+ .td-main {
+ main {
+ padding-right: 0;
+ padding-left: 0;
}
+ }
+
+ .td-content p code {
+ word-break: break-word !important;
+ }
}
-.tags-box{
- span{
- &:after{
- content: ', ';
- color: #888;
- }
- &:last-child:after{
- content: '';
- }
- }
- .fa-tags {
- font-size: 12px;
- font-weight: normal;
- padding-right: 0.15rem ;
+
+.tags-wrapper {
+ padding-left: 15px;
+ padding-right: 15px;
+}
+
+.tags-box {
+ span {
+ &:after {
+ content: ', ';
+ color: #888;
}
- .dn{
- display: none;
+
+ &:last-child:after {
+ content: '';
}
+ }
+ .fa-tags {
+ font-size: 12px;
+ font-weight: normal;
+ padding-right: 0.15rem;
+ }
}
+.dn {
+ display: none;
+}
+
+.td-main .td-toc {
+ height: auto;
+ position: relative;
+ top: 0;
+ padding-left: 0;
+ padding-right: 0;
+ overflow: visible;
+
+ #TableOfContents {
+ position: relative;
+ margin-top: 40px;
+ z-index: 9;
+ background-color: #fff;
+ width: 190px;
+ padding: 15px;
+ }
+
+ .fix {
+ position: fixed !important;
+ top: 26px;
+ z-index: 99;
+ box-shadow: 0px 0px 8px 0px rgba(198, 204, 222, 0.3);
+
+ }
+}
+
diff --git a/themes/docsy/assets/scss/_custom_tags.scss
b/themes/docsy/assets/scss/_custom_tags.scss
index 9d5e23e..2f23c5f 100644
--- a/themes/docsy/assets/scss/_custom_tags.scss
+++ b/themes/docsy/assets/scss/_custom_tags.scss
@@ -41,10 +41,6 @@
}
}
- &:last-child {
- border: none;
- }
-
}
.count {
diff --git a/themes/docsy/assets/scss/main.scss
b/themes/docsy/assets/scss/main.scss
index 1643835..bbd1a55 100644
--- a/themes/docsy/assets/scss/main.scss
+++ b/themes/docsy/assets/scss/main.scss
@@ -33,6 +33,7 @@
footer {
//min-height: 150px;
+ z-index: 999;
@include media-breakpoint-down(md) {
//min-height: 200px;
diff --git a/themes/docsy/layouts/blog/baseof.html
b/themes/docsy/layouts/blog/baseof.html
index ac61145..724fc2b 100644
--- a/themes/docsy/layouts/blog/baseof.html
+++ b/themes/docsy/layouts/blog/baseof.html
@@ -11,15 +11,15 @@
<div class="container-fluid td-outer">
<div class="td-main">
<div class="row container container-center">
- <div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
-
- {{ partial "toc.html" . }}
- {{ partial "tags-en.html" . }}
- </div>
<main class="col-12 col-md-12 col-xl-10 pl-md-4 pr-md-4" role="main">
{{ block "main" . }}{{ end }}
</main>
+ <div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
+
+ {{ partial "tags.html" . }}
+ {{ partial "toc.html" . }}
+ </div>
</div>
</div>
{{ partial "footer.html" . }}
diff --git a/themes/docsy/layouts/partials/scripts.html
b/themes/docsy/layouts/partials/scripts.html
index f61ebae..31a99f4 100644
--- a/themes/docsy/layouts/partials/scripts.html
+++ b/themes/docsy/layouts/partials/scripts.html
@@ -1,6 +1,6 @@
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
-<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
+<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
{{ $jsBase := resources.Get "js/base.js" }}
{{ $jsAnchor := resources.Get "js/anchor.js" }}
{{ $jsSearch := resources.Get "js/search.js" | resources.ExecuteAsTemplate
"js/search.js" .Site.Home }}
diff --git a/themes/docsy/layouts/partials/tags-en.html
b/themes/docsy/layouts/partials/tags-en.html
deleted file mode 100644
index a1895a7..0000000
--- a/themes/docsy/layouts/partials/tags-en.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<div class="tags-wrapper">
- <div class="font-weight-bold post-meta ">
- <i class="fas fa-tags pr-1" aria-hidden="true"></i>
- Tags
- </div>
- <ul class="tags-box">
- {{ range $key, $taxonomy := .Site.Taxonomies.tags }}
- {{ if (where $taxonomy.Pages "Section" "blog") }}
- <li>
- <a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
- <span class="count">{{ .Count }}</span>
- </li>
- {{ end }}
- {{ end }}
- </ul>
-</div>
-
diff --git a/themes/docsy/layouts/partials/tags-zh.html
b/themes/docsy/layouts/partials/tags-zh.html
index cfde921..9005fe5 100644
--- a/themes/docsy/layouts/partials/tags-zh.html
+++ b/themes/docsy/layouts/partials/tags-zh.html
@@ -2,16 +2,14 @@
<div class="font-weight-bold post-meta ">
<i class="fas fa-tags pr-1" aria-hidden="true"></i>
Tags
- </div>
+ </div>
<ul class="tags-box">
- {{ range $key, $taxonomy := .Site.Taxonomies.tags }}
- {{ if (where $taxonomy.Pages "Section" "zh") }}
+ {{ range $key, $taxonomy := .Site.Taxonomies.zh_tags }}
<li>
- <a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
+ <a href="{{ .Page.Permalink }}" class="tag-link">{{ .Page.Title
}}</a>
<span class="count">{{ .Count }}</span>
</li>
{{ end }}
- {{ end }}
</ul>
</div>
diff --git a/themes/docsy/layouts/partials/tags.html
b/themes/docsy/layouts/partials/tags.html
index 5760ad2..3a5b990 100644
--- a/themes/docsy/layouts/partials/tags.html
+++ b/themes/docsy/layouts/partials/tags.html
@@ -4,98 +4,13 @@
Tags
</div>
<ul class="tags-box">
-
{{ range $key, $taxonomy := .Site.Taxonomies.tags }}
-
- {{ if (where $taxonomy.Pages "Section" "blog") }}
- <li class="blog dn" data-type="blog">
- <a href="{{ .Page.Permalink }}" class="tag-link">{{ .Page.Title
}}</a>
- <span class="count">{{ .Count }}</span>
- </li>
- {{ end }}
-
- {{ if (where $taxonomy.Pages "Section" "zh") }}
- <li class="zh dn" data-type="zh">
+ <li>
<a href="{{ .Page.Permalink }}" class="tag-link">{{ .Page.Title
}}</a>
<span class="count">{{ .Count }}</span>
</li>
{{ end }}
-
- {{ end }}
</ul>
</div>
-<script>
- $(function () {
- initTags();
- bindClick();
-
- function initTags() {
- var type = getTye()
- switch (type) {
- case 'blog':
- $('.tags-box .blog').show();
- replaceState('blog')
- break;
- case 'zh':
- $('.tags-box .zh').show();
- replaceState('zh')
- break;
- default:
- $('.tags-box li').show();
- }
- }
-
- function bindClick() {
- $('.tag-link').on('click', function (e) {
- e.preventDefault()
- var type = getQueryValue('type')
- var url = $(this).attr('href')
- window.location.href = url + '?type=' + type;
- })
- }
-
- function getTye() {
- var type = getQueryValue('type')
- if (type) {
- return type
- }
- var oldURL = document.referrer;
- if (oldURL.indexOf('/blog/') > -1) {
- return 'blog'
- } else if (oldURL.indexOf('/zh/') > -1) {
- return 'zh'
- }
- }
-
- function replaceState(param) {
- var newurl = updateQueryStringParameter(window.location.href, 'type',
param);
- window.history.replaceState({
- path: newurl
- }, '', newurl);
- }
-
- function updateQueryStringParameter(uri, key, value) {
- if (!value) {
- return uri;
- }
- var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
- var separator = uri.indexOf('?') !== -1 ? "&" : "?";
- if (uri.match(re)) {
- return uri.replace(re, '$1' + key + "=" + value + '$2');
- } else {
- return uri + separator + key + "=" + value;
- }
- }
- function getQueryValue(queryName) {
- var reg = new RegExp("(^|&)" + queryName + "=([^&]*)(&|$)", "i");
- var r = window.location.search.substr(1).match(reg);
- if (r != null) {
- return decodeURI(r[2]);
- } else {
- return null;
- }
- }
- })
-</script>
diff --git a/themes/docsy/layouts/partials/toc.html
b/themes/docsy/layouts/partials/toc.html
index f155f8b..9a09753 100644
--- a/themes/docsy/layouts/partials/toc.html
+++ b/themes/docsy/layouts/partials/toc.html
@@ -5,4 +5,36 @@
{{ . }}
{{ end }}
{{ end }}
-{{ end }}
\ No newline at end of file
+{{ end }}
+
+<script>
+ $(function () {
+ var $toc = $("#TableOfContents");
+ if (!$toc || !$toc.length) {
+ return;
+ }
+ var top = $toc.offset().top;
+
+ window.onscroll = debounce(setTop)
+
+ function setTop() {
+ var scrollValue = $(window).scrollTop();
+ if (scrollValue >= top - 70) {
+ $toc.addClass('fix')
+ } else {
+ $toc.removeClass('fix')
+ }
+ }
+
+ function debounce(fn, wait = 200) {
+ var timeout = null;
+ return function () {
+ clearTimeout(timeout);
+ timeout = setTimeout(() => {
+ fn.apply(this, arguments);
+ }, wait);
+ };
+ }
+ })
+
+</script>
diff --git a/themes/docsy/layouts/taxonomy/baseof.html
b/themes/docsy/layouts/taxonomy/baseof.html
index e01be34..9d2a7f3 100644
--- a/themes/docsy/layouts/taxonomy/baseof.html
+++ b/themes/docsy/layouts/taxonomy/baseof.html
@@ -4,7 +4,7 @@
{{ partial "head.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }}
| {{ end }}{{ .Site.Title }}{{ end }}</title>
</head>
- <body class="td-{{ .Kind }}">
+ <body class="td-{{ .Kind }} tags-list">
<header>
{{ partial "navbar.html" . }}
</header>
@@ -12,14 +12,19 @@
<div class="container-fluid td-outer">
<div class="td-main">
<div class="row container container-center">
- <div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
-
- {{ partial "tags.html" . }}
-
- </div>
<main class="col-12 col-md-12 col-xl-10 pl-md-4 pr-md-4" role="main">
{{ block "main" . }}{{ end }}
</main>
+ <div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
+
+ <div class="dn blog-ctn">
+ {{ partial "tags.html" . }}
+ </div>
+ <div class="dn zh-ctn">
+ {{ partial "tags-zh.html" . }}
+ </div>
+ </div>
+
</div>
</div>
{{ partial "footer.html" . }}
@@ -29,4 +34,74 @@
{{ partial "sidebar-skywalking.html" . }}
{{ partial "scripts.html" . }}
</body>
+ <script>
+ $(function () {
+ initTags();
+ bindClick();
+
+ function initTags() {
+ var type = getTye()
+
+ if(type==='blog'){
+ $('.blog-ctn').show();
+ replaceState('blog')
+ }else{
+ $('.zh-ctn').show();
+ replaceState('zh')
+ }
+ }
+
+ function bindClick() {
+ $('.tag-link').on('click', function (e) {
+ e.preventDefault()
+ var type = getQueryValue('type')
+ var url = $(this).attr('href')
+ window.location.href = url + '?type=' + type;
+ })
+ }
+
+ function getTye() {
+ var type = getQueryValue('type')
+ if (type) {
+ return type
+ }
+ var oldURL = document.referrer;
+ if (oldURL.indexOf('/blog/') > -1) {
+ return 'blog'
+ } else if (oldURL.indexOf('/zh/') > -1) {
+ return 'zh'
+ }
+ }
+
+ function replaceState(param) {
+ var newurl = updateQueryStringParameter(window.location.href, 'type',
param);
+ window.history.replaceState({
+ path: newurl
+ }, '', newurl);
+ }
+
+ function updateQueryStringParameter(uri, key, value) {
+ if (!value) {
+ return uri;
+ }
+ var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
+ var separator = uri.indexOf('?') !== -1 ? "&" : "?";
+ if (uri.match(re)) {
+ return uri.replace(re, '$1' + key + "=" + value + '$2');
+ } else {
+ return uri + separator + key + "=" + value;
+ }
+ }
+
+ function getQueryValue(queryName) {
+ var reg = new RegExp("(^|&)" + queryName + "=([^&]*)(&|$)", "i");
+ var r = window.location.search.substr(1).match(reg);
+ if (r != null) {
+ return decodeURI(r[2]);
+ } else {
+ return null;
+ }
+ }
+ })
+ </script>
</html>
diff --git a/themes/docsy/layouts/taxonomy/tag.html
b/themes/docsy/layouts/taxonomy/tag.html
index f3dbb74..c7f7bd9 100644
--- a/themes/docsy/layouts/taxonomy/tag.html
+++ b/themes/docsy/layouts/taxonomy/tag.html
@@ -25,7 +25,7 @@
{{ range . }}
<span><a href="{{ "tags" | absURL }}/{{ . | urlize }}"
class="tag-link">{{ . }}</a></span>
{{ end }}
- </small>
+ </small>
{{ end }}
</p>
diff --git a/themes/docsy/layouts/taxonomy/tag.html
b/themes/docsy/layouts/taxonomy/zh-tag.html
similarity index 88%
copy from themes/docsy/layouts/taxonomy/tag.html
copy to themes/docsy/layouts/taxonomy/zh-tag.html
index f3dbb74..6bf0ce6 100644
--- a/themes/docsy/layouts/taxonomy/tag.html
+++ b/themes/docsy/layouts/taxonomy/zh-tag.html
@@ -20,12 +20,12 @@
<h5 class="mt-0 mb-1"><a href="{{ .RelPermalink }}">{{
.LinkTitle }}</a></h5>
<p class="mb-2 mb-md-3"><small class="text-muted">{{
.Date.Format ($.Param "time_format_blog") }} {{ T "ui_in"}} {{
.CurrentSection.LinkTitle }}</small>
- {{ with .Params.tags }}
+ {{ with .Params.zh_tags }}
<small class="mt-1 tags-box"> |
{{ range . }}
- <span><a href="{{ "tags" | absURL }}/{{ . | urlize }}"
class="tag-link">{{ . }}</a></span>
+ <span><a href="{{ "zh_tags" | absURL }}/{{ . | urlize
}}" class="tag-link">{{ . }}</a></span>
{{ end }}
- </small>
+ </small>
{{ end }}
</p>
diff --git a/themes/docsy/layouts/zh/baseof.html
b/themes/docsy/layouts/zh/baseof.html
index 2432e79..79eb856 100644
--- a/themes/docsy/layouts/zh/baseof.html
+++ b/themes/docsy/layouts/zh/baseof.html
@@ -11,13 +11,14 @@
<div class="container-fluid td-outer">
<div class="td-main">
<div class="row container container-center">
- <div class="toc d-none d-xl-block d-md-none col-xl-2 td-toc
d-print-none">
- {{ partial "toc.html" . }}
- {{ partial "tags-zh.html" . }}
- </div>
<main class="col-12 col-md-12 col-xl-10 pl-md-4 pr-md-4" role="main">
{{ block "main" . }}{{ end }}
</main>
+ <div class="toc d-none d-xl-block d-md-none col-xl-2 td-toc
d-print-none">
+ {{ partial "tags-zh.html" . }}
+ {{ partial "toc.html" . }}
+
+ </div>
</div>
</div>
{{ partial "footer.html" . }}
diff --git a/themes/docsy/layouts/zh/content.html
b/themes/docsy/layouts/zh/content.html
index 382b5a2..615e23e 100644
--- a/themes/docsy/layouts/zh/content.html
+++ b/themes/docsy/layouts/zh/content.html
@@ -5,11 +5,11 @@
{{ with .Params.author }}{{ T "post_byline_by" }} <b>{{ . |
markdownify }}</b> |{{ end}}
<time datetime="{{ $.Date.Format "2006-01-02" }}"
class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time>
- {{ with .Params.tags }}
+ {{ with .Params.zh_tags }}
<p class="mt-1 tags-box">
<i class="fas fa-tags" aria-hidden="true"></i>Tags |
{{ range . }}
- <span> <a href="{{ "tags" | absURL }}/{{ . | urlize
}}">{{ . }}</a></span>
+ <span> <a href="{{ "zh_tags" | absURL }}/{{ . | urlize
}}">{{ . }}</a></span>
{{ end }}
</p>
{{ end }}