diff --git a/config.yaml b/config.yaml index f398a23..4b22e3f 100644 --- a/config.yaml +++ b/config.yaml @@ -1,6 +1,7 @@ build: buildStats: enable: true + disableIDs: true cacheBusters: - source: assets/watching/hugo_stats\.json target: styles\.css @@ -27,5 +28,3 @@ module: target: i18n - source: archetypes target: archetypes - - source: hugo_stats.json - target: assets/watching/hugo_stats.json diff --git a/exampleSite/content/blog/markdown.md b/exampleSite/content/blog/markdown.md index df32871..8653d96 100644 --- a/exampleSite/content/blog/markdown.md +++ b/exampleSite/content/blog/markdown.md @@ -6,6 +6,7 @@ authors: - name: John Doe link: https://example.com/johndoe image: https://example.com/johndoe.png +excludeSearch: true --- This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. diff --git a/exampleSite/content/docs/advanced/_index.md b/exampleSite/content/docs/advanced/_index.md new file mode 100644 index 0000000..ec7d542 --- /dev/null +++ b/exampleSite/content/docs/advanced/_index.md @@ -0,0 +1,9 @@ +--- +linkTitle: Advanced +title: Advanced Topics +--- + +{{< cards >}} + {{< card link="seo" title="SEO" icon="chart-pie" >}} + {{< card link="customization" title="Customization" icon="pencil" >}} +{{< /cards >}} diff --git a/exampleSite/content/docs/advanced/customization.md b/exampleSite/content/docs/advanced/customization.md new file mode 100644 index 0000000..ab2f614 --- /dev/null +++ b/exampleSite/content/docs/advanced/customization.md @@ -0,0 +1,4 @@ +--- +title: Customizing Hextra +linkTitle: Customization +--- diff --git a/exampleSite/content/docs/guide/_index.md b/exampleSite/content/docs/guide/_index.md index a3f0c42..954f3dd 100644 --- a/exampleSite/content/docs/guide/_index.md +++ b/exampleSite/content/docs/guide/_index.md @@ -15,8 +15,5 @@ Guide to using Hextra to build your site. {{< card link="shortcodes" title="Shortcodes" icon="template" >}} {{< card link="search" title="Search" icon="document-search" >}} {{< card link="multi-language" title="Multi-language" icon="translate" >}} - {{< card link="seo" title="SEO" icon="chart-pie" >}} - {{< card link="customization" title="Customization" icon="pencil" >}} {{< card link="deployment" title="Deployment" icon="server" >}} - {{< card link="faq" title="FAQ" icon="question-mark-circle" >}} {{< /cards >}} diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 32b9d4a..69c5eba 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -65,9 +65,12 @@ menu: params: type: separator weight: 1 + - name: "About" + pageRef: "/about" + weight: 2 - name: "Hugo Docs ↗" url: "https://gohugo.io/documentation/" - weight: 2 + weight: 3 params: footer: diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json index c307f9b..991d274 100644 --- a/exampleSite/hugo_stats.json +++ b/exampleSite/hugo_stats.json @@ -24,7 +24,6 @@ "head", "hr", "html", - "iframe", "input", "kbd", "li", @@ -490,60 +489,6 @@ "z-20", "z-[-1]" ], - "ids": [ - "add-hextra-theme", - "blockquote-with-attribution", - "blockquote-without-attribution", - "blockquotes", - "code-block-0", - "code-block-1", - "code-block-2", - "code-block-3", - "code-block-4", - "code-block-highlight-with-line-numbers", - "code-block-with-filename", - "code-block-with-triple-backticks", - "code-blocks", - "default", - "diagrams", - "error", - "example", - "features", - "fn:1", - "fnref:1", - "h2", - "h3", - "h4", - "h5", - "h6", - "headings", - "info", - "initialize-a-new-hugo-site", - "inline", - "inline-markdown-within-tables", - "list-types", - "math", - "nested-list", - "ordered-list", - "other-elements--abbr-sub-sup-kbd-mark", - "paragraph", - "quick-start-from-template", - "separate-paragraph", - "specify-selected-index", - "start-as-new-project", - "step-1", - "step-2", - "step-3", - "tables", - "tabs-panel-0", - "tabs-panel-1", - "tabs-panel-2", - "unordered-list", - "usage", - "warning", - "what-is-hextra", - "why-hextra", - "クイックスタート" - ] + "ids": null } } \ No newline at end of file