interface updates

This commit is contained in:
Henrique Dias
2016-06-26 23:03:27 +01:00
parent 0f18f74848
commit 44cd9bf930
6 changed files with 208 additions and 124 deletions

View File

@@ -5,7 +5,7 @@ import (
"path/filepath"
"strings"
"github.com/hacdias/caddy-hugo/tools/frontmatter"
"github.com/hacdias/caddy-filemanager/internal/frontmatter"
"github.com/spf13/hugo/parser"
)
@@ -14,7 +14,7 @@ type Editor struct {
Class string
Mode string
Content string
FrontMatter interface{}
FrontMatter *frontmatter.Content
}
// GetEditor gets the editor based on a FileInfo struct