Skip to content

Commit

Permalink
Merge pull request #161 from creative-commoners/pulls/3.8/add-canonic…
Browse files Browse the repository at this point in the history
…al-url

NEW Add canonical URL to documentation pages
  • Loading branch information
Franco Springveldt authored Aug 14, 2017
2 parents f68e8e0 + 059b0e7 commit e3c38ca
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 e3c38ca

Please sign in to comment.