Update mdwn_itex-templates.patch from ikiwiki 3.14ubuntu1 -> 3.20100815.
authorW. Trevor King <wking@drexel.edu>
Thu, 30 Sep 2010 13:42:30 +0000 (09:42 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 30 Sep 2010 13:42:30 +0000 (09:42 -0400)
posts/mdwn_itex-templates.patch

index 2024bc31378334a717eb46eab2f945fcb481646f..65a12c6196e5ffd4f059e38472a72a4f8cc2d3ca 100644 (file)
@@ -1,36 +1,19 @@
-diff -ru /usr/share/ikiwiki/templates/misc.tmpl /home/wking/.ikiwiki/templates/misc.tmpl
---- /usr/share/ikiwiki/templates/misc.tmpl     2009-06-05 15:21:43.000000000 -0400
-+++ /home/wking/.ikiwiki/templates/misc.tmpl   2010-09-29 23:50:05.000000000 -0400
-@@ -1,6 +1,11 @@
--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+diff -ru /usr/share/ikiwiki/templates/page.tmpl .ikiwiki/templates/page.tmpl
+--- /usr/share/ikiwiki/templates/page.tmpl     2010-09-30 08:58:51.000000000 -0400
++++ .ikiwiki/templates/page.tmpl       2010-09-30 09:10:02.000000000 -0400
+@@ -1,8 +1,12 @@
+ <TMPL_IF HTML5><!DOCTYPE html>
+ <html>
+-<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 -<html xmlns="http://www.w3.org/1999/xhtml">
-+<?xml version="1.0" encoding="UTF-8"?>
++<TMPL_ELSE><?xml version="1.0" encoding="UTF-8"?>
 +<!DOCTYPE html PUBLIC
 +    "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
 +    "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
 +<html xmlns="http://www.w3.org/1999/xhtml"
 +      xmlns:math="http://www.w3.org/1998/Math/MathML"
-+      xmlns:svg="http://www.w3.org/2000/svg"
-+      xml:lang="en" dir="ltr">
++      xmlns:svg="http://www.w3.org/2000/svg">
+ </TMPL_IF>
  <head>
- <TMPL_IF NAME="FORCEBASEURL">
- <base href="<TMPL_VAR FORCEBASEURL>" />
-diff -ru /usr/share/ikiwiki/templates/page.tmpl /home/wking/.ikiwiki/templates/page.tmpl
---- /usr/share/ikiwiki/templates/page.tmpl     2009-06-05 15:21:43.000000000 -0400
-+++ /home/wking/.ikiwiki/templates/page.tmpl   2010-09-29 23:49:56.000000000 -0400
-@@ -1,6 +1,11 @@
--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
--<html xmlns="http://www.w3.org/1999/xhtml">
-+<?xml version="1.0" encoding="UTF-8"?>
-+<!DOCTYPE html PUBLIC
-+    "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
-+    "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml"
-+      xmlns:math="http://www.w3.org/1998/Math/MathML"
-+      xmlns:svg="http://www.w3.org/2000/svg"
-+      xml:lang="en" dir="ltr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title><TMPL_VAR TITLE></title>
+ <TMPL_IF DYNAMIC>