-
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c63336
commit 8b4111e
Showing
6 changed files
with
68 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@if(config('larecipe.fourm.enabled')) | ||
@if(config('larecipe.fourm.default') == 'disqus' && config('larecipe.fourm.services.disqus.site_name')) | ||
<hr> | ||
<div id="disqus_thread"></div> | ||
<script async> | ||
var disqus_config = function () { | ||
this.page.url = '{{ url($canonical) }}'; | ||
this.page.identifier = '{{ $currentSection }}'; | ||
}; | ||
(function() { | ||
var d = document, s = d.createElement('script'); | ||
s.src = "https://{{ config('larecipe.fourm.services.disqus.site_name') }}.disqus.com/embed.js"; | ||
s.setAttribute('data-timestamp', +new Date()); | ||
(d.head || d.body).appendChild(s); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
@endif | ||
@endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@if(config('larecipe.search.enabled') && config('larecipe.search.default') == 'algolia') | ||
<algolia-search-box v-if="searchBox" @close="searchBox = false" | ||
algolia-key="{{ config('larecipe.search.engines.algolia.key') }}" | ||
algolia-index="{{ config('larecipe.search.engines.algolia.index') }}" | ||
version="{{ $currentVersion }}"></algolia-search-box> | ||
@endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters