Need to confirm file tree potential for Universal

I completed my YAML config file that used the Universal theme. I
need to confirm the files, folders and tree of the site:

menu:
  main:
    - name: Home
      identifier: menu.home
      url: /
      weight: 1
    - name: 'Gallery'
      url: /
      weight: 1
      parent: menu.home
    - name: 'Theater'
      url: /
      weight: 2
      parent: menu.home
    - name: 'Albums'
      url: /
      weight: 3
      parent: menu.home
    - name: 'Demos'
      url: /
      weight: 4
      parent: menu.home
    - name: Blog
      identifier: menu.blog
      url: /blog/
      weight: 2
    - name: Shop
      identifier: menu.shop
      url: /shop/
      weight: 3
    - name: About
      identifier: menu.about
      url: /about/
      weight: 4
    - name: Our History
      identifier: section.a-history
      url: ''
      weight: 1
      parent: menu.about
      post: 1
    - name: Our Purpose
      identifier: section.a-purpose
      url: ''
      weight: 2
      parent: menu.about
      post: 1
    - name: ToC
      identifier: section.a-toc
      url: ''
      weight: 3
      parent: menu.about
      post: 1
    - name: FAQs
      identifier: section.a-faqs
      url: ''
      weight: 4
      parent: menu.about
      post: 1
    - name: Links
      identifier: section.a-links
      url: ''
      weight: 5
      parent: menu.about
      post: 1
    - name: Map
      identifier: menu.map
      url: /map/
      weight: 5
    - name: Home
      identifier: section.ap-home
      url: ''
      weight: 1
      parent: menu.map
      post: 1
    - name: Gallery
      identifier: section.ap-gallery
      url: ''
      weight: 2
      parent: menu.map
      post: 1
    - name: Theater
      identifier: section.ap-theater
      url: ''
      weight: 3
      parent: menu.map
      post: 1
    - name: Albums
      identifier: section.ap-albums
      url: ''
      weight: 4
      parent: menu.map
      post: 1
    - name: Demos
      identifier: section.ap-demos
      url: ''
      weight: 5
      parent: menu.map
      post: 1
    - name: Blog
      identifier: section.ap-blog
      url: ''
      weight: 1
      parent: menu.map
      post: 1
    - name: Shop
      identifier: section.ap-shop
      url: ''
      weight: 1
      parent: menu.map
      post: 1
    - name: About
      identifier: section.ap-about
      url: ''
      weight: 1
      parent: menu.map
      post: 1
    - name: Our History
      identifier: section.ap-history
      url: ''
      weight: 2
      parent: menu.map
      post: 1
    - name: Our Purpose
      identifier: section.ap-purpose
      url: ''
      weight: 3
      parent: menu.map
      post: 1
    - name: ToC
      identifier: section.ap-toc
      url: ''
      weight: 4
      parent: menu.map
      post: 1
    - name: FAQs
      identifier: section.ap-faqs
      url: ''
      weight: 5
      parent: menu.map
      post: 1
    - name: Links
      identifier: section.ap-links
      url: ''
      weight: 6
      parent: menu.map
      post: 1
    - name: Contact
      identifier: contact
      url: /contact/
      weight: 6

Also, what’s it like to have a higher post number?

I don’t know what that means.
See https://gohugo.io/content-management/menus/#post.

post
(string) The HTML to append when rendering the menu entry.

1 Like

Okay, can anyone confirm the file tree that’ll come out of this?

1 Like

Thanks! The ‘1’ in front of their names resemble the post variable, right?

Yeah, the “1” is the post field in your menu entries.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.