Giter Club home page Giter Club logo

Comments (4)

jfmatth avatar jfmatth commented on July 20, 2024 1

Well, I was able to find the issue. For whatever reason, if there is an about.md file in my content folder, then the about menu item shows up, but doesn't point to the right file.

odd, seems like a HUGO bug

from anatole.

lxndrblz avatar lxndrblz commented on July 20, 2024

@jfmatth Thanks for explaining your problem. I just tried to replicate your scenario (have an about.md but no entry in the config.toml). For me the about entry didn't come up (like it should). In the navbar.html partial, which is responsible for generating the menu are also no hard-coded entries. I, therefore, suspect that the error might come from your particular setup.

Here are a couple of questions, which might help us to narrow down your problem:

Would you mind sharing your complete config.toml (make sure to remove any sensitive data)?
Is it possible that you might have another menu entry or haven't saved the config file yet?
Are you by chance having a multi language setup?

from anatole.

jfmatth avatar jfmatth commented on July 20, 2024

thanks for the quick response, no worries, nothing sensitive

languageCode = "en-us"
theme = "anatole"
baseURL = "https://blog.stocksonthebeach.com"

[params]
  featured_image = "/images/beach-background.jpg"
  title = "StocksOnTheBeach.com"
  author = "John Matthew"
  description = "A simple blog"
  profilePicture="images/beach-background.jpg"
  favicon = "/img/favicon.ico"
  displayMode = "light"
  mainSections = ["posts"]


# Social links
[[params.socialIcons]]
icon = "fa-linkedin"
title = "Linkedin"
url = "https://www.linkedin.com/in/jfmatth/"

[[params.socialIcons]]
icon = "fa-github"
title = "GitHub"
url =  "https://github.com/jfmatth"


[menu]

  [[menu.main]]
  name = "Home"
  identifier = "home"
  weight = 100
  url = "/"

  [[menu.main]]
  name = "Posts"
  weight = 200
  identifier = "posts"
  url = "/posts/"

[sitemap]
  changefreq = "monthly"
  priority = 0.5
  filename = "sitemap.xml"

I did switch themes from the ananke stock one to yours

if it matters, i'm serving it locally on my laptop for testing with this script

hugo server --bind 0.0.0.0 --baseURL primary.mshome.net

from anatole.

jfmatth avatar jfmatth commented on July 20, 2024

I did just run the sample, and it doesn't show an About.

I think what I'll do is just start fresh and see what happens, I don't have that much content yet

from anatole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.