summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--assets/js/ed.js2
-rw-r--r--assets/js/search.js4
-rw-r--r--layouts/_default/home.humanstxt.txt2
-rw-r--r--netlify.toml2
5 files changed, 8 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d30d4aa..46d904d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [Unreleased](https://github.com/sergeyklay/gohugo-theme-ed/compare/v0.5.0...HEAD)
+## [Unreleased](https://github.com/sergeyklay/gohugo-theme-ed/compare/v0.6.0...HEAD)
+
+## [v0.6.0](https://github.com/sergeyklay/gohugo-theme-ed/compare/v0.5.0...v0.6.0)
### Added
diff --git a/assets/js/ed.js b/assets/js/ed.js
index 4bf71c2..b4ba4d6 100644
--- a/assets/js/ed.js
+++ b/assets/js/ed.js
@@ -17,7 +17,7 @@ function setupBackToTop() {
function setupHypothes() {
const hypothesisContainer = document.querySelector('.hypothesis-container');
if (hypothesisContainer !== null) {
- hypothesisContainer.addEventListener('click', (e) => {
+ hypothesisContainer.addEventListener('click', e => {
e.preventDefault();
let script = document.createElement('script');
diff --git a/assets/js/search.js b/assets/js/search.js
index c8a8ed8..7818f50 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -332,7 +332,7 @@ document.addEventListener('DOMContentLoaded', () => {
}
searchForm.addEventListener('submit', e => e.preventDefault());
- searchInput.addEventListener('keyup', (e) => {
+ searchInput.addEventListener('keyup', e => {
e.preventDefault();
const query = document.getElementById('search')
.value
@@ -341,7 +341,7 @@ document.addEventListener('DOMContentLoaded', () => {
handleSearchQuery(query);
});
- searchInput.addEventListener('input', (e) => {
+ searchInput.addEventListener('input', e => {
if (!e.currentTarget.value) {
hideSearchResults();
}
diff --git a/layouts/_default/home.humanstxt.txt b/layouts/_default/home.humanstxt.txt
index 4b11034..0d3efe9 100644
--- a/layouts/_default/home.humanstxt.txt
+++ b/layouts/_default/home.humanstxt.txt
@@ -14,4 +14,4 @@
Language: {{ range $i, $l := site.Languages }}{{ if $i }}, {{ end }}{{ .LanguageName }}{{ end }}
Doctype: HTML5
Standards: HTML5, CSS3, Open Graph protocol, Schema.org
- Components: Hugo, jQuery, Ed Theme
+ Components: Hugo, Ed Theme, Lunr.js
diff --git a/netlify.toml b/netlify.toml
index 09d23c2..0a3f0a8 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -9,7 +9,7 @@
publish = 'public'
[build.environment]
- HUGO_VERSION = '0.101.0'
+ HUGO_VERSION = '0.104.0'
HUGO_ENABLEGITINFO = 'true'
# Production context: all deploys from the Production branch