projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ab0b2
)
Strip trailing whitespace in code
author
Anthony Fok
<foka@debian.org>
Tue, 4 Aug 2015 17:59:32 +0000
(11:59 -0600)
committer
Anthony Fok
<foka@debian.org>
Tue, 4 Aug 2015 17:59:32 +0000
(11:59 -0600)
hugolib/site.go
patch
|
blob
|
history
hugolib/site_test.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index b61397a99361c45dbab74b51d39e42e1c2e4acb6..9f750c1a178788ee3aba9c1f8c639252bde5b73b 100644
(file)
--- a/
hugolib/site.go
+++ b/
hugolib/site.go
@@
-1593,9
+1593,9
@@
func (s *Site) futureStats() string {
switch s.futureCount {
case 0:
- return "0 future content
"
+ return "0 future content"
case 1:
- msg = "1 future rendered
"
+ msg = "1 future rendered"
default:
msg = fmt.Sprintf("%d future rendered", s.draftCount)
}
diff --git
a/hugolib/site_test.go
b/hugolib/site_test.go
index 6ee9287cfc07430f5c65098e6ba35e34dfdfce12..19df704d6c02d8ad98adbf645cb420075e337061 100644
(file)
--- a/
hugolib/site_test.go
+++ b/
hugolib/site_test.go
@@
-323,9
+323,9
@@
func doTestCrossrefs(t *testing.T, relative, uglyUrls bool) {
// Issue #1148: Make sure that no P-tags is added around shortcodes.
{filepath.FromSlash("sect/doc2.md"),
[]byte(fmt.Sprintf(`**Ref 1:**
-
+
{{< %s "sect/doc1.md" >}}
-
+
THE END.`, refShortcode))},
}