Skip to content

Commit

Permalink
Remove variables section
Browse files Browse the repository at this point in the history
See #2196
  • Loading branch information
jmooring authored and bep committed Feb 19, 2024
1 parent 313b1d8 commit 9f9a931
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 309 deletions.
22 changes: 8 additions & 14 deletions config/_default/menus/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,33 +48,27 @@ weight = 80
identifier = 'methods'
pageRef = '/methods/'

[[docs]]
name = 'Variables'
weight = 90
identifier = 'variables'
pageRef = '/variables/'

[[docs]]
name = 'Render hooks'
weight = 100
weight = 90
identifier = 'render-hooks'
pageRef = '/render-hooks/'

[[docs]]
name = 'Hugo Modules'
weight = 110
weight = 100
identifier = 'modules'
pageRef = '/hugo-modules/'

[[docs]]
name = 'Hugo Pipes'
weight = 120
weight = 110
identifier = 'hugo-pipes'
pageRef = '/hugo-pipes/'

[[docs]]
name = 'CLI'
weight = 130
weight = 120
post = 'break'
identifier = 'commands'
pageRef = '/commands/'
Expand All @@ -83,25 +77,25 @@ pageRef = '/commands/'

[[docs]]
name = 'Troubleshooting'
weight = 140
weight = 130
identifier = 'troubleshooting'
pageRef = '/troubleshooting/'

[[docs]]
name = 'Developer tools'
weight = 150
weight = 140
identifier = 'developer-tools'
pageRef = '/tools/'

[[docs]]
name = 'Hosting and deployment'
weight = 160
weight = 150
identifier = 'hosting-and-deployment'
pageRef = '/hosting-and-deployment/'

[[docs]]
name = 'Contribute'
weight = 170
weight = 160
post = 'break'
identifier = 'contribute'
pageRef = '/contribute/'
Expand Down
1 change: 1 addition & 0 deletions content/en/methods/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ menu:
weight: 10
weight: 10
showSectionMenu: true
aliases: ['/variables/']
---

Use these methods within your templates.
13 changes: 0 additions & 13 deletions content/en/variables/_common/_index.md

This file was deleted.

20 changes: 0 additions & 20 deletions content/en/variables/_common/consistent-terminology.md

This file was deleted.

16 changes: 0 additions & 16 deletions content/en/variables/_index.md

This file was deleted.

18 changes: 0 additions & 18 deletions content/en/variables/file.md

This file was deleted.

18 changes: 0 additions & 18 deletions content/en/variables/git.md

This file was deleted.

16 changes: 0 additions & 16 deletions content/en/variables/menu-entry.md

This file was deleted.

63 changes: 0 additions & 63 deletions content/en/variables/page.md

This file was deleted.

39 changes: 0 additions & 39 deletions content/en/variables/pages.md

This file was deleted.

16 changes: 0 additions & 16 deletions content/en/variables/shortcode.md

This file was deleted.

55 changes: 0 additions & 55 deletions content/en/variables/site.md

This file was deleted.

21 changes: 0 additions & 21 deletions content/en/variables/taxonomy.md

This file was deleted.

0 comments on commit 9f9a931

Please sign in to comment.