hugo-wasm/media
Bjørn Erik Pedersen c2fb221209 Add ContentTypes to config
This is an empty struct for now, but we will most likely expand on that.

```
[contentTypes]
  [contentTypes.'text/markdown']
```

The above means that only Markdown will be considered a content type. E.g. HTML will be treated as plain text.

Fixes #12274
2025-02-08 10:31:15 +01:00
..
testdata media: Also consider extension in FromContent 2021-12-22 11:35:53 +01:00
builtin.go Create pages from _content.gotmpl 2024-05-14 13:12:08 +02:00
config.go Add ContentTypes to config 2025-02-08 10:31:15 +01:00
config_test.go Create pages from _content.gotmpl 2024-05-14 13:12:08 +02:00
mediaType.go Add js.Batch 2024-12-12 21:43:17 +01:00
mediaType_test.go Add ContentTypes to config 2025-02-08 10:31:15 +01:00