Another Cookbook query
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi devs,

    In the Cookbook chapter on 'Newscoop and HTML5', there is an example
    header which starts:

    <!DOCTYPE html>
    <html $gimme->language->code }}">

    Surely this should be:

    <!DOCTYPE html>
    <html lang="{{ $gimme->language->code }}">

    It seems obvious, but I don't want to *add* any mistakes to the text.
    Otherwise you'll be getting support questions about this for years :-)

    Cheers!

    Daniel
  • 1 Comment sorted by
  • Yes sure, should be as you said (copy/paste error)

    best, ljuba

    On 17 May 2011 17:00, Daniel James <newscoop-dev@lists.sourcefabric.org>wrote:

    > Hi devs,
    >
    > In the Cookbook chapter on 'Newscoop and HTML5', there is an example
    > header which starts:
    >
    > <!DOCTYPE html>
    > <html $gimme->language->code }}">
    >
    > Surely this should be:
    >
    > <!DOCTYPE html>
    > <html lang="{{ $gimme->language->code }}">
    >
    > It seems obvious, but I don't want to *add* any mistakes to the text.
    > Otherwise you'll be getting support questions about this for years :-)
    >
    > Cheers!
    >
    > Daniel
    >
    >

    --
    Ljuba Rankovic
    Senior Front End Developer, Sourcefabric
    ljuba.rankovic@sourcefabric.org

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric