change 'caddy-cms' to 'caddy-hugo'
parent
e292223165
commit
213dcf179d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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
10
hugo.go
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue