]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/Option_to_disable_date_footer_for_inlines.mdwn
link to submodule support question
[ikiwiki.git] / doc / todo / Option_to_disable_date_footer_for_inlines.mdwn
1 [[/plugins/inline]], with the `archive` option, shows only page titles and
2 post dates.  I'd like an option to omit the post dates as well, leaving only
3 the page titles.  Such an option would streamline the [[/users]] page, for
4 instance. --[[JoshTriplett]]
5 > Yes, indeed, something like "compact" mode would be useful.
6 > In fact, this would be better handled with a replacement of the "archive" on/off API with something like
7 > mode = normal|archive|compact|.... defaulting to normal
8 > --hb
9
10 >> You also don't need to be restricted to a fixed set of modes: the `mode` parameter could simply specify
11 >> the template to be used: `inlinepage-$mode.tmpl`. For producing e.g. bulleted lists of the entries, some extra
12 >> container template would be useful in addition to that... 
13 >>
14 >> In a related note, I'd like an option to include the creation date on some non-inlined pages too. I suppose
15 >> that's doable with some template hook in a plugin, and a command-line parameter pagespec (suffices for me),
16 >> but I haven't got around to that yet. --[[tuomov]]
17
18 Customised templates can now be specified with the `templates` parameter,
19 so done --[[Joey]]
20
21 > That definitely solves this problem in general; thanks!
22 >
23 > For this specific case, I'd still like to see a `titleonly.tmpl` template
24 > included by default.  How about this simple template, based on
25 > archivepage.tmpl?
26 >
27 >     <p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p>
28 >
29 > --[[JoshTriplett]]
30
31 [[todo/done]]