mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
Abstract html/template dependency
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
This commit is contained in:
committed by
Noah Campbell
parent
0a9dc705f3
commit
ee5865f239
@@ -14,12 +14,11 @@
|
||||
package hugolib
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Node struct {
|
||||
RSSlink template.HTML
|
||||
RSSlink HTML
|
||||
Site SiteInfo
|
||||
layout string
|
||||
Data map[string]interface{}
|
||||
@@ -32,7 +31,7 @@ type Node struct {
|
||||
|
||||
type UrlPath struct {
|
||||
Url string
|
||||
Permalink template.HTML
|
||||
Permalink HTML
|
||||
Slug string
|
||||
Section string
|
||||
Path string
|
||||
|
Reference in New Issue
Block a user