summaryrefslogtreecommitdiff
path: root/content/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'content/types.go')
-rw-r--r--content/types.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/types.go b/content/types.go
new file mode 100644
index 0000000..778f742
--- /dev/null
+++ b/content/types.go
@@ -0,0 +1,7 @@
+package content
+
+import "github.com/nilslice/cms/management/editor"
+
+// Types is a map used to reference a type name to its actual Editable type
+// mainly for lookups in /admin route based utilities
+var Types = make(map[string]editor.Editable)