Re: About merging the Hurd homepage and the Hurd wiki
Thomas Schwinge <[email protected]> Wed, 12 Nov 2008 15:38:56 +0100
| Newsgroups | gmane.os.hurd.bugs,gmane.os.hurd.web.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello!
On Tue, Nov 11, 2008 at 11:28:01AM +0100, Arne Babenhauserheide wrote:
> Is it possible to only show a shortened version of the news on the start page,
> so that we can write longer news entries, or should the news entries rather be
> like changelog entries which link to full-length articles?
Currently ikiwiki's inline plugin will either show the full item or
nothing of it. Or you can manually use the toggle plugin,
<http://ikiwiki.info/plugins/toggle/>, for what you intend to do. Adding
a new mode to the inline plugin to only show an ``appetizer'' ending with
``...'' after a customizable amount of characters (or lines) is on my
TODO list. (One item for the Perl coders.) The ``...'' would then lead
to either the full content being displayed or a link to the complete
page.
> But I just spotted a css error:
>
> The class "newsitemcontent" needs a min-height value, so that it is always at
> least as high as the "newsitemheader"
Ah, right! However, I solved this differently to what you suggested,
using CSS' `clear' magic. See the git log for that change and a few
other CSS improvements. By now I know more about CSS than I ever wanted.
But still not enough:
.newsitemcontent
{
/* TODO. Why is this needed to make the floating text appear on the same
vertical height as is the item's title? */
margin-top: -10px;
}
Regards,
Thomas
signature.asc
(application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFJGuqAgfzh735dTTURAlLYAJ9012BW+90mreOS5jK/DcAAb9adXgCgvd7B ztVsACDJC57FQKZs/yZyfcU= =6p7N -----END PGP SIGNATURE-----