Skip to content

Commit

Permalink
Fix location canonical URL for hasgeek#333.
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed May 4, 2016
1 parent 19826bd commit a0f850b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hasjob/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
{%- if g.board and g.board.not_root and domain %}
<link rel="canonical" href="{{ domain.url_for(subdomain=none) }}" />
<meta property="og:url" content="{{ domain.url_for(subdomain=none) }}" />
{%- elif g.board and g.board.not_root and location %}
<link rel="canonical" href="{{ url_for('browse_by_location', location=location['name'], subdomain=none) }}" />
<meta property="og:url" content="{{ url_for('browse_by_location', location=location['name'], subdomain=none) }}" />
{%- else %}
<link rel="canonical" href="{{ request.base_url }}" />
<meta property="og:url" content="{{ request.base_url }}" />
Expand Down

0 comments on commit a0f850b

Please sign in to comment.