@@ -48,20 +48,6 @@ if (toggleContentNav !== null) {
51−/*function initToggleMenu() {
52− var menu = document.querySelector(".menu");
53− var menuIcon = document.querySelector(".menu-icon");
54− var page = document.querySelector(".page");
55− menuIcon.addEventListener("click", function() {
56− menu.classList.toggle("menu-hidden");
57− page.classList.toggle("page-without-menu");
65function initHotKeys() {
51function initHotKeys() {
67 var bodyEl = document.body;
53 var bodyEl = document.body;
@@ -117,7 +103,6 @@ function debounce(func, wait) {
121// The strategy is as follows:
106// The strategy is as follows:
122// First, assign a value to each word in the document:
107// First, assign a value to each word in the document:
123// Words that correspond to search terms (stemmer aware): 40
108// Words that correspond to search terms (stemmer aware): 40
@@ -245,7 +230,7 @@ function formatSearchResultTitle(path) {
246 var fullTitle = firstPartTitle + ' / ' + '<span class="search-results__item__title__slug-end">' + lastPartTitle + '</span>';
231 var fullTitle = firstPartTitle + ' / ' + '<span class="search-results__item__title__slug-end">' + lastPartTitle + '</span>';
248− return fullTitle;
233+ return fullTitle;
251function formatSearchResultItem(item, terms) {
236function formatSearchResultItem(item, terms) {