Skip to content

Commit

Permalink
Merge pull request #19 from sergeyklay/bump-hugo
Browse files Browse the repository at this point in the history
Release v0.6.0
  • Loading branch information
sergeyklay committed Sep 25, 2022
2 parents 29c6c7d + d8b6fca commit 7405e74
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion assets/js/ed.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -341,7 +341,7 @@ document.addEventListener('DOMContentLoaded', () => {
handleSearchQuery(query);
});

searchInput.addEventListener('input', (e) => {
searchInput.addEventListener('input', e => {
if (!e.currentTarget.value) {
hideSearchResults();
}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/home.humanstxt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7405e74

Please sign in to comment.