Open constantinpape opened 1 year ago
I agree this would be very useful! I don't think there's an easy way to add those hooks to github pages though unfortunately. They appear automatically for github markdown, but it looks like you'd need to add some extras to make it work for github pages e.g. https://ben.balter.com/2014/03/13/pages-anchor-links/ or https://milanaryal.com.np/adding-hover-anchor-links-to-header-on-github-pages-using-jekyll/
For making the image a link, I think this is added here: https://github.com/mobie/mobie.github.io/blob/master/_layouts/default.html#L34 So you probably just need to add a link to this line?
I agree this would be very useful! I don't think there's an easy way to add those hooks to github pages though unfortunately. They appear automatically for github markdown, but it looks like you'd need to add some extras to make it work for github pages e.g. https://ben.balter.com/2014/03/13/pages-anchor-links/ or https://milanaryal.com.np/adding-hover-anchor-links-to-header-on-github-pages-using-jekyll/
Ok, thanks for the links, maybe I have some time to take a look in the next week or so.
For making the image a link, I think this is added here: https://github.com/mobie/mobie.github.io/blob/master/_layouts/default.html#L34 So you probably just need to add a link to this line?
Indeed, that was easy: https://github.com/mobie/mobie.github.io/commit/dae33eb9ce96d8cea8ec7aea2f2f8c70d57c9d3b
These two basic features would be nice to enable better navigation on the website.
Hooks: I mean getting the url to a section of a page, like this:
Link to home: I think it would be nice if clicking on the MoBIE logo leads back to the initial web page.
@K-Meech any idea how to do this in the github jekyll theme we're using?