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" "net/http"
"strings" "strings"
"github.com/hacdias/caddy-cms/config" "github.com/hacdias/caddy-hugo/config"
) )
// ServeHTTP is used to serve the content of Browse page // ServeHTTP is used to serve the content of Browse page

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

10
hugo.go
View File

@ -11,11 +11,11 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/hacdias/caddy-cms/assets" "github.com/hacdias/caddy-hugo/assets"
"github.com/hacdias/caddy-cms/browse" "github.com/hacdias/caddy-hugo/browse"
"github.com/hacdias/caddy-cms/config" "github.com/hacdias/caddy-hugo/config"
"github.com/hacdias/caddy-cms/editor" "github.com/hacdias/caddy-hugo/editor"
"github.com/hacdias/caddy-cms/utils" "github.com/hacdias/caddy-hugo/utils"
"github.com/mholt/caddy/config/setup" "github.com/mholt/caddy/config/setup"
"github.com/mholt/caddy/middleware" "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.", "description": "Deploy your Hugo website and enjoy of an admin interface with Caddy server.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/hacdias/caddy-cms.git" "url": "git+https://github.com/hacdias/caddy-hugo.git"
}, },
"main": "Gruntfile.js", "main": "Gruntfile.js",
"author": "Henrique Dias <hacdias@gmail.com>", "author": "Henrique Dias <hacdias@gmail.com>",
"license": "MIT", "license": "MIT",
"bugs": { "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": { "scripts": {
"install": "napa defunkt/jquery-pjax" "install": "napa defunkt/jquery-pjax"
}, },

View File

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