ref: 92cff055828ff250a5d40c3dae55f0d0235c7f61
parent: ff2b98c9dd23d0b0bcc6d0a961f373911eee6bef
author: spf13 <[email protected]>
date: Sat Sep 28 22:07:41 EDT 2013
go fmt so code
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -25,15 +25,15 @@
"github.com/spf13/nitro"
"html/template"
"io"
+ "net/url"
"os"
"strings"
"time"
- "net/url"
)
var DefaultTimer = nitro.Initalize()
-func MakePermalink(base *url.URL, path *url.URL) (*url.URL) {
+func MakePermalink(base *url.URL, path *url.URL) *url.URL {
return base.ResolveReference(path)
}
@@ -542,7 +542,7 @@
}
}
-func permalink(s *Site, plink string) (template.HTML) {
+func permalink(s *Site, plink string) template.HTML {
base, err := url.Parse(string(s.Config.BaseUrl))
if err != nil {
panic(err)