Switching to the rjson library which is more friendly to human generated json.

This commit is contained in:
spf13
2013-10-01 22:45:24 -04:00
parent 48e1068e3e
commit 18f2b82658
4 changed files with 22 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ package hugolib
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"github.com/BurntSushi/toml"
@@ -26,11 +25,12 @@ import (
"html/template"
"io"
"launchpad.net/goyaml"
json "launchpad.net/rjson"
"net/url"
"path"
"sort"
"strings"
"time"
"net/url"
)
type Page struct {
@@ -467,4 +467,3 @@ func (p *Page) TargetPath() (outfile string) {
return path.Join(p.Dir, strings.TrimSpace(outfile))
}