diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-09-25 16:33:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-25 16:33:33 +0200 |
| commit | 7405e7466b41144cbf67d044bcbe887f21c113dd (patch) | |
| tree | b207cb84064f826853e676334ddec29d19264c69 | |
| parent | 29c6c7d7b7fc0532983228f6fb88c301535939f6 (diff) | |
| parent | d8b6fca913386e8a11b470aab19c48bf54d9ab86 (diff) | |
| download | gohugo-theme-ed-7405e7466b41144cbf67d044bcbe887f21c113dd.tar.gz | |
Merge pull request #19 from sergeyklay/bump-hugo
Release v0.6.0
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | assets/js/ed.js | 2 | ||||
| -rw-r--r-- | assets/js/search.js | 4 | ||||
| -rw-r--r-- | layouts/_default/home.humanstxt.txt | 2 | ||||
| -rw-r--r-- | netlify.toml | 2 |
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 |
