File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 46
46
{%- endif -%}
47
47
< link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css "/>
48
48
< link rel ="icon " href ="https://segment.com/favicon.ico ">
49
+
49
50
{%- if jekyll.environment == "production" -%}
50
51
{%- assign hostname = "https://segment.com" -%}
51
52
{%- elsif jekyll.environment == "staging" -%}
52
53
{%- assign hostname = "https://segment.build" -%}
53
54
{%- else -%}
54
55
{%- assign hostname = "" -%}
55
56
{%- endif -%}
56
- < link rel ="canonical " href ="{{hostname }}/docs{{page.url}} " />
57
+ < link rel ="canonical " href ="{{site.url }}/docs{{page.url}} " />
57
58
< meta name ="application-name " content ="Segment ">
58
59
< meta name ="theme-color " content ="#00386C ">
59
60
< meta charset ="utf-8 ">
You can’t perform that action at this time.
0 commit comments