| templates/mako | updated options, readme | |
| .gitignore | init commit | |
| codeberg_widget.plugin | init commit | |
| codeberg_widget.py | updated options, readme | |
| README.md | I dont know how markdown works 2 electric boogaloo | |
This is a Nikola plugin that displays a Codeberg repository widget on your Nikola site. This widget only uses Mako templates.
Install
Place the /codeberg_widget folder into the /plugins folder of your Nikola site.
Usage
{{% codeberg_widget name=username repo=reponame %}}
Optional Arguments:
- show_pronouns=True or False (default:False)
- show_location=True or False (default:False)
- use_full_name=True or False (default:False) - displays your full name, otherwise displays your username
That's it. That's all it does. Stats may not be up to date because it only calls the Codeberg API when you recompile the plugin.
License
this widget is under the MIT License
MIT License
Copyright (c) [Kenneth Rapp]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.