Metadata-Version: 2.1
Name: pelican_github_activity
Version: 0.1.0
Summary: Pelican github activity modified to work with nice-blog theme
Home-page: http://github.com/JWKennington/pelican-github-activity
Author: James W. Kennington
Author-email: jameswkennington@gmail.com
License: MIT
Description: # pelican-github-activity
        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::
        
             GITHUB_ACTIVITY_FEED = 'https://github.com/getpelican.atom'
        
        If you want to limit the amount of entries to a certain maximum set the
        ``GITHUB_ACTIVITY_MAX_ENTRIES`` parameter.
        
             GITHUB_ACTIVITY_MAX_ENTRIES = 10
        
        On the template side, you just have to iterate over the ``github_activity``
        variable, as in this example::
        
             {% if GITHUB_ACTIVITY_FEED %}
                <div class="social">
                        <h2>Github Activity</h2>
                        <ul>
        
                        {% for entry in github_activity %}
                            <li><b>{{ entry[0] }}</b><br /> {{ entry[1] }}</li>
                        {% endfor %}
                        </ul>
                </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.
        
        [feedparser](https://crate.io/packages/feedparser/)
        
        
        ## Acknowledgements
        This package is based on the [github_activity](https://github.com/getpelican/pelican-plugins/tree/master/github_activity) package by [Mario Lang](https://github.com/mlang) and
        updated to work with the nice-blog theme.
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
