Skip to content

Commit

Permalink
Merge pull request linode#2945 from nmelehan/weglot-integration-v1
Browse files Browse the repository at this point in the history
[Theme rebuild] Weglot integration v1
  • Loading branch information
nmelehan authored Dec 9, 2019
2 parents b2d0af3 + 0cba6ec commit edeab67
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion themes/docsmith/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@
{{ end }}
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/algoliasearch/3/algoliasearch.min.js"></script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.min.js"></script>
<script type="text/javascript" src="https://cdn.weglot.com/weglot.min.js"></script>
<script>
Weglot.initialize({
api_key: 'WEGLOT_API_KEY'
});
</script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.0"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.0/dist/instantsearch.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.0/dist/instantsearch-theme-algolia.min.css">
Expand Down

0 comments on commit edeab67

Please sign in to comment.