mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
media, output: Add CSV type and format
And make CSS correclty behave as plain text.
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user