Comments (4)
Can you test another browser?
from hugo-geekdoc.
adding
<script defer src="{{ index .Site.Data.assets "js/flexsearch.min.js" | relURL }}"></script>
into partials/foot.html fixed the issues (tested on FF/Chrome and Edge)
{{ if default true .Site.Params.GeekdocSearch }}
{{ .Scratch.Set "geekdocSearchConfig" .Site.Params.GeekdocSearchConfig }}
<!-- Remove after https://github.com/gohugoio/hugo/issues/6331 -->
{{ $searchJSFile := printf "js/%s.search.js" .Language.Lang }}
{{ $searchJS := resources.Get "js/search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | fingerprint }}
<script defer src="{{ index .Site.Data.assets "js/flexsearch.min.js" | relURL }}"></script>
<script defer src="{{ $searchJS.RelPermalink }}"></script>
{{ end }}
{{ if default true .Site.Params.GeekdocAnchorCopy }}
<script defer src="{{ index .Site.Data.assets "js/clipboard.min.js" | relURL }}"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
var clipboard = new ClipboardJS('.clip');
});
</script>
{{ end }}
from hugo-geekdoc.
Thanks! You're right there is an issue loading the hashed flexsearch source file. I've prepared a PR and will tag a new release later.
from hugo-geekdoc.
Fixed in v0.7.3 please test. Thanks again for reporting.
from hugo-geekdoc.
Related Issues (20)
- XML not highlighted in the expand shortcode. HOT 2
- (Suggestion)Limit navigation scrolling
- Thank you! Site is now fully online HOT 1
- Localization admonitions HOT 1
- Title of links aren't properly localized HOT 3
- Feature Request: Open External Links in New Tab
- FlexSearch does not work on Safari HOT 6
- Feature Request: Built-In Versioning/Selector Feature HOT 4
- Provide a way to show "Next" and "Previous" links on a page HOT 9
- Codeblock copy adds empty lines HOT 13
- Table of Contents shortcode needs better documentation on difference between html and raw HOT 4
- TOC-Tree sorts alphabettically instead of how the site sorts it HOT 8
- Collapse Arrow-Down icon is hidden with Menu Bundle HOT 2
- Category needs to have a ref in bundle menu in order for it to be collapseable HOT 1
- Unable to use expand or tabs with mermaid HOT 5
- Google analytics support HOT 1
- Do not use`.Site.BaseURL` HOT 2
- 404 render error HOT 7
- Goldmark renderer must be marked with "unsafe = true" to allow nested shortcodes HOT 2
- Feature Request: Support for beta mermaid diagrams
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-geekdoc.