mirror of
https://github.com/gohugoio/hugo.git
synced 2024-06-27 21:25:07 +00:00
![Noah Campbell](/assets/img/avatar_default.png)
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) {
|
|
|
|
}
|