interface updates

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

No files matched your search

+2 -2
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