Commit Graph

12848 Commits (8f6cfbfade6018732495addce11f6d5e93e0b723)

Author SHA1 Message Date
Joey Hess 0fc32c8b2f allow do=setup to log a user in if necessary 2010-05-03 13:46:52 -04:00
Joey Hess 2f22ee85e5 Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary links to the action bar without modifying the template further.
(COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept
separate for now to avoid breaking modified templates.)
2010-05-03 12:46:52 -04:00
raf 4733a1a9cd 2010-05-03 07:28:40 +00:00
raf 0f9c5697f8 2010-05-03 07:27:35 +00:00
raf 7606d3832d 2010-05-03 07:27:05 +00:00
raf 8784c08f6f 2010-05-03 07:25:54 +00:00
Joey Hess adf182669d add a missing space 2010-05-02 22:43:55 -04:00
Joey Hess 78962ddfe6 add bug 2010-05-02 22:03:28 -04:00
Joey Hess cfca3a7074 response 2010-05-02 18:59:37 -04:00
Joey Hess bb70c15c59 on img and figure 2010-05-02 18:55:21 -04:00
Joey Hess 02a99875ff update 2010-05-02 17:54:30 -04:00
Joey Hess 34076e398c html5 bug closure, and documentation 2010-05-02 17:16:15 -04:00
Joey Hess d37ff8d299 ff also needs footer and nav forced to block 2010-05-02 17:01:28 -04:00
Joey Hess 43eef80b46 bugfix 2010-05-02 16:58:29 -04:00
Joey Hess 28dcb52a6c force article and header to display as blocks
iceweasel 3.5.9 does not know to display these as blocks, resulting
in bad displays of blogs
2010-05-02 16:54:31 -04:00
Joey Hess 36688de7c6 adapt misc.tmpl to html5 2010-05-02 16:45:13 -04:00
Joey Hess 677d2af18a adapt inlinepage.tmpl to html5
Needed to force tags to display inline, since <nav> is a block element.
2010-05-02 16:36:10 -04:00
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