hydecorp / hydejack

A boutique Jekyll theme for hackers, nerds, and academics
https://hydejack.com
Other
1.41k stars 798 forks source link

Sidebar Title Logo and URL #223

Open fire17 opened 4 years ago

fire17 commented 4 years ago

Hi there! first of all thanks a bunch!

This is a truly, really really awesome theme! (gonna buy PRO soon for the DarkMode :P )

I'm getting into personalizing the pages
found out i can add .. (works for individual pages)

// this works in any .md page file
---
accent_image: /assets/img/newsidebarimage.png       --> changes the background image of the sidebar
image: /assets/icons/icon-384x384.png               --> for whatsapp thumnail
---

Then I found about short_title: alright!

short_title works to change the sidebar title!
...but only when in _config, which is global
and also doesnt change the base url

# this only works if set in _config
short_title: alright!                               --> changes the sidebar text instead of the main title
logo: /assets/img/sidebar-bg2.png           

i wish to change the sidebar title TEXT, LOGO and URL per page, like so:

// first lines of .md page file
---
sidebar_title: "FooBar Ideas"         // or 
short_title: "FooBar Ideas"
sidebar_title_url: /foo/bar/
logo: /foo/bar/ideaX/PageLogo.png        --> changes the logo image of the sidebar for this page only
accent_image: /assets/img/newsidebarimage.png       --> changes the background image of the sidebar
image: /assets/icons/icon-384x384.png               --> for whatsapp thumnail
---

So... is there anything I can add to scripts or anything else to make all of this work? Have read all the docs and wondering why it works in config but not in every page

Hoping this will help others aswell Thank you very very much and have a good one! :pray: Tami

qwtel commented 4 years ago

This is something that I could include in a future release. Doing this via customisation could be possible, but not in a clean way or without some programming sklllis