diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-01 15:12:31 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-01 15:12:31 +0200 |
commit | f911b107ef32c1c4369aa252a790e3c933660135 (patch) | |
tree | e1ac6996be0cc65eff325fb2ff12723fc73605a3 /output/outputFormat.go | |
parent | 05949c903817b93dd7fd71211260db625180eed6 (diff) |
media, output: Add CSV type and format
And make CSS correclty behave as plain text.
Diffstat (limited to 'output/outputFormat.go')
-rw-r--r-- | output/outputFormat.go | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/output/outputFormat.go b/output/outputFormat.go index 797c7ae2d..76329a936 100644 --- a/output/outputFormat.go +++ b/output/outputFormat.go @@ -43,10 +43,18 @@ var ( } CSSFormat = Format{ - Name: "CSS", - MediaType: media.CSSType, - BaseName: "styles", - Rel: "stylesheet", + Name: "CSS", + MediaType: media.CSSType, + BaseName: "styles", + IsPlainText: true, + Rel: "stylesheet", + } + CSVFormat = Format{ + Name: "CSV", + MediaType: media.CSVType, + BaseName: "index", + IsPlainText: true, + Rel: "alternate", } HTMLFormat = Format{ |