Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Menu.Main opening an md file directly #9

Closed
soroosj opened this issue Nov 24, 2019 · 1 comment
Closed

New Menu.Main opening an md file directly #9

soroosj opened this issue Nov 24, 2019 · 1 comment

Comments

@soroosj
Copy link

soroosj commented Nov 24, 2019

Hi Nathan

In the config.toml file, I created a new menu.main called "Links" with url of /links/". The site successfully rendered.

However, rather than opening to the directory, I want "Links" to directly open the markdown file links.md (rather than the folder itself). Changing the url to "/links/links.md" results in "Not found: ./links.md". The links.md is in the ./content/links/ folder.

I am familiar with R but very new to blogdown and hugo so hopefully not a dumb question.

My site is at https://github.com/soroosj/r_site if it helps. Thanks for any ideas you may have.

@soroosj
Copy link
Author

soroosj commented Nov 24, 2019

That works perfectly - and helpful to know the public folder contains the site structure. Thanks Nate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant