Commit Graph

12731 Commits (154732dc4235b7b31191975da50d780a2765fa02)

Author SHA1 Message Date
Joey Hess 154732dc42 adapt comment.tmpl to html5
Note that I put comment-header in a <header> despite it being
below the comment. Using a <footer> would be confusing given
the class name. Also, the content is semantically closer to
a header than a footer.
2010-05-02 16:12:08 -04:00
Joey Hess cbe0726b63 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-05-02 15:45:48 -04:00
Joey Hess 0aad1794ad improve semantic markup
Now the toplevel layout is:

<article>
<section><header><nav></section>
<aside>sidebar</aside>
<section>content</section>
<section>comments</section>
<footer>
</article>

And I managed to preserve all CSS ids and names in their prior structure,
so CSS should not need changed.
2010-05-02 15:41:12 -04:00
raf 9480dc4427 2010-05-02 19:26:06 +00:00
raf 40aba87965 2010-05-02 19:20:37 +00:00
raf fa26c67b2a 2010-05-02 19:19:33 +00:00
Joey Hess d69f6057d1 use html5 semantic markup in page.tmpl
This is a first pass, it avoids needing to change style.css
except where it refers to tag types.

This goes a bit off the rails at the pageheader with its nested header.
Semantically, there should be an article around the whole page
header, content, and footer. Just as there will be an article around a
whole comment or inlined page header, content, and footer.

But that will mean changing the css that currently refers to pageheader to
refer to the enclosing article instead.
2010-05-02 15:09:33 -04:00
Joey Hess 7517d34da9 update 2010-05-02 15:09:15 -04:00
Joey Hess 932fc0c25f use a div, not a p .. and in html5, a nav 2010-05-02 14:41:20 -04:00
Joey Hess b21df5029b Add placeholder text in search form (in html5 mode only). 2010-05-02 13:49:56 -04:00
Joey Hess 970373548f Add parameter to displaytime to specify that it is a pubdate, and in html5 mode, use time tag. 2010-05-02 13:44:13 -04:00
Joey Hess f9e41d19b7 add news item for ikiwiki 3.20100501 2010-05-01 21:42:48 -04:00
Joey Hess d9e22adb66 releasing version 3.20100501 2010-05-01 21:42:13 -04:00
Joey Hess 0dc6235659 use styled divs instead of center tags
More could be done to modernize this html, but I don't want to diverge
too far from the one in xapian.
2010-05-01 21:14:05 -04:00
Joey Hess 0ec1fe1944 set html5 option as advanced for now 2010-05-01 21:04:14 -04:00
Joey Hess 1226269f68 mention html5 2010-05-01 21:00:06 -04:00
Joey Hess 8e4af6a8e2 tidy plugin issue 2010-05-01 20:57:54 -04:00
Joey Hess a547d26858 html5 option
* Ikiwiki can be configured to generate html5 instead of the default xhtml
  1.0. The html5 output mode is experimental, not yet fully standards
  compliant, and will be subject to rapid change.
2010-05-01 20:49:18 -04:00
Joey Hess ccafb10007 enable hidden attribute 2010-05-01 19:59:16 -04:00
Joey Hess 930a60ae1d apply simonrvn patch adding labels for radio buttons
and other minor html improvement
2010-05-01 19:37:27 -04:00
Joey Hess 704263534a apply simonrvn patch to quote attributes 2010-05-01 19:33:24 -04:00
Joey Hess 790a339db1 htmlscrubber: Also allow some other html5 tags: canvas, progress, meter, ruby, rt, rp, details, summary. 2010-05-01 19:28:28 -04:00
Joey Hess f1e2d0af12 more html5 attributes 2010-05-01 19:11:03 -04:00
Joey Hess 78cee5140a add rest of html5 form attributes
It's easy to imagine pattern being used to freeze or crash browsers, if
they implement it stupidly. Let's hope not..
2010-05-01 18:44:37 -04:00
Joey Hess 80f9a2a087 add figure and figcaption 2010-05-01 18:31:33 -04:00
Joey Hess 0a139aba82 htmlscrubber: Allow the html5 form attributes: placeholder autofocus, min, max, step. 2010-05-01 18:27:53 -04:00
Joey Hess 442bc59a15 htmlscrubber: Allow the placeholder attribute. 2010-05-01 18:14:50 -04:00
Joey Hess 73c8209484 more html5
* htmlscrubber: Also allow html5 canvas tags.
* htmlscrubber: Round out html5 video support with the preload
  attribute and the source tag.
2010-05-01 17:56:35 -04:00
Joey Hess 80f2042464 htmlscrubber: Allow html5 semantic tags: section nav article aside hgroup header footer time mark 2010-05-01 16:34:47 -04:00
Joey Hess a034716009 update example tag pages to match autotag.tmpl 2010-05-01 15:35:52 -04:00
Joey Hess 91c57b03c9 limit feeds for tag pages to including ten posts
With archive=yes, feeds default to including all, but that is expensive
for automatically created tag pages.
2010-05-01 15:32:30 -04:00
Joey Hess 3252df4aa8 comments, branch review, questions 2010-05-01 15:27:32 -04:00
Joey Hess 6293c62cac no need to use HTML::Entities
That module is unused now. Long long ago, it used to be used to encode data in
the index. Checked all modules, and every module that uses it imports it.
2010-04-30 17:26:41 -04:00
Joey Hess dd75b61d93 response 2010-04-30 14:15:58 -04:00
Joey Hess 3e6cbc3190 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-30 14:10:17 -04:00
Joey Hess 8ce5c77738 Version dependency on liburi-perl to >= 1.36; previous versions did not support building urls from utf-8 strings. Closes: #579713 2010-04-30 13:06:52 -04:00
Jon Dowland 9fb15ec9fe new bug: svn commit failures... 2010-04-30 16:48:19 +01:00
simonraven f7f1dd3a38 more to add on my comment 2010-04-29 16:24:23 +00:00
simonraven d57d2ecca7 YA URI to another mediawiki to git project 2010-04-29 16:18:15 +00:00
http://jmtd.livejournal.com/ 8d7dba2fb2 wl rcs 2010-04-29 15:35:59 +00:00
albertlash ebde1ee2fd 2010-04-29 03:44:52 +00:00
albertlash 0c7d2cf9b2 2010-04-29 03:44:27 +00:00
http://kerravonsen.dreamwidth.org/ a5923e3999 reply 2010-04-29 00:27:03 +00:00
Joey Hess b61dc50dab remove obsolete NEWS 2010-04-28 12:42:14 -04:00
Joey Hess a6e6f604bd TMPL_INCLUDE re-enabled for templates read from the templatedir. (But not in-wiki templates.) 2010-04-28 12:39:13 -04:00
http://kerravonsen.dreamwidth.org/ 67e8edc597 question about TMPL_INCLUDE 2010-04-28 03:22:37 +00:00
Joey Hess 0e7a3640ae template: Fix typo. 2010-04-27 12:10:58 -04:00
Joey Hess 9daf3db277 format 2010-04-27 00:02:49 -04:00
Joey Hess 47dfa3b8b9 add news item for ikiwiki 3.20100427 2010-04-27 00:00:46 -04:00
Joey Hess a9cf5810a6 releasing version 3.20100427 2010-04-27 00:00:09 -04:00