mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00

The render code path would use a fallback if there was an exception. This change instead relies on explicit declaration of the layout to use and includes a check to see if the layout indeed exists before attempting to render it.
9 lines
78 B
Go
9 lines
78 B
Go
package hugolib
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestPermalink(t *testing.T) {
|
|
|
|
}
|