From a9fed3c9a4bef20adef88e539a5d95f48ac92c39 Mon Sep 17 00:00:00 2001 From: Castro0o Date: Tue, 7 Apr 2020 15:10:27 +0200 Subject: [PATCH] timeline: template + css --- README.md | 2 +- static/timeline.css | 3 +++ templates/timeline.html | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 static/timeline.css create mode 100644 templates/timeline.html diff --git a/README.md b/README.md index 7f997c1..a3d3bdc 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ create archive folder: `mkdir archive` run script outputting to archive folder and displaying the images from the wiki: -`python dumpwiki.py --output archive --local` +`python3 dumpwiki.py --output archive --local` ### Categories and Templates: diff --git a/static/timeline.css b/static/timeline.css new file mode 100644 index 0000000..db8c68d --- /dev/null +++ b/static/timeline.css @@ -0,0 +1,3 @@ +body { background: red; + color: white; +} \ No newline at end of file diff --git a/templates/timeline.html b/templates/timeline.html new file mode 100644 index 0000000..6e6f183 --- /dev/null +++ b/templates/timeline.html @@ -0,0 +1,14 @@ + + + + + + + {{ page.name }} + + +

{{ page.name }}

+
{{ body|safe }}
+ + +