Skip to content

Commit

Permalink
Added relative_url to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
cetinajero committed Jan 16, 2018
1 parent 605ea53 commit a7a50ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _includes/head/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<meta name="keywords" content="{{ site.keywords }}" />
<meta name="copyright" content="Copyright © {{ 'now' | date: "%Y" }} {{ site.author }}. All rights reserved." />
<meta name="generator" content="Jekyll" />
<link rel="icon" type="image/x-icon" href="/assets/img/common/favicon.ico" />
<link rel="search" href="/assets/xml/opensearch.xml" title="Search {{ site.title }}" type="application/opensearchdescription+xml" />
<link rel="icon" type="image/x-icon" href="{{ '/assets/img/common/favicon.ico' | relative_url }}" />
<link rel="search" href="{{ '/assets/xml/opensearch.xml' | relative_url }}" title="Search {{ site.title }}" type="application/opensearchdescription+xml" />
2 changes: 1 addition & 1 deletion assets/xml/opensearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: null
<ShortName>{{ site.title }}</ShortName>
<Description>Search {{ site.title }}</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image type="image/x-icon" width="16" height="16">/assets/img/common/favicon.ico</Image>
<Image type="image/x-icon" width="16" height="16">{{ '/assets/img/common/favicon.ico' | relative_url }}</Image>
<Url method="get" type="text/html"
template="http://www.google.com/search?q={searchTerms}+site%3A{{ site.url | remove_first:'http://' | remove_first:'https://' | remove_first:'www.' }}&amp;hl=en"/>
</OpenSearchDescription>

0 comments on commit a7a50ef

Please sign in to comment.