Skip to content

Commit

Permalink
initialize format taxonomy
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <[email protected]>
  • Loading branch information
leecalcote committed Jan 13, 2025
1 parent 27324d3 commit 1c66b5e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions content/en/kanvas/designer/comments/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: >
weight: 3
categories: [Designer]
tags: [designs, collaboration, review]
format: [video]
aliases:
- /meshmap/designer/comments
---
Expand Down
3 changes: 3 additions & 0 deletions content/en/videos/getting-started/comments/adding-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ videoType: youtube # or "local"
muted: true # optional
autoplay: true # optional
loop: true #optional
categories: [Designer]
formats: [video]
tags: [review, collaboration]
---

{{< youtube bb6J--aApk8 >}}
7 changes: 4 additions & 3 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ enableGitInfo = true
[taxonomies]
tag = "tags"
category = "categories"
format = "formats"

[params.taxonomy]
# set taxonomyCloud = [] to hide taxonomy clouds
taxonomyCloud = ["tags", "categories"]
taxonomyCloud = ["tags", "categories", "format"]

# If used, must have same length as taxonomyCloud
taxonomyCloudTitle = ["Tags", "Categories"]
taxonomyCloudTitle = ["Tags", "Categories", "Formats"]

# set taxonomyPageHeader = [] to hide taxonomies on the page headers
taxonomyPageHeader = ["tags", "categories"]
taxonomyPageHeader = ["tags", "categories", "formats"]


staticDir = ['static']
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/content.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
<header class="article-meta{{ if or .Params.categories .Params.tags }} article-meta-bg{{ end }}">
<header class="article-meta{{ if or .Params.categories .Params.tags .Params.formats}} article-meta-bg{{ end }}">
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
{{ partial "reading-time.html" . -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/docs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
<header class="article-meta{{ if or .Params.categories .Params.tags }} article-meta-bg{{ end }}">
<header class="article-meta{{ if or .Params.categories .Params.tags .Params.formats }} article-meta-bg{{ end }}">
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
{{ partial "reading-time.html" . -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/release/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
<header class="article-meta{{ if or .Params.categories .Params.tags }} article-meta-bg{{ end }}">
<header class="article-meta{{ if or .Params.categories .Params.tags .Params.formats}} article-meta-bg{{ end }}">
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
{{ partial "reading-time.html" . -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/video/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
<header class="article-meta{{ if or .Params.categories .Params.tags }} article-meta-bg{{ end }}">
<header class="article-meta{{ if or .Params.categories .Params.tags .Params.formats }} article-meta-bg{{ end }}">
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
{{ partial "reading-time.html" . -}}
Expand Down

0 comments on commit 1c66b5e

Please sign in to comment.