GavickPro / Portfolio-Free-Ghost-Theme

Simple portfolio theme for Ghost
MIT License
126 stars 39 forks source link

Fixed menu bar so that active links show properly. #12

Open rctillotson25 opened 9 years ago

rctillotson25 commented 9 years ago

Added Javascript function to index.js that adds the active class to any menu bar link that contains the current absolute URL, pathname, or pathname without trailing slash.

Removed the active class from the link in the menu.hbs file. Javascript will handle the active links in the menu bar now - no need to specify them.