Jekyll Plugin

Jekyll Plugin

Jekyll plugin to work with F-Droid package index metadata when building websites.

Name Last Update
_includes Loading commit data...
_layouts Loading commit data...
_pages Loading commit data...
_sass Loading commit data...
lib Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
jekyll-fdroid.gemspec Loading commit data...

F-Droid's Jekyll Plugin

Gem Version

With this gem you can browse packages of a F-Droid repository in a Jekyll site. Add the following configurations to your _config.yml:

gems:
  - jekyll-fdroid
  - jekyll-include-cache
  - jekyll-paginate-v2
fdroid-repo: https://guardianproject.info/fdroid/repo

jekyll-include-cache and jekyll-paginate-v2 are needed to be added to the configuration manually because we weren't able to add the configuration programmatically.

For default styling of the browsing and packages' pages you need to import the plugin's stylesheet in your SASS file like this:

@import "jekyll-fdroid";

To show a list of latest or last updated packages, use the following tags in your page:

{% fdroid_show_latest_packages %}
{% fdroid_show_last_updated_packages %}

Dependencies

Gem "nokogiri" needs apt package "zlib1g-dev".

License

This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.