Skip to content

How do you link content to widgets #2648

Answered by mbcann01
mbcann01 asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out!

Here's how I accomplished what I was trying to accomplish step-by-step, in case it's useful to anyone else.

Step 1. Create a landing page

I followed the guidance on Wowchemy's Create a landing page documentation for this step. As a reminder, landing pages don't necessarily contain much actual content. They contain widgets that link to the content.

  1. Create the content/students folder.
  2. Create index.md inside content/students, and add a YAML header. This will be a widget page like the homepage.
  3. Create a nav bar link to the index.md.
    • Open config/_default/menus.yaml
    • Create a new entry
      • Set name: to Students (or whatever you want to appear in the nav bar)
      • Set url: to 'studetns/'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mbcann01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant