 Issue 29495555:
  Fixes 5343 - add global function: get_canonical_url  (Closed)
    
  
    Issue 29495555:
  Fixes 5343 - add global function: get_canonical_url  (Closed) 
  | Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 1 template = empty | 1 template = empty | 
| 2 | 2 | 
| 3 foo_url = {{ get_page_url('foo') }} | 3 global_canonical_url = {{ get_canonical_url('global') }} | 
| 4 foo_de_url = {{ get_page_url('foo', 'de') }} | |
| 5 foo_canonical_url = {{ get_page_url('foo', None) }} | |
| 6 | 4 | 
| 5 # 'filter' is default page name for the test website, so we check that the | |
| 6 # link would not include the page name itself. | |
| 7 filter_canonical_url = {{ get_canonical_url('filter') }} | |
| LEFT | RIGHT |