]> Sergey Matveev's repositories - paster.git/blobdiff - asciicast.tmpl
Texinfo documentation, website and asciicasts
[paster.git] / asciicast.tmpl
diff --git a/asciicast.tmpl b/asciicast.tmpl
new file mode 100644 (file)
index 0000000..2238033
--- /dev/null
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>asciicast</title>
+    <link rel="stylesheet" type="text/css" href="{{.PlayerPath}}.css" />
+  </head>
+  <body>
+  <asciinema-player src="{{.Cast}}"></asciinema-player>
+  <script src="{{.PlayerPath}}.js"></script>
+  <noscript>
+    No JavaScript support.
+    Download <a href="{{.Cast}}">asciicast</a> and play it with
+    <a href="https://pypi.org/project/asciinema/">asciinema</a>.
+  </noscript>
+  </body>
+</html>