mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Add custom protocol support in Permalink
This commit is contained in:
@@ -30,6 +30,7 @@ func TestDefaultTypes(t *testing.T) {
|
||||
require.Equal(t, "HTML", HTMLType.Name)
|
||||
require.Equal(t, media.HTMLType, HTMLType.MediaType)
|
||||
require.Empty(t, HTMLType.Path)
|
||||
require.Empty(t, HTMLType.Protocol) // Will inherit the BaseURL protocol.
|
||||
require.False(t, HTMLType.IsPlainText)
|
||||
|
||||
require.Equal(t, "RSS", RSSType.Name)
|
||||
|
Reference in New Issue
Block a user