Skip to content

Commit

Permalink
use links so we dont use package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
yfanti committed Jun 11, 2024
1 parent 1b629b8 commit 581f0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/partials/footer-scripts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="{{{uiRootPath}}}/js/vendor/search-lunr.js" id="search-script" data-base-path="{{or siteRootPath (or site.url siteRootUrl)}}" data-page-path="{{@root.page.url}}"></script>
<script async src="{{uiRootPath}}/../search-index.js"></script>
{{else if (eq env.SEARCH_ENGINE 'algolia')}}
<script src="{{{uiRootPath}}}/js/vendor/docsearch-3.6.0.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
<script src="{{{uiRootPath}}}/js/vendor/search-algolia.js" id="search-script" data-api-key="{{env.ALGOLIA_API_KEY}}" data-api-id="{{env.ALGOLIA_API_ID}}" data-index-name="{{env.ALGOLIA_INDEX_NAME}}"></script>
{{/if}}
{{/if}}
2 changes: 1 addition & 1 deletion src/partials/head-styles.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
{{#if (eq env.SEARCH_ENGINE 'lunr')}}
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/lunr.css">
{{else if (eq env.SEARCH_ENGINE 'algolia')}}
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/docsearch-3.6.0.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
{{/if}}
{{/if}}

0 comments on commit 581f0ed

Please sign in to comment.