From 455eb221accbe5fd369e014b1515a96a4a432215 Mon Sep 17 00:00:00 2001 From: adnano Date: Tue, 29 Sep 2020 12:48:50 -0400 Subject: [PATCH] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 8628e79..fff235a 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,6 @@ Page templates are provided with the following information: - `Title`: The title parsed from the first heading in the file - `Date`: The date parsed from the filename -- `Path`: Relative path to the page - `Permalink`: Permalink to the page - `Content`: The contents of the page (excluding the title) @@ -99,7 +98,6 @@ This is some content. Directory index templates are provided with the following information: -- `Path`: Relative path to the directory - `Permalink`: Permalink to the directory - `Pages`: The pages in this directory - `Directories`: The subdirectories of this directory @@ -114,7 +112,7 @@ src/posts/post-1.gmi src/posts/post-2.gmi $ cat templates/index.gmi -{{ range .Pages }}=> .Permalink +{{ range .Pages }}=> {{ .Permalink }} {{ end }} $ cat dst/posts/index.gmi