VChet / StyleBase

UserCSS theme sharing site
https://stylebase.cc
MIT License
20 stars 1 forks source link

Implement social media metadata for style pages #31

Open lordofpipes opened 3 years ago

lordofpipes commented 3 years ago

This would be fairly easy to implement on this backend — I could submit a pull request. The only complication is that it requires backend rendering of the <head> element of the page. If you tell me a preferred backend HTML preprocessing library to use for this backend (I've worked with a lot of them & don't have a strong preference), I'd be happy to get right on implementing this :)

Here's an example of what I'm talking about:

StyleBase (right now)

2021-07-06-015151_1181x337_escrotum

Stylish Userstyles.org

2021-07-06-015112_1180x340_escrotum

UserStyles.world

2021-07-06-015102_1173x706_escrotum

VChet commented 3 years ago

This would be a nice improvement! However, I can't figure out how to do it at this moment. If you are sure that it will not be difficult to implement - feel free to send a PR. We can continue the discussion in PR if there are would be any problems with the chosen preprocessor library.