benbalter / jekyll-remote-theme

Jekyll plugin for building Jekyll sites with any GitHub-hosted theme
MIT License
291 stars 79 forks source link

Feature: Merger of `_data`, additional file inclusion, and support for local themes #102

Open vinorodrigues opened 1 month ago

vinorodrigues commented 1 month ago

Firstly, thank you for your work on this plugin—it greatly enhances the flexibility of Jekyll sites by allowing the use of remote themes hosted on GitHub. I'd like to propose several enhancements that build upon the existing functionality, aiming to provide even greater flexibility and control to users.

Is feature request related to a problem?

No existing problem is related - but these feature have been discussed prior, either in issues or pull requests. These include:

Description of the solution requested

1. Merge Remote Theme _data with Local Site Data

As per #89

2. Optional Inclusion of Theme Files Based on _config.yml

As per #69 & #96

3. Support for Local Themes via local_theme Configuration

As per #96

Alternatives considered

Additional context

Proposed Implementation Overview

Data Merging:
File Inclusion:
Local Theme Support:
vinorodrigues commented 1 month ago

PS:

I've started to try to resolve these myself, but I've literally needed to start learning how to code in Ruby, as that's not in my repertoire of languages I've worked on before.

If you'd like to see what I've come up with—and obviously I'd be keen to collaborate (with anyone) on this, or just [have you/them] take over—but keep in mind that I've not accounted for anything of an enterprise-level effort. No unit-testing, no comments—just code churn and hope it works.

Anyway, it's here:



:bangbang: I've done some of my own use testing and all seams good and working. Would love to see it tried out in the wild ...

I'll hold off on any PR-ing until I get a sanity check on this, and a confirmation that it's working. TY to those willing ;)