Hi! First of all, good question!
>From the HTML perspective, it doesn't matter the order of the elements in the head, so you are not going to have any trouble in the future. But from a coding perspective, finding the most elegant solution is always very important :). A few options: - <append-head:>. This would be the nicest solution. You add code before the end of head. - <after-scripts:> or <after-stylesheets:> You add code after these elements, so it's not too bad. - You redefine <page> completely. Just copy it whole from here http://hobocentral.net/tagdef/hobo_clean/hobo_clean/page and customise what you need. This might be the best option if you add more "param" attributes so you can enable/customise them in other pages of the application. Regards, Ignacio El 01/11/13 01:23, JezC escribió: > Hiya, a few years ago, there was a helpful post on a similar topic with > some good stuff in it. > > However, I want to do something a little different for my customisation, > and I'm not sure what the right, Hobo-ey, way is. > > I want to have the usual document start tags, and the title tag. Then I > want a section that I don't think is described. I want to have control > over Google, and Bing. I want a meta description, and a meta robots. > Something like this: > > <!DOCTYPE html> <html lang="en"> > <head> <title>a title</title> > <meta name="description" content="blah blah blah" /> > <meta name="robots" content="NOINDEX" /> > > > > This isn't, strictly, a custom-scripts extension to add into > app/views/taglibs/rapid/page.dryml And it isn't a stylesheet. Nor is it > a title. There's only those three classes of stuff in the head, isn't there? > > Should I be defining a new page structure that includes a metadata > section that I can then override? > > Do I abuse the scripts section to shove in things that aren't scripts? > > And what if I wanted to put in the zillion links that provides iPhone > and iPad images, etc? There's no head section for images/links. > > I have a vague feeling of dread that stuffing these "wrong" resources > into the wrong section will likely break some other assumption. Such as > that everything in the scripts section is, in fact, a script, for example. > > I will be wanting to change the values in different parts of the app. > Some pages will allow indexing, others will deny it. > > Even worse... I have, I think, a reason to want to embed canonical link > references. But there's no section defined for links (favicon, as in the > original post from 2009), prev/next, canonical, etc. Is the right way to > handle these, still to abuse the intent behind the existing sections, too? > > What's the right way to insert these elements? > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/groups/opt_out. -- Ignacio Huerta Arteche http://www.ihuerta.net Teléfono: 0034 645 70 77 35 Email realizado con software libre -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/groups/opt_out.
