This tutorial will guide you through the process of customizing your Flowershow Cloud site's navigation bar. You'll learn how to add your logo, customize the title, create navigation links, and integrate social media links.

Prerequisites

Before you begin, make sure you have:

  • A Flowershow Cloud site set up
  • Basic knowledge of JSON format
  • Your logo image ready (if you plan to use a custom logo)

Step 1: Create the Configuration File

  1. Navigate to the root folder of your site's repository
  2. Create a new file named config.json.

Step 2: Customize Your Logo and Site Title

  1. Upload your logo file to your site's repository. (Skip if you're using a file hosted outside of your repository.)
  2. Add your logo path (or URL) to the nav.logo field
  3. Set your site title in the nav.title field

Example:

{
  "nav": {
    "logo": "logo.jpeg",
    "title": "My Digital Garden"
  }
}

nav-config

The result: nav-config-1

Add your navigation links to the nav.links array. Each link requires:

  • name: The text that appears in the navigation bar
  • href: The URL or path the link points to

Example:

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

The result: nav-config-2

Add social media links to the nav.social array. Each social link requires:

  • name: Text label (used in sidebar mode)
  • href: Your social media profile URL
  • label: Platform identifier from the list below

Supported social platforms:

  • bluesky (or bsky)
  • discord
  • facebook
  • github
  • instagram
  • linkedin
  • mastodon
  • twitter (or x)
  • youtube
Is your favorite platform missing from the list?

If the social platform you want to use isnโ€™t listed above, you can skip the label and Flowershow will display a generic ๐ŸŒ icon. We encourage you to submit an issue, too. ๐Ÿ˜‰

Example:

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

The result: nav-config-3 On smaller screens: nav-config-4

Complete Configuration Example

Here's a comprehensive example combining all the elements:

{
  "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 appearing?

    • Verify the logo path is correct relative to your site's root folder
    • Ensure the image file exists at the declared path
  2. Social icons not showing?

    • Double-check that you're using supported platform labels
Built with LogoFlowershow Cloud