Abstract html/template dependency

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
This commit is contained in:
Fabrizio (Misto) Milo
2013-08-31 17:35:17 -07:00
committed by Noah Campbell
parent 0a9dc705f3
commit ee5865f239
6 changed files with 43 additions and 34 deletions

View File

@@ -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