change 'caddy-cms' to 'caddy-hugo'

pull/29/head
Henrique Dias 2015-10-18 15:10:32 +01:00
parent e292223165
commit 213dcf179d
11 changed files with 23 additions and 23 deletions

View File

@ -5,7 +5,7 @@ import (
"net/http"
"strings"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-hugo/config"
)
// ServeHTTP is used to serve the content of Browse page

View File

@ -5,7 +5,7 @@ import (
"os"
"strings"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-hugo/config"
)
// DELETE handles the DELETE method on browse page

View File

@ -4,8 +4,8 @@ import (
"net/http"
"text/template"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-cms/utils"
"github.com/hacdias/caddy-hugo/config"
"github.com/hacdias/caddy-hugo/utils"
"github.com/mholt/caddy/middleware"
"github.com/mholt/caddy/middleware/browse"
)

View File

@ -10,8 +10,8 @@ import (
"os"
"strings"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-cms/utils"
"github.com/hacdias/caddy-hugo/config"
"github.com/hacdias/caddy-hugo/utils"
)
// POST handles the POST method on browse page

View File

@ -5,7 +5,7 @@ import (
"net/http"
"strings"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-hugo/config"
)
// ServeHTTP serves the editor page

View File

@ -10,9 +10,9 @@ import (
"strings"
"text/template"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-cms/frontmatter"
"github.com/hacdias/caddy-cms/utils"
"github.com/hacdias/caddy-hugo/config"
"github.com/hacdias/caddy-hugo/frontmatter"
"github.com/hacdias/caddy-hugo/utils"
"github.com/spf13/hugo/parser"
)

View File

@ -10,8 +10,8 @@ import (
"strings"
"time"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-cms/utils"
"github.com/hacdias/caddy-hugo/config"
"github.com/hacdias/caddy-hugo/utils"
"github.com/robfig/cron"
"github.com/spf13/hugo/parser"
)

View File

@ -6,7 +6,7 @@ import (
"sort"
"strings"
"github.com/hacdias/caddy-cms/utils"
"github.com/hacdias/caddy-hugo/utils"
"github.com/spf13/hugo/parser"
)

10
hugo.go
View File

@ -11,11 +11,11 @@ import (
"path/filepath"
"strings"
"github.com/hacdias/caddy-cms/assets"
"github.com/hacdias/caddy-cms/browse"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-cms/editor"
"github.com/hacdias/caddy-cms/utils"
"github.com/hacdias/caddy-hugo/assets"
"github.com/hacdias/caddy-hugo/browse"
"github.com/hacdias/caddy-hugo/config"
"github.com/hacdias/caddy-hugo/editor"
"github.com/hacdias/caddy-hugo/utils"
"github.com/mholt/caddy/config/setup"
"github.com/mholt/caddy/middleware"
)

View File

@ -4,15 +4,15 @@
"description": "Deploy your Hugo website and enjoy of an admin interface with Caddy server.",
"repository": {
"type": "git",
"url": "git+https://github.com/hacdias/caddy-cms.git"
"url": "git+https://github.com/hacdias/caddy-hugo.git"
},
"main": "Gruntfile.js",
"author": "Henrique Dias <hacdias@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/hacdias/caddy-cms/issues"
"url": "https://github.com/hacdias/caddy-hugo/issues"
},
"homepage": "https://github.com/hacdias/caddy-cms#readme",
"homepage": "https://github.com/hacdias/caddy-hugo#readme",
"scripts": {
"install": "napa defunkt/jquery-pjax"
},

View File

@ -11,8 +11,8 @@ import (
"text/template"
"unicode"
"github.com/hacdias/caddy-cms/assets"
"github.com/hacdias/caddy-cms/config"
"github.com/hacdias/caddy-hugo/assets"
"github.com/hacdias/caddy-hugo/config"
"github.com/spf13/hugo/commands"
)