QuantEcon / quantecon-book-theme

A Jupyter Book Theme for QuantEcon Book Style Projects
BSD 3-Clause "New" or "Revised" License
41 stars 20 forks source link

Add GitHub stars badge to sites #243

Open mmcky opened 4 years ago

mmcky commented 4 years ago

@jstac mentions the GitHub stars badge on the julia site

https://julialang.org/downloads/

Perhaps we should add them to our lecture series:

If we don't want to have the count displayed, but want people to be able to watch or star a site we could use

https://buttons.github.io

to generate the code and add it to the themes.

jstac commented 4 years ago

Thanks @mmcky . I don't mind to have the count displayed, even if it's low :-)

mmcky commented 8 months ago

@DrDrij @AakashGfude would there be an easy way to add this to the theme (perhaps on the RHS under the logo and powered by jupyterbook text.

image

DrDrij commented 8 months ago

Example:

The format would be:

https://badgen.net/github/stars/[org-name]/[repo-name]

eg. <img src="https://badgen.net/github/stars/quantecon/quantecon-book-theme">

(perhaps wrap it in a Paragraph element) <p><img src="https://badgen.net/github/stars/quantecon/quantecon-book-theme" /></p>