mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
parent
00b590d7ab
commit
deccc54004
2 changed files with 14 additions and 0 deletions
|
@ -254,6 +254,9 @@ Content: {{ .Content }}
|
|||
require.Equal(t, "webcal://example.com/blog/index.ics", cal.Permalink())
|
||||
}
|
||||
|
||||
require.True(t, home.HasShortcode("myShort"))
|
||||
require.False(t, home.HasShortcode("doesNotExist"))
|
||||
|
||||
}
|
||||
|
||||
// Issue #3447
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue