diff options
author | Adam Mathes <adam@trenchant.org> | 2017-02-10 18:48:52 -0800 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2017-02-10 18:48:52 -0800 |
commit | 8a24a321b0690558fe02c7c9ef6c96ddfffc9220 (patch) | |
tree | 114dbf5b6424d0789ce1d6c2f6ca9a2cba82d9a4 | |
parent | 53cac2114e8ebfe6cff97eee1be518857fce18e3 (diff) | |
download | snkt-8a24a321b0690558fe02c7c9ef6c96ddfffc9220.tar.gz snkt-8a24a321b0690558fe02c7c9ef6c96ddfffc9220.tar.bz2 snkt-8a24a321b0690558fe02c7c9ef6c96ddfffc9220.zip |
docs docs docs
-rw-r--r-- | README.md | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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 |