diff --git a/site/docs/templates.md b/site/docs/templates.md index 08929eee..6402970d 100644 --- a/site/docs/templates.md +++ b/site/docs/templates.md @@ -37,6 +37,20 @@ common tasks easier.
+Date to RFC-822 Format
+Convert a Date into the RFC-822 format used for RSS feeds.
+
+ {% raw %}{{ site.time | date_to_rfc822 }}{% endraw %}
+
+ Mon, 17 Nov 2008 13:07:54 -0800
+
Date to String
@@ -93,6 +107,22 @@ common tasks easier.URI Escape
++ URI escape a string. +
+
+ {% raw %}{{ “'foo, bar \\baz?'” | uri_escape }}{% endraw %}
+
+ foo,%20bar%20%5Cbaz?
+
Number of Words