Merge pull request #187 from lexakami/hotfix/55276-swiftype

Add swiftype meta tags
This commit is contained in:
Robbie Averill 2019-08-02 06:31:55 +09:00 committed by GitHub
commit 7b9436e9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 9 deletions

19
.gitignore vendored
View File

@ -1,15 +1,16 @@
/src/
.DS_Store
/silverstripe-cache
_ss_environment.php
/assets
/vendor/
/framework/
/docsviewer/
/cache/
/staticpublisher/
/toolbar/
/display_logic/
/silverstripe-dynamodb/
/crontask/
/display_logic/
/docsviewer/
/framework/
/quickfeedback/
/raygun/
/silverstripe-cache
/silverstripe-dynamodb/
/src/
/staticpublisher/
/toolbar/
/vendor/

View File

@ -9,6 +9,11 @@
<% if $CanonicalUrl %>
<link rel="canonical" href="$CanonicalUrl" />
<% end_if %>
<%--Set default priority search results--%>
<meta class="swiftype" name="site-priority" data-type="integer" content="1" />
<meta class="swiftype" name="title" data-type="string" content="$Title">
<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>