volta-cli / website

Production repo for the volta.sh website.
https://volta.sh
2 stars 17 forks source link

Include sidebar.html within blog post #76

Closed michaeljaltamirano closed 4 years ago

michaeljaltamirano commented 4 years ago

I saw a post about Volta today (https://blog.volta.sh/2020/07/23/declare-your-tools/) on my phone and tried to click the hamburger menu in order to read more about the project, and noticed it is broken. This is easily reproducible using browser dev tools: the menu does not work within a specific blog post, but does within the directory of blog posts (https://blog.volta.sh/). It looks like it's because there is no nav.sidebar from within a given blog post.

This PR adds the sidebar to a blog post to fix this behavior. 🙂

Blog listing (with functionality):

Screen Shot 2020-07-27 at 1 07 01 PM Screen Shot 2020-07-27 at 1 07 11 PM

Blog post (no nav.sidebar, so functionality does not work):

Screen Shot 2020-07-27 at 1 07 22 PM