Skip to content

Commit

Permalink
User guide, conversion to modules: fixing config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Sep 1, 2022
1 parent 4a41d9b commit 51f3729
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ module:
imports:
- path: github.com/google/docsy
disable: false
imports:
- path: github.com/google/docsy/dependencies
disable: false
{{< /tab >}}
Expand Down
18 changes: 9 additions & 9 deletions userguide/content/en/docs/adding-content/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ menu:
weight: 30

cascade:
- type: "blog"
- type: "blog"
---
{{< /tab >}}
{{< tab header="json" lang="json" >}}
Expand Down Expand Up @@ -151,12 +151,12 @@ type = "docs"
title: "My Wonderful Site"

cascade:
- type: "blog"
toc_root: true
_target:
- type: "blog"
toc_root: true
_target:
path: "/news/**"
- type: "docs"
_target:
- type: "docs"
_target:
path: "/**"
---
{{< /tab >}}
Expand Down Expand Up @@ -431,9 +431,9 @@ linkTitle: "Announcing Docsy"
description: "The Docsy Hugo theme lets project maintainers and contributors focus on content, not on reinventing a website infrastructure from scratch"
author: Riona MacNamara
resources:
- src: "**.{png,jpg}"
title: "Image #:counter"
params:
- src: "**.{png,jpg}"
title: "Image #:counter"
params:
byline: "Photo: Riona MacNamara / CC-BY-CA"
---
{{< /tab >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ The Docsy template provides two shortcodes `tabpane` and `tab` that let you easi
![Flag Tanzania](flags/tz.png)
**Karibu sana!**
{{%/* /tab */%}}
{{%/* /tabpane */%}}
{{</* /tabpane */>}}
```

This code translates to the right aligned tabbed pane below, showing a `Welcome!` greeting in English, German or Swahili:
Expand Down

0 comments on commit 51f3729

Please sign in to comment.