diff options
author | u@09c8cbfd758dbd0224174f3bdf0ec5b8007c7be7 <u@web> | 2015-10-26 08:01:28 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-10-26 08:01:28 -0400 |
commit | bfed9a405e721e28dcfb735e75b8b51453247df9 (patch) | |
tree | 8463bc612c49332fd0f1e8a146cde3ad0a3ead49 | |
parent | 7ba7a574f6b41d696590a882f0e3fed31ab4938f (diff) | |
download | ikiwiki-bfed9a405e721e28dcfb735e75b8b51453247df9.tar ikiwiki-bfed9a405e721e28dcfb735e75b8b51453247df9.tar.gz |
-rw-r--r-- | doc/todo/Page_template_with_RTL_support.mdwn | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/doc/todo/Page_template_with_RTL_support.mdwn b/doc/todo/Page_template_with_RTL_support.mdwn index 1993fb473..e90342170 100644 --- a/doc/todo/Page_template_with_RTL_support.mdwn +++ b/doc/todo/Page_template_with_RTL_support.mdwn @@ -8,23 +8,7 @@ if the PO plugin is enabled. I can't seem to attach a patch - sending it to Joey. Copy pasting markup here seems to be quite problematic. -Trying anyway: +Pasting it here: https://paste.debian.net/318146/ -<pre> - diff --git a/templates/page.tmpl b/templates/page.tmpl - index 9e8b330..7f1c0cb 100644 - --- a/templates/page.tmpl - +++ b/templates/page.tmpl - @@ -1,5 +1,9 @@ - <!DOCTYPE html> - +<TMPL_IF HTML_LANG_CODE> - +<html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"> - +<TMPL_ELSE> - <html xmlns="http://www.w3.org/1999/xhtml"> - +</TMPL_IF> - <head> - <TMPL_IF DYNAMIC> - <TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE> -</pre> -Cheers -u. + +Cheers. |