git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
plugins/raw.py
@@ -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')