librelist archives

« back to archive

Page heading different to menu item name?

Page heading different to menu item name?

From:
Jake Subs
Date:
2012-02-13 @ 14:37
I'm in the midst of building my first Nesta site, and really enjoying it.

Is there any simple way of having the page heading _different_ to the
menu item name?

I'd like to have the menu item say "Skills" but the page heading say
<h1>Front end kung fu</h1>.

I've had a look at the documentation here:
http://nestacms.com/docs/creating-content/menus

but can't find anything.

many thanks, Jake

Page heading different to menu item name?

From:
Jake Subs
Date:
2012-02-15 @ 10:45
I'm in the midst of building my first Nesta site, and really enjoying it.

Is there any simple way of having the page heading _different_ to the
menu item name?

I'd like to have the menu item say "Skills" but the page heading say
<h1>Front end kung fu</h1>.

I've had a look at the documentation here:
http://nestacms.com/docs/creating-content/menus

but can't find anything.

many thanks, Jake

Re: [nesta] Page heading different to menu item name?

From:
Graham Ashton
Date:
2012-02-15 @ 10:49
On 15 Feb 2012, at 10:45, Jake Subs wrote:

> I'm in the midst of building my first Nesta site, and really enjoying it.

Awesome. :-)

> Is there any simple way of having the page heading _different_ to the
> menu item name?

There isn't, but I'd really like to be able to do that myself. I've been 
thinking that a third field in menu.txt to specify alternative link text 
would be the best way to do it... (should anybody feel like having a crack
at it ;-)

--
Graham Ashton
Founder, The Agile Planner
http://theagileplanner.com | @agileplanner | @grahamashton


Re: [nesta] Page heading different to menu item name?

From:
Jake Subs
Date:
2012-02-15 @ 17:36
On 15 February 2012 10:49, Graham Ashton <graham@effectif.com> wrote:
>> Is there any simple way of having the page heading _different_ to the
>> menu item name?

> There isn't, but I'd really like to be able to do that myself. I've been
thinking that a third field in menu.txt to specify alternative link text 
would be the best way to do it... (should anybody feel like having a crack
at it ;-)

I'd love to have a crack it but alas my ruby/sinatra knowledge won't
cover the back of one of these http://ow.ly/95Dc6 !

I'll use a nasty CSS hack (add a "hidden" class on the h1, then add an
h1 to enclosed <article>, using text-indent:-999em) for now.

cheers, Jake