Remove hugolib.HTML and hugolib.URL types

These types were not be rendered correctly by the html/template package.
Removing them gets the correct behavior.

Fixes #74
This commit is contained in:
Noah Campbell
2013-09-03 12:41:13 -07:00
parent a591a10626
commit 3ecc698f5e
7 changed files with 34 additions and 30 deletions

View File

@@ -15,10 +15,11 @@ package hugolib
import (
"time"
"html/template"
)
type Node struct {
RSSlink HTML
RSSlink template.HTML
Site SiteInfo
layout string
Data map[string]interface{}
@@ -31,7 +32,7 @@ type Node struct {
type UrlPath struct {
Url string
Permalink HTML
Permalink template.HTML
Slug string
Section string
Path string