1 (I don't know whether this is about a bug or about a feature request, so apologies if this post is in the wrong place.)
5 It seems to me that the way ikiwiki handles language information at
6 the moment isn't optimal.
8 For instance, if I want to apply different CSS properties depending on
9 the language, I can't. (This matters for some typographic rules that
10 differ depending on the language.)
12 Also, without proper language declarations, the browser cannot hyphen
13 words correctly, resulting in poor line breaking/wrapping.
20 Right now, correct me if I'm wrong, but I need to write
22 bracket bracket !meta language="en"]]
24 somewhere inside a post in order to tell ikiwiki which language the
25 post is written in. This will result in the post's HTML as:
27 <meta name="language" content="en" />
30 This isn't sufficient.
34 ### 1. the blog's lang
36 There's no way to tell ikiwiki the overall, or main language of the
37 blog at the moment (again, that's as far as I can see from reading
38 documentations, forums, etc.)
40 This setting would be nice, in order to add have something like
47 ### 2. the post's lang
49 Then, if a specific post has the meta language property explicitly
50 defined, it should override the language declaration set as default.
52 ### 3. template variable
58 from what I can tell by testing. As a result, I cannot give specific
59 css properties or the like.
62 # Fast way to resolve this
64 The easiest way to resolve this is to create a TMPL_VAR LANGUAGE so
65 that at least people who care can use this variable and improve their templates.
70 This really is the most needed feature for me as a writer in both
71 English and French that I miss the most with ikiwiki. I have looked
72 around in the source code on <https://github.com/joeyh/ikiwiki> but I
73 couldn't figure out where this is happening...
76 I hope you also care :-)