Jekyll-Garden / jekyll-garden.github.io

A Digital Garden Theme for Jekyll. Jekyll Garden lets you create a static HTML version of your markdown notes and publish via Github pages. Made for Obsidian users!
https://jekyll-garden.github.io
MIT License
355 stars 73 forks source link

Burger navbar does not work #28

Closed synthbiont closed 2 years ago

synthbiont commented 2 years ago

Hey! Thanks a lot for developing this template. I like it a lot, and I have used it for my own digital garden.

I am having problems with the navbar on mobile. Although it is visible, when clicking on it there is no menu or list of links that is shown. It is something that does not work on the demo website of the theme, or in your personal website.

I am new at making websites, so I cannot really help by providing a solution to this issue. Maybe you, or anyone that has forked this template, could give a hand?

hugo655 commented 2 years ago

Hey! I just started checking this template, but noticed too the "Burguer Menu" isn't working for mobile devices.

I wish understand a bit of web development, but I have no clue how to tweek it.

efemkay commented 2 years ago

Hi @synthbiont @hugo655 . I faced similar issue and had a look at what's causing it -- it turns out the js file needed for the hamburger menu wasn't properly loaded. I've created PR to fix the issue, hope the dev ok with it n merge it.

Anyway, in case it takes time, here's the fix (it's a simple one)

since i've fixed it for my repo, you can try it out my digital garden https://efemkay.github.io/digital-garden/ make the browser window narrower if you're browsing from a desktop to trigger the hamburger menu

here's a screenshot for guide image

hfactor commented 2 years ago

Thanks, @efemkay for the patch. I have accepted your PR. <3