Skip to content

Commit

Permalink
Merge pull request #7 from kabukky/development
Browse files Browse the repository at this point in the history
Removed "//" in front of @blog.url helper.
  • Loading branch information
kabukky committed Apr 25, 2015
2 parents 7a697ce + 552dbb7 commit c31835f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/handlebars.go
Expand Up @@ -852,8 +852,7 @@ func atBlogDotTitleFunc(helper *structure.Helper, values *structure.RequestData)

func atBlogDotUrlFunc(helper *structure.Helper, values *structure.RequestData) []byte {
var buffer bytes.Buffer
// Write // in front of url to be protocol agnostic
buffer.WriteString("//")
log.Println(string(values.Blog.Url))
buffer.Write(values.Blog.Url)
return evaluateEscape(buffer.Bytes(), helper.Unescaped)
}
Expand Down

0 comments on commit c31835f

Please sign in to comment.