mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-22 19:40:15 +00:00
Docs: Fixes a few typos
This commit is contained in:
parent
71b4e34bc1
commit
3e689f2cf3
4 changed files with 5 additions and 5 deletions
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
- [**bug**] children: remove superflous text ".LinkTitle" [#942](https://github.com/McShelby/hugo-theme-relearn/issues/942)
|
- [**bug**] children: remove superfluous text ".LinkTitle" [#942](https://github.com/McShelby/hugo-theme-relearn/issues/942)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1845,7 +1845,7 @@
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- [**task**] theme: ensure IE11 compatibility [#89](https://github.com/McShelby/hugo-theme-relearn/issues/89)
|
- [**task**] theme: ensure IE11 compatibility [#89](https://github.com/McShelby/hugo-theme-relearn/issues/89)
|
||||||
- [**task**] docs: Arrr! showcase multilang featurrre [#87](https://github.com/McShelby/hugo-theme-relearn/issues/87)
|
- [**task**] docs: Arrr! showcase multilang feature [#87](https://github.com/McShelby/hugo-theme-relearn/issues/87)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ linkTitle = 'Relearn'
|
||||||
|
|
||||||
# The author of your site.
|
# The author of your site.
|
||||||
# Default: not set
|
# Default: not set
|
||||||
# This will be used in HTML meta tags, the opengraph protocol and twitter
|
# This will be used in HTML meta tags, the open graph protocol and twitter
|
||||||
# cards.
|
# cards.
|
||||||
# You can also set `author.email` if you want to publish this information.
|
# You can also set `author.email` if you want to publish this information.
|
||||||
author.name = 'Sören Weber'
|
author.name = 'Sören Weber'
|
||||||
|
|
|
@ -92,7 +92,7 @@ var autoComplete = (function(){
|
||||||
pageXOffset = window.pageXOffset || document.documentElement.scrollLeft;
|
pageXOffset = window.pageXOffset || document.documentElement.scrollLeft;
|
||||||
pageYOffset = window.pageYOffset || document.documentElement.scrollTop;
|
pageYOffset = window.pageYOffset || document.documentElement.scrollTop;
|
||||||
}
|
}
|
||||||
// Is this really the job of the tool or should it be defered to the user?
|
// Is this really the job of the tool or should it be deferred to the user?
|
||||||
// that.sc.style.left = Math.round(rect.left + pageXOffset + o.offsetLeft - parentOffsetLeft) + 'px';
|
// that.sc.style.left = Math.round(rect.left + pageXOffset + o.offsetLeft - parentOffsetLeft) + 'px';
|
||||||
// that.sc.style.top = Math.round(rect.bottom + pageYOffset + o.offsetTop - parentOffsetTop) + 'px';
|
// that.sc.style.top = Math.round(rect.bottom + pageYOffset + o.offsetTop - parentOffsetTop) + 'px';
|
||||||
// that.sc.style.width = Math.round(rect.right - rect.left) + 'px'; // outerWidth
|
// that.sc.style.width = Math.round(rect.right - rect.left) + 'px'; // outerWidth
|
||||||
|
|
|
@ -152,7 +152,7 @@ function search(term) {
|
||||||
|
|
||||||
function searchPatterns(word) {
|
function searchPatterns(word) {
|
||||||
// for short words high amounts of typos doesn't make sense
|
// for short words high amounts of typos doesn't make sense
|
||||||
// for long words we allow less typos because this largly increases search time
|
// for long words we allow less typos because this largely increases search time
|
||||||
var typos = [
|
var typos = [
|
||||||
{ len: -1, typos: 1 },
|
{ len: -1, typos: 1 },
|
||||||
{ len: 60, typos: 2 },
|
{ len: 60, typos: 2 },
|
||||||
|
|
Loading…
Add table
Reference in a new issue