datopian / flowershow

💐 Publish your obsidian digital garden or any markdown site easily and elegantly.
https://flowershow.app/
MIT License
750 stars 92 forks source link

logo in navbar not showing up #541

Closed avinashkanaujiya closed 9 months ago

tardigrde commented 11 months ago

also is there a way to change the favico?

olayway commented 11 months ago

@avinashkanaujiya How did you try to set it?

olayway commented 11 months ago

@tardigrde No, it's not possible atm. Can you please submit an issue if you want this to be implemented?

avinashkanaujiya commented 10 months ago

I tried doing it, this way.

export default {
    nextSeo: {
        // title: "MyBlog blog post",
        // description: "This is a blog about data management",
        additionalLinkTags: [
            {
              rel: 'icon',
              href: "/images/obsidian-icon.ico",
            },
          ],
      },
    showSidebar: true,
    defaultAuthor: "xxxx x x xxxxx",
    author: "xxxxx xxxxxx",
    title: "Second Brain",
    // authorLogo: "/images/obsidian-icon.ico",
    domain: "https://x.x.x",
    logo: "/images/author.png",
    // navLinks: [{ href: "/about", name: "About" }],
    navBarTitle: {
        text: "Second Brain",
        // navLogo: "/images/obsidian-icon.ico", // optional
        // navLogo: "/images/author.png"
        logo: "/images/obsidian-icon.svg"
    },
    // navLogo: "/images/obsidian-icon.ico"
};

in file content/config.mjs.

olayway commented 9 months ago

@avinashkanaujiya We had a typo in our docs 🤦‍♀️ The field name is navbarTitle, not navBarTitle. Also, authorLogo is no longer supported. It's just logo. Example:

export default {
  author: "Ola",
  logo: "/smiley.png",
  navbarTitle: {
    text: "Second Brain",
    logo: "/cat.png"
  },
};
image