Skip to content

Commit

Permalink
docs: enchance pages navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
imfing committed Aug 28, 2023
1 parent e1fa9e7 commit b96eb01
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions exampleSite/content/docs/advanced/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
linkTitle: Advanced
title: Advanced Topics
prev: /docs/guide/shortcodes/tabs
next: /docs/advanced/multi-language
---

This section covers some advanced topics of the theme.
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/docs/advanced/multi-language.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Multi-language"
weight: 1
prev: /docs/advanced
---

Hextra supports creating site with multiple languages using Hugo's [multilingual mode](https://gohugo.io/content-management/multilingual/).
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/docs/guide/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Guide
weight: 2
prev: /docs/getting-started
next: /docs/guide/organize-files
sidebar:
open: true
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/docs/guide/diagrams.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Diagrams
weight: 6
next: /docs/guide/shortcodes
---

Currently, Hextra supports [Mermaid](#mermaid) for diagrams.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-
### Code Blocks

{{< cards >}}
{{< card link="/docs/guide/syntax-highlighting" title="Syntax Highlighting" icon="sparkles" >}}
{{< card link="../../guide/syntax-highlighting" title="Syntax Highlighting" icon="sparkles" >}}
{{< /cards >}}

### Lists
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/docs/guide/organize-files.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Organize Files
weight: 1
prev: /docs/guide
---

## Directory Structure
Expand Down
4 changes: 3 additions & 1 deletion exampleSite/content/docs/guide/shortcodes/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Shortcodes
weight: 9
prev: /docs/guide/diagrams
next: /docs/guide/shortcodes/callout
---

[Hugo Shortcodes](https://gohugo.io/content-management/shortcodes/) are simple snippets inside your content files calling built-in or custom templates.
Expand All @@ -9,7 +11,7 @@ Hextra provides a collection of beautiful shortcodes to enhance your content.


{{< cards >}}
{{< card link="callouts" title="Callouts" icon="warning" >}}
{{< card link="callout" title="Callout" icon="warning" >}}
{{< card link="cards" title="Cards" icon="card" >}}
{{< card link="filetree" title="FileTree" icon="folder-tree" >}}
{{< card link="icon" title="Icon" icon="badge-check" >}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
---
title: Callout Component
linkTitle: Callout
aliases:
- callouts
prev: /docs/guide/shortcodes
---

A built-in component to show important information to the reader.

<!--more-->

## Example

{{< callout emoji="👾">}}
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/docs/guide/shortcodes/tabs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Tabs
next: /docs/advanced/
---

## Example
Expand Down

0 comments on commit b96eb01

Please sign in to comment.