From 8a24a321b0690558fe02c7c9ef6c96ddfffc9220 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 10 Feb 2017 18:48:52 -0800 Subject: docs docs docs --- README.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index e131c04..e60ca64 100644 --- a/README.md +++ b/README.md @@ -178,22 +178,12 @@ Templates use the standard library [Go text/template](https://golang.org/pkg/tex ```go Title string URL string - Posts post.Posts - - // all archives are optional based on presence of template - Archive *archive.ListArchive - Home *archive.ListArchive - Rss *archive.ListArchive - Paged *archive.PagedArchives ``` #### Post (see post/post.go) ```go - Raw []byte - Unparsed string - // Metadata Meta map[string]string SourceFile string @@ -276,7 +266,7 @@ Permalink (URLs for individual posts) can be customized. This part is *meh* and | %F | Filename | foo | | %T | Title | bar | -Filenames and titles will be "cleaned" of characters unsuitable for links. Extension will be removed from the Filename. +`Filename` is a cleaned version of the post's original filename with the extension removed. Filenames and titles will be "cleaned" of characters unsuitable for links, with whitespace replaced by `-`. ### Filters -- cgit v1.2.3