Skip to content

Commit

Permalink
Remove decoration dots (istio#10259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell authored Sep 17, 2021
1 parent eed66e7 commit d94d465
Show file tree
Hide file tree
Showing 44 changed files with 11 additions and 332 deletions.
4 changes: 1 addition & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ disableAliases = true
delimiter = ""

[outputs]
home = ["HTML", "RSS", "REDIR", "JSON"]
home = ["HTML", "RSS", "REDIR"]
section = ["HTML"]

[outputFormats]
Expand All @@ -79,8 +79,6 @@ disableAliases = true
baseName = "_redirects"
isPlainText = true
notAlternative = true
[outputFormats.JSON]
baseName = "_tracked_pages"

[related]
# Only include matches with rank >= threshold. This is a normalized rank between 0 and 100.
Expand Down
1 change: 0 additions & 1 deletion content/en/blog/2017/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
title: 2017 Posts
description: Blog posts for 2017.
weight: 20
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/en/blog/2018/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
title: 2018 Posts
description: Blog posts for 2018.
weight: 10
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/en/blog/2019/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
title: 2019 Posts
description: Blog posts for 2019.
weight: 9
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/en/blog/2020/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
title: 2020 Posts
description: Blog posts for 2020.
weight: 8
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/en/blog/2021/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
title: 2021 Posts
description: Blog posts for 2021.
weight: 7
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/en/news/releases/0.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the early releases of Istio.
weight: 30
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.0.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.0 release and its associated patch releases
weight: 29
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.1.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.1 release and its associated patch releases
weight: 28
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.10.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.10 release and its associated patch release
weight: 19
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.11.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.11 release and its associated patch release
weight: 18
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.2.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.2 release and its associated patch releases
weight: 27
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.3.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.3 release and its associated patch releases
weight: 26
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.4.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.4 release and its associated patch releases
weight: 25
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.5.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.5 release and its associated patch releases
weight: 24
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.6.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.6 release and its associated patch releases
weight: 23
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.7.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.7 release and its associated patch releases
weight: 22
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.8.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.8 release and its associated patch releases
weight: 21
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/releases/1.9.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: Announcements for the 1.9 release and its associated patch releases
weight: 20
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/en/news/security/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ description: Disclosed security vulnerabilities and their mitigation.
weight: 7
list_by_publishdate: true
layout: security-grid
decoration: dot
data_category: Security Bulletins
---
1 change: 0 additions & 1 deletion content/en/news/support/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: Support Announcements
description: Support window announcements.
weight: 15
list_by_publishdate: true
decoration: dot
data_category: Support Announcements
---
1 change: 0 additions & 1 deletion content/zh/blog/2017/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: 2017 年的博客文章
description: 2017 年的博客文章。
weight: 20
icon: blog
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/zh/blog/2018/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: 2018 年的博客文章
description: 2018 年的博客文章。
weight: 10
icon: blog
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/zh/blog/2019/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: 2019 年的博客文章
description: 2019 年的博客文章。
weight: 9
icon: blog
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/zh/blog/2020/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: 2020 年的博客文章
description: 2020 年的博客文章。
weight: 8
icon: blog
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/zh/blog/2021/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: 2021 年的博客文章
description: 2021 年的博客文章。
weight: 8
icon: blog
decoration: dot
list_by_publishdate: true
---
1 change: 0 additions & 1 deletion content/zh/news/releases/0.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 关于 Istio 早期发布的公告。
weight: 30
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/releases/1.0.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 1.0 及其相关补丁发布的公告。
weight: 29
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/releases/1.1.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 1.1 版本及其相关补丁发布的公告。
weight: 28
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/releases/1.2.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 1.2 版本及其相关补丁发布的公告。
weight: 27
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/releases/1.3.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 1.3 版本及其相关补丁发布的公告。
weight: 26
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/releases/1.4.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 1.4 版本及其相关程序修补的公告。
weight: 25
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/releases/1.5.x/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ description: 1.5 版本及其相关补丁发布的公告。
weight: 24
list_by_publishdate: true
layout: release-grid
decoration: dot
---
1 change: 0 additions & 1 deletion content/zh/news/security/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ description: 公开的安全漏洞及其修复方法。
weight: 7
list_by_publishdate: true
layout: security-grid
decoration: dot
data_category: Security Bulletins
---
1 change: 0 additions & 1 deletion content/zh/news/support/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: 支持公告
description: 支持周期公告。
weight: 15
list_by_publishdate: true
decoration: dot
data_category: Support Announcements
---
5 changes: 0 additions & 5 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
{{ end }}
</ul>
{{ else }}
{{- $decoration := .Params.decoration -}}
{{ range $pages }}
{{ $pageLocation := (path.Dir (path.Dir .File.Dir)) }}
{{ if and (eq $parentDir $pageLocation) (not .Params.draft) }}
Expand All @@ -77,10 +76,6 @@
<h5>
<a href="{{ .Permalink }}">
{{- .Title -}}

{{- if $decoration -}}
<i class="{{ $decoration }}" data-prefix="{{ .RelPermalink }}"></i>
{{- end -}}
</a>
</h5>
{{- if ne .PublishDate.Year 0001 -}}
Expand Down
9 changes: 5 additions & 4 deletions layouts/news/release-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ <h1>{{ .Params.title }}</h1>

<table>
<tbody>
{{ $decoration := .Params.decoration }}
{{ range $pages }}
{{ $pageLocation := (path.Dir (path.Dir .File.Dir)) }}
{{ if eq $parentDir $pageLocation }}
<tr>
<td><a href="{{ .Permalink }}">Istio {{ .LinkTitle }}
{{- if $decoration -}}<i class="{{ $decoration }}" data-prefix="{{ .RelPermalink }}"></i>{{- end -}}
</a></td>
<td>
<a href="{{ .Permalink }}">
Istio {{ .LinkTitle }}
</a>
</td>
<td>{{ .PublishDate.Format (i18n "page_publish_date_format") -}}</td>
</tr>
{{ end }}
Expand Down
9 changes: 5 additions & 4 deletions layouts/news/security-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ <h1>{{ .Params.title }}</h1>
</tr>
</thead>
<tbody>
{{ $decoration := .Params.decoration }}
{{ range $pages }}
{{ $pageLocation := (path.Dir (path.Dir .File.Dir)) }}
{{ if and (eq $parentDir $pageLocation) (not .Params.draft) }}
<tr>
<td style="white-space: nowrap;"><a href="{{ .Permalink }}">{{ .LinkTitle }}
{{- if $decoration -}}<i class="{{ $decoration }}" data-prefix="{{ .RelPermalink }}"></i>{{- end -}}
</a></td>
<td style="white-space: nowrap;">
<a href="{{ .Permalink }}">
{{ .LinkTitle }}
</a>
</td>

<td>{{ .PublishDate.Format (i18n "page_publish_date_format") -}}</td>

Expand Down
1 change: 0 additions & 1 deletion scripts/gen_site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ babel --source-maps --minified --no-comments --presets minify \
tmp/js/prism.js \
tmp/js/codeBlocks.js \
tmp/js/links.js \
tmp/js/readTracking.js \
tmp/js/resizeObserver.js \
tmp/js/scroll.js \
tmp/js/overlays.js \
Expand Down
1 change: 0 additions & 1 deletion src/sass/_all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
@import "misc/partner-component";
@import "misc/popover";
@import "misc/primary";
@import "misc/read-tracking";
@import "misc/relnote-actions";
@import "misc/search-results";
@import "misc/section-index";
Expand Down
Loading

0 comments on commit d94d465

Please sign in to comment.