peterdesmet / petridish

Jekyll theme for research project websites 🧫
https://peterdesmet.github.io/petridish
MIT License
51 stars 44 forks source link

Allow classes on tables #36

Closed peterdesmet closed 2 years ago

peterdesmet commented 4 years ago

Because of:

https://github.com/peterdesmet/petridish/blob/67883e2097544829c32a0e2190ce57f6de8f2990/_layouts/base.html#L14

All tables become Bootstrap tables (which is good). But if someone adds their own _layout, table classes get overwritten too: <table class="table table-striped"> is reverted to <table class="table">.

I'll have to see if the scope can be reduced to default.html, rather than base.html