~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/templates/base-layout.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-25 06:25:32 UTC
  • mfrom: (14381.1.2 808282-canonical-url)
  • Revision ID: launchpad@pqm.canonical.com-20111125062532-xuzylj05w0ecrv8c
[r=benji, sladen] [r=benji][bug=808282] add recommended_canonical_url,
        feeding <link rel=canonical>

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    lp_js string:${icingroot}/build">
29
29
    <title tal:content="view/fmt:pagetitle">Page Title</title>
30
30
    <link rel="shortcut icon" href="/@@/launchpad.png" />
31
 
 
 
31
    <link
 
32
      rel="canonical"
 
33
      tal:define="url view/recommended_canonical_url | nothing"
 
34
      tal:condition="url"
 
35
      tal:attributes="href url"/>
32
36
    <tal:atomfeeds define="feed_links view/feed_links | nothing">
33
37
      <link rel="alternate" type="application/atom+xml"
34
38
        tal:repeat="link feed_links"
52
56
    </tal:comment>
53
57
    <noscript></noscript>
54
58
 
55
 
    <meta name="description" 
 
59
    <meta name="description"
56
60
      tal:condition="view/page_description | nothing"
57
 
      tal:attributes="content view/page_description/fmt:strip-email/fmt:shorten/500">
 
61
      tal:attributes="content view/page_description/fmt:strip-email/fmt:shorten/500" />
58
62
 
59
63
    <metal:page-javascript
60
64
        use-macro="context/@@+base-layout-macros/page-javascript" />