epogrebnyak / ssg-dataset

Open reproducible dataset on static site generators (SSG) popularity.
https://ssg-dataset.streamlit.app
GNU General Public License v3.0
28 stars 47 forks source link

Create badge with n (number of SSGs in dataset) [0.5h+0.5h] #16

Closed epogrebnyak closed 2 years ago

epogrebnyak commented 2 years ago

The badge should be "SSG" on black and a number on blue or light green background. The number currently is 36, it is calculated in strealit_app.py

Badge SVG can be generated by https://github.com/google/pybadges/blob/5973dbf35dc32d394166a6d4db7693ecb65a8452/pybadges/__init__.py#L115

SVG is rendered with st.image(). Not clear how can one attach a link to image (a href).

epogrebnyak commented 2 years ago

maybe create badge.py for this issue

epogrebnyak commented 2 years ago

@finrod-felagund23 @FinrodNom - откуда возникла потребность затирать .replace('xlink:', '')? Это на что-то влияло?

epogrebnyak commented 2 years ago

https://gist.github.com/treuille/8b9cbfec270f7cda44c5fc398361b3b1

epogrebnyak commented 2 years ago

Superceded by #30