Add oEmbed support
[phorkie.git] / data / templates / oembed.htm
diff --git a/data/templates/oembed.htm b/data/templates/oembed.htm
new file mode 100644 (file)
index 0000000..1a1eb7a
--- /dev/null
@@ -0,0 +1,7 @@
+<!-- embedding all files of {{repo.getLink('display', null, true)}} -->
+<link rel="stylesheet" href="{{htmlhelper.fullUrl('css/embed.css')}}"/>
+<div class="phork" id="{{repo.id}}">
+{% for file in repo.getFiles %}
+    {% include 'embed-part-file.htm' %}
+{% endfor %}
+</div>