diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-03-23 17:31:05 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-03-27 15:43:56 +0200 |
commit | 8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57 (patch) | |
tree | d2550507b4dbb96509e638d1637d297359089edc /media/mediaType.go | |
parent | dbb83f925a7cb256b69b158e2caf0d99e3c7c5e6 (diff) | |
download | hugo-8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57.tar.gz hugo-8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57.zip |
media, output: Add Calendar type
Diffstat (limited to 'media/mediaType.go')
-rw-r--r-- | media/mediaType.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media/mediaType.go b/media/mediaType.go index 45b850077..07dbcc211 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -47,11 +47,11 @@ func (m Type) String() string { } var ( - CSSType = Type{"text", "css", "css"} - HTMLType = Type{"text", "html", "html"} - JSONType = Type{"application", "json", "json"} - RSSType = Type{"application", "rss", "xml"} + CalendarType = Type{"text", "calendar", "ics"} + CSSType = Type{"text", "css", "css"} + HTMLType = Type{"text", "html", "html"} + JSONType = Type{"application", "json", "json"} + RSSType = Type{"application", "rss", "xml"} ) // TODO(bep) output mime.AddExtensionType -// TODO(bep) text/template vs html/template |