formatting

master
http://kerravonsen.dreamwidth.org/ 2010-01-22 07:38:12 +00:00 committed by Joey Hess
parent 2e585ec001
commit f24ca627dd
1 changed files with 4 additions and 2 deletions

View File

@ -3,14 +3,16 @@ That is, same source, slightly different presentation at the other end, needing
I have two problems that would be solved by being able to do this.
1. "full" and "print" versions of a page.
[[!toc startlevel=2]]
##"full" and "print" versions of a page.
One has a page "foo", which is rendered into foo.html.
One also wants a foo-print.html page, which uses "page-print.tmpl" rather than "page.tmpl" as its template.
I want to do this for every page on the site, automatically, so it isn't feasible to do it by hand.
2. "en" and "en-us" versions of a page.
##"en" and "en-us" versions of a page.
My site is in non-US English. However, I want US-English people to find my site when they search for it when they use US spelling on certain search terms (such as "optimise" versus "optimize"). This requires a (crude) US-English version of the site where the spellings are changed automatically, and the LANG is "en-us" rather than "en". (No, don't tell me to use keywords; Google ignores keywords and has for a number of years).