go fmt so code - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 92cff055828ff250a5d40c3dae55f0d0235c7f61
DIR parent ff2b98c9dd23d0b0bcc6d0a961f373911eee6bef
HTML Author: spf13 <steve.francia@gmail.com>
Date: Sun, 29 Sep 2013 02:07:41 -0400
go fmt so code
Diffstat:
M hugolib/site.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/hugolib/site.go b/hugolib/site.go
@@ -25,15 +25,15 @@ import (
"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 (s *Site) Stats() {
}
}
-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)