diff options
-rwxr-xr-x | shite | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shite b/shite index ac81a37..b955b50 100755 --- a/shite +++ b/shite | |||
@@ -19,7 +19,9 @@ expand() { | |||
19 | } | 19 | } |
20 | 20 | ||
21 | body() { | 21 | body() { |
22 | # because the metadata is in a comment, we can just | ||
22 | dog | 23 | dog |
24 | # the whole input. | ||
23 | } | 25 | } |
24 | 26 | ||
25 | phtml() { | 27 | phtml() { |
@@ -35,12 +37,10 @@ meta() { | |||
35 | } | 37 | } |
36 | 38 | ||
37 | title() { | 39 | title() { |
38 | # sed '1s/\t.*$//;q' | ||
39 | meta title | 40 | meta title |
40 | } | 41 | } |
41 | 42 | ||
42 | pubdate() { | 43 | pubdate() { |
43 | # sed '1s/^[^\t]*\t//;q' | ||
44 | meta pubdate | 44 | meta pubdate |
45 | } | 45 | } |
46 | 46 | ||