Navbar configuration

Set logo, title, links and socials in your navigation bar.

Configuration structure

The navigation bar configuration is defined under the nav object in your config.json:

{
  "nav": {
    "logo": "string",
    "title": "string",
    "links": Array<Link>,
    "social": Array<SocialLink>
  }
}

Logo and title

Configure your site's branding with a logo and title:

{
  "nav": {
    "logo": "logo.jpeg",
    "title": "My Digital Garden"
  }
}
  • logo: Path to your logo file (relative to site root) or external URL
  • title: Text displayed as your site title

Add navigation links using the links array. Each link requires:

{
  "nav": {
    "links": [
      {
        "href": "/blog",
        "name": "Blog"
      },
      {
        "href": "/about",
        "name": "About"
      }
    ]
  }
}

Properties:

  • href: URL or path the link points to
  • name: Display text for the link

Add social media links using the social array. Each social link requires:

{
  "nav": {
    "social": [
      {
        "label": "github",
        "name": "GitHub Profile",
        "href": "https://github.com/yourusername"
      },
      {
        "label": "twitter",
        "name": "Follow me on Twitter",
        "href": "https://twitter.com/yourusername"
      }
    ]
  }
}

Properties:

  • label: Platform identifier (see supported platforms below)
  • name: Text label (used in sidebar mode)
  • href: Your social media profile URL

Supported Platform Labels:

  • github
  • discord
  • linkedin
  • twitter
  • x
  • facebook
  • instagram
  • youtube

Complete example

Here's a comprehensive configuration example:

{
  "nav": {
    "logo": "logo.jpeg",
    "title": "My Digital Garden",
    "links": [
      {
        "href": "/blog",
        "name": "Blog"
      },
      {
        "href": "/about",
        "name": "About"
      }
    ],
    "social": [
      {
        "label": "github",
        "name": "GitHub Profile",
        "href": "https://github.com/yourusername"
      },
      {
        "label": "twitter",
        "name": "Follow me on Twitter",
        "href": "https://twitter.com/yourusername"
      }
    ]
  }
}

Troubleshooting

Common issues and solutions:

  1. Logo Not Displaying

    • Verify the logo path is correct relative to your site's root directory
    • Ensure the image file exists at the specified path
  2. Social Icons Not Showing

    • Confirm you're using supported platform labels
    • Check that the label value matches exactly (case-sensitive)

For a detailed guide including examples and step-by-step instructions, check out our this blog post.

© 2025 All rights reservedBuilt with Flowershow Cloud

Built with LogoFlowershow Cloud