From db27557aa307921cf035b7f62d9d9f2b452b1018 Mon Sep 17 00:00:00 2001 From: Md Jawad Noor Asif <jawad.asif.bd@gmail.com> Date: Thu, 30 Mar 2023 11:14:06 +0000 Subject: [PATCH] fix: search highlight not showing because for trailing slash (#306) --- content/notes/editing.md | 24 +++++------------------- 1 files changed, 5 insertions(+), 19 deletions(-) diff --git a/content/notes/editing.md b/content/notes/editing.md index af7dd77..0bc495c 100644 --- a/content/notes/editing.md +++ b/content/notes/editing.md @@ -2,7 +2,7 @@ title: "Editing Content in Quartz" tags: - setup -weight: 1 +weight: -4 --- ## Editing @@ -15,26 +15,12 @@ **To edit the main home page, open `/content/_index.md`.** -To create a link between notes in your garden, just create a normal link using Markdown pointing to the document in question. Please note that **all links should be relative to the root `/content` path**. - -```markdown -For example, I want to link this current document to `notes/config.md`. -[A link to the config page](notes/config.md) -``` - -Similarly, you can put local images anywhere in the `/content` folder. - -```markdown -Example image (source is in content/notes/images/example.png) - -``` - -You can also use wikilinks if that is what you are more comfortable with! - ### Front Matter -Hugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so. You can also add tags here as well. +Hugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so, otherwise the generated page will not have a title! -```markdown +You can also add tags here as well. + +```yaml --- title: "Example Title" tags: -- Gitblit v1.10.0