Skip to content

Commit

Permalink
NEW Add canonical URL to documentation pages
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Aug 14, 2017
1 parent f68e8e0 commit 059b0e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions themes/docs/templates/Includes/DocumentationHead.ss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

<% include DocumentationFavicons %>

<% if $CanonicalUrl %>
<link rel="canonical" href="$CanonicalUrl" />
<% end_if %>
<link rel="stylesheet" href="$ThemeDir/css/ionicons.min.css" />
<link rel="stylesheet" href="$ThemeDir/css/styles.css" />
<script type="text/javascript" src="//use.typekit.net/emt4dhq.js"></script>
Expand Down

0 comments on commit 059b0e7

Please sign in to comment.