Enabling Nitro ('--stepAnalysis') again. Fix #58

This commit is contained in:
spf13
2013-10-03 09:44:45 -04:00
parent 18f2b82658
commit dcfcbac589
2 changed files with 7 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ import (
"time"
)
var DefaultTimer = nitro.Initalize()
var DefaultTimer *nitro.B
func MakePermalink(base *url.URL, path *url.URL) *url.URL {
return base.ResolveReference(path)
@@ -78,6 +78,10 @@ type SiteInfo struct {
Config *Config
}
func init() {
DefaultTimer = nitro.Initalize()
}
func (s *Site) timerStep(step string) {
if s.timer == nil {
s.timer = DefaultTimer