jekyll / jekyll-admin

A Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites.
https://jekyll.github.io/jekyll-admin/
MIT License
2.82k stars 357 forks source link

Added links buttons in header #692

Closed rpeyron closed 1 year ago

rpeyron commented 1 year ago

Hello,

I am a new user to jekyll and I love jekyll-admin

This PR adds the ability to configure in _config.yml custom buttons in header to have some useful links when editing your site (for instance, I will add links to some free image libraries, to my web analytics, etc.)

image

header_buttons

Add buttons in the header to open custom links. You may provide for each link:

jekyll_admin:
  header_buttons:
   - title: Google
     url: 'https://www.google.com'
     icon: search

Hope you will find this useful

ashmaroli commented 1 year ago

Thank you for proposing this enhancement, @rpeyron but unfortunately, I don't see the value in this for the user-base as a collective. Therefore, I am closing this. If you can come up with a better use case, I will consider re-opening.

rpeyron commented 1 year ago

Ok, I understand you want to keep the codebase as low as possible. Do you plan a plugin system to be able to add user specific configurable features?

ashmaroli commented 1 year ago

To clarify, I do not intend to keep the codebase low. A new feature has to be beneficial for a significant section of the user-base. The proposed enhancement here probably has value only to you. Other users will have to wonder what they would do with the buttons in the header.

This project was not designed to be extendable via plugins. The only course is to fork, customize code, build and deploy for custom use.