mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00: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.
10 lines
78 B
Go
10 lines
78 B
Go
package hugolib
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestPermalink(t *testing.T) {
|
|
|
|
}
|