yet another round, with 2 new Plugins Tabs and Raw (from raw html)
[myslice.git] / plugins / raw.py
diff --git a/plugins/raw.py b/plugins/raw.py
new file mode 100644 (file)
index 0000000..0a0be1d
--- /dev/null
@@ -0,0 +1,8 @@
+from engine.plugin import Plugin
+
+# usage Raw (html="some html text")
+
+class Raw (Plugin):
+
+    def render_content (self, request):
+        return self.get_setting('html')