grctest / Gridcoin-Site

Open source Gridcoin website -- CM's fork
https://github.com/gridcoin-community/Gridcoin-Site/
MIT License
6 stars 8 forks source link

Creating partial for whitelist #16

Closed grctest closed 7 years ago

grctest commented 7 years ago

We should create a partial snippet of code for the whitelist, so that we do not have to make whitelist code changes in 3 places but rather only in the one place.

Similar partials we currently use: https://github.com/grctest/Gridcoin-Site/tree/master/source/layouts/partials

grctest commented 7 years ago

I've removed the whitelist from the index page and the guides, it remains solely within the dedicated whitelist page. We could still make a partial so that it can be reused in the future though.

grctest commented 7 years ago

Created a partial for the whitelist: https://github.com/grctest/Gridcoin-Site/blob/master/source/layouts/partials/_whitelist.erb