aboutsummaryrefslogtreecommitdiffhomepage
path: root/media/mediaType.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-03-23 17:31:05 +0100
committerBjørn Erik Pedersen <[email protected]>2017-03-27 15:43:56 +0200
commit8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57 (patch)
treed2550507b4dbb96509e638d1637d297359089edc /media/mediaType.go
parentdbb83f925a7cb256b69b158e2caf0d99e3c7c5e6 (diff)
downloadhugo-8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57.tar.gz
hugo-8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57.zip
media, output: Add Calendar type
Diffstat (limited to 'media/mediaType.go')
-rw-r--r--media/mediaType.go10
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