diff --git a/VERSION b/VERSION index ae15394..99523d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.5.0 \ No newline at end of file +4.5.1 \ No newline at end of file diff --git a/data/config.yaml b/data/config.yaml index f8452e7..3a98fbe 100644 --- a/data/config.yaml +++ b/data/config.yaml @@ -1,5 +1,5 @@ # Hugo NexT theme's custom config -version: 4.5.0 +version: 4.5.1 domain: hugo-next.eu.org \ No newline at end of file diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md index 32a4da0..5f813c4 100644 --- a/exampleSite/content/post/markdown-syntax.md +++ b/exampleSite/content/post/markdown-syntax.md @@ -11,7 +11,7 @@ originLink: https://mainroad-demo.netlify.app/post/basic-elements/ categories: - 示例文章 - - 语法 + - Markdown语法 tags: - Markdown diff --git a/exampleSite/content/post/syntax-highlighting.md b/exampleSite/content/post/syntax-highlighting.md index 60b94db..6b91cc7 100644 --- a/exampleSite/content/post/syntax-highlighting.md +++ b/exampleSite/content/post/syntax-highlighting.md @@ -67,7 +67,7 @@ print "Hello, world!" ### Git 对比 -``` diff {hl_lines=[4,"6-7"], linenos=true} +```diff {hl_lines=[4,"6-7"], linenos=true} *** /path/to/original ''timestamp'' --- /path/to/new ''timestamp'' *************** diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 5d76400..85ff661 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -15,7 +15,6 @@
{{ if eq .Data.Plural "categories" }} - {{ $categories := .Site.Taxonomies.categories }}
{{ T "Terms.categories" (.Scratch.Get "catsCount") | safeHTML }} @@ -24,7 +23,7 @@
    {{ $allSecondaryCats := slice }} {{ range .Site.Taxonomies.categories.ByCount }} - {{ $primaryCategory := .Name }} + {{ $primaryCategory := .Page.Title }} {{ $primaryCount := 0 }} {{ $secondaryCategories := slice}} {{ $pages := $.Scratch.Get "pages" }}