Skip to main content

Pelican github activity modified to work with nice-blog theme

Project description


Github activity plugin made to work with nice-blog theme

GitHub activity

This plugin makes use of the feedparser_ library that you'll need to install.

Set the GITHUB_ACTIVITY_FEED parameter to your GitHub activity feed. For example, to track Pelican project activity, the setting would be::


If you want to limit the amount of entries to a certain maximum set the GITHUB_ACTIVITY_MAX_ENTRIES parameter.


On the template side, you just have to iterate over the github_activity variable, as in this example::

    <div class="social">
            <h2>Github Activity</h2>

            {% for entry in github_activity %}
                <li><b>{{ entry[0] }}</b><br /> {{ entry[1] }}</li>
            {% endfor %}
    </div><!-- /.github_activity -->
 {% endif %}

github_activity is a list of lists. The first element is the title, and the second element is the raw HTML from GitHub.



This package is based on the github_activity package by Mario Lang and updated to work with the nice-blog theme.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pelican-github-activity, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pelican_github_activity-0.1.0-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pelican_github_activity-0.1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page