From 095274c34bd6ff624859ba5aaa15efa40ec0487d Mon Sep 17 00:00:00 2001 From: Niels Serup Date: Fri, 15 Jul 2011 23:27:56 +0200 Subject: [PATCH] Source code highlighting and video-audio support. Not tested. --- prestatic/screen.css | 15 ++++++++------- prestatic/template.html | 19 ++++++++++++++----- site/index.org | 5 ++++- sitespecial/servererror.org | 4 ++-- 4 files changed, 28 insertions(+), 15 deletions(-) diff --git a/prestatic/screen.css b/prestatic/screen.css index 8992e88..32bb61f 100644 --- a/prestatic/screen.css +++ b/prestatic/screen.css @@ -259,10 +259,11 @@ td, th { float: left; } -.textbanner { - background-color: red; - font-size: 20px; - display: inline-block; - padding: 2px 5px; - margin: 3px; -} \ No newline at end of file +.block { + display: block; +} + +.inline { + display: inline; +} + diff --git a/prestatic/template.html b/prestatic/template.html index 1af322e..029bab3 100644 --- a/prestatic/template.html +++ b/prestatic/template.html @@ -34,8 +34,13 @@ page.summary = run_macros(page.summary) - - + + @@ -45,8 +50,11 @@ page.summary = run_macros(page.summary) + print("""\ + + \ +""".format(x=x))@--> + > - + +
diff --git a/site/index.org b/site/index.org index f9b3229..1c7e3f8 100644 --- a/site/index.org +++ b/site/index.org @@ -17,7 +17,7 @@ non-hackers. Historically, this start page has featured text which had little purpose except to exist. That is over now. /metanohi/ has no real need for a start page --- -and that means no more superfluous text. +and that means no more superfluous text[fn:extra]. * Passive activism @@ -58,3 +58,6 @@ and that means no more superfluous text. #+END_SRC + + +[fn:extra] Not much, anyway. diff --git a/sitespecial/servererror.org b/sitespecial/servererror.org index 34b81a6..c5d05d2 100644 --- a/sitespecial/servererror.org +++ b/sitespecial/servererror.org @@ -1,5 +1,5 @@ #+title: Server error -There was an error, most likely due to sloppy programming: +* <@deval page.error@> -<@deval page.error@> +There was an error, most likely due to sloppy programming.