On Sun, Feb 9, 2014 at 2:43 PM, Kay Hayen <
kay....@gmail.com> wrote:
>
> Hello,
>
>> > Do you guys like the "Nikola | Nikola" of the HTML <title> for the
>> > main page and the blog index pages at
http://getnikola.com ?
>
>
> No, it makes me look stupid as website operator :)
>
>>
>> >
>> > (similarly for "Foo | Foo" titles in many other Nikola-based
>> > blogs/sites)
>> >
>> > I don't.
>> >
>> > The good news is that Nikola has a feature to fix that: The
>> > INDEXES_TITLE setting:
>
>
> Never knew that, although that is probably more my fault then anything else.
>>
>>
>> Maybe something like this (pseudocode):
>>
>> if not INDEXES_TITLE:
>> title = BLOG_TITLE
>> else:
>> title = ' | '.join(INDEXES_TITLE, BLOG_TITLE)
>
>
> Rather not. I would suggest to have standard titles for index, archive, and
> what not pages, and use them like this.
>
> if isIndexPage():
> title = ' | '.join(BLOG_TITLE, i18n("index page %d"))
> elif isArchivePage():
> title = ' | '.join(BLOG_TITLE, i18n("%y archive "))
> else:
> title = ' | '.join(BLOG_TITLE, page.title())
This is kinda sensible. Though I’d like to add another proposal:
"Nikola". Though this would be tricky, and would require