Fix deprecation warnings (#908)

* Example site: bump hugo modules to latest versions

* Fix deprecation warnings emitted by hugo v0.124

* Fix typos

* Netlify: bump hugo version

---------

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
Andreas Deininger 2024-05-10 20:00:29 +02:00 committed by GitHub
parent 6f4e23ad40
commit 3edd8e7858
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 66 additions and 64 deletions

View file

@ -15,7 +15,7 @@ window.addEventListener('DOMContentLoaded', () => {
}
}
// =============== Make TOC Compatible wit Bootstrap Scroll Spy ========
// =============== Make TOC Compatible with Bootstrap Scroll Spy ========
// add "navbar" class to the "nav" element
const toc = document.getElementById('TableOfContents')
if (toc) {

View file

@ -1,6 +1,6 @@
import { getDeviceState } from '../core'
function fourColumRow (gallery, entries, i) {
function fourColumnRow (gallery, entries, i) {
const entry1 = document.createElement('div')
entry1.classList.add('col-lg-6', 'm-0', 'p-0')
entry1.appendChild(entries[i].cloneNode(true))
@ -140,7 +140,7 @@ function showAchievements () {
if (isLaptop) {
if (i + 4 <= len) {
if (rowNumber % 2) {
fourColumRow(gallery, entries, i)
fourColumnRow(gallery, entries, i)
} else {
fourColumnReversedRow(gallery, entries, i)
}