chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] wiki pages and h1 title


From: John Gabriele
Subject: Re: [Chicken-users] wiki pages and h1 title
Date: Sat, 10 Sep 2011 13:42:51 -0400

On Sat, Sep 10, 2011 at 1:13 PM, Peter Bex <address@hidden> wrote:
> On Sat, Sep 10, 2011 at 12:56:59PM -0400, John Gabriele wrote:
>
>> I think it would make sense for every page to have an h1 ("= Page
>> Title") at the top, which would not be part of a toc (if present),
>> which would be rendered at the top of the page body (above the toc, if
>> present), and which would be used to generate the first portion of the
>> page's <title>. What do you think?
>
> I think that is ugly since it would repeat this title:
>
> == foo
> blabla
>
> gets rendered to
>
> <h1>foo</h1>
> <h2>foo</h2>
>

I don't understand what you mean. I'd expect this wiki markup:

~~~~
= Title Goes Here

[[toc:]]

== Intro

Some content here.
~~~~

to produce something like:

~~~~
<html>
<head><title>Title Goes Here - The Chicken Scheme Wiki</title></head>
<body>
<h1>Title Goes Here</h1>

{ ... toc ...}

<h2>Intro</h2>
<p>Some content here.</p>
</body>
</html>
~~~~

Where the only duplication is "Title Goes Here" lands in the <title>
as well as in the <h1>, which I believe is as it should be.

---John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]