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:
parent
6f4e23ad40
commit
3edd8e7858
44 changed files with 66 additions and 64 deletions
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue