mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user