hugo-toha.github.io
hugo-toha.github.io copied to clipboard
How to make notes contents as list without sub-directory
Hello All,
I found notes contents must within a sub-directory. how could I make notes contents as list without directory? example below
root-content-notes
-_index.md
-aaa.md
-bbb.md
-ccc.md
Current default:
root-content-notes
- _index.md
- a-directory
- _index.md
- aaa.md
- b-directory
- _index.md
- bbb.md
Thanks
Sorry, I was not responsive for few month due to some personal issue. You should be able to write notes without sub-directory. There might be some changes necessary in the front-matter.
Hello @hossainemruz ,
Thanks for your reply.
Even content/notes DIR only has one .md file. my web could not works.
Could you give me an example of the correct front matter?
yanboyang713@Meta-Scientific-Linux ~/personalblog/content/notes (git)-[main] % ls
one.md
yanboyang713@Meta-Scientific-Linux ~/personalblog/content/notes (git)-[main] % cat one.md
+++
title = "emacs first"
date = 2021-12-21T16:16:00-05:00
categories = ["Editor", "emacs"]
draft = false
+++
1st
Please try following front-matter.
---
title: "emacs first"
date: 2021-12-21T16:16:00-05:00
categories: ["Editor", "emacs"]
draft: false
menu:
notes:
name: "Variables"
identifier: "notes-bash-variables"
weight: 1
---
Thanks for your reply.
I tried the example below, which could not work. I don't want to work on yaml because ox-hugo only supports toml.
+++title = "emacs first"date = 2021-12-21T16:16:00-05:00categories = ["Editor", "emacs"]draft = false[menu.notes]name = "Variables"identifier = "notes-bash-variables"weight = 1+++1st
On Sun, Oct 15, 2023 at 1:19 AM Emruz Hossain @.***> wrote:
Please try following front-matter.
---title: "emacs first"date: 2021-12-21T16:16:00-05:00categories: ["Editor", "emacs"]draft: falsemenu: notes: name: "Variables" identifier: "notes-bash-variables" weight: 1
— Reply to this email directly, view it on GitHub https://github.com/hugo-toha/hugo-toha.github.io/issues/239#issuecomment-1763276896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2ALLAHLAYBBZMVHVK7Z3DX7NW7ZANCNFSM6AAAAAAWX3GEDQ . You are receiving this because you authored the thread.Message ID: @.***>
Hello @hossainemruz ,
I tried the example below, which could not work. I don't want to work on yaml because ox-hugo only supports toml.
+++
title = "emacs first"
date = 2021-12-21T16:16:00-05:00
categories = ["Editor", "emacs"]
draft = false
[menu.notes]
name = "Variables"
identifier = "notes-bash-variables"
weight = 1
+++
1st
Currently, what I do I want to follow this link exporting org roam to Hugo