Skip to main content

Embed a list of your public GitHub projects in your pages

Project description

Embed a list of your public GitHub projects in your pages.

Installation

To install pelican-githubprojects, simply install it from PyPI:

$ pip install pelican-githubprojects

Configuration

Enable the plugin in your pelicanconf.py

PLUGINS = [
    # ...
    'pelican_githubprojects',
    # ...
]

Add a setting with your GitHub username.

GITHUB_USER = 'kura'

Available data

name:

The name of your project.

language:

The language your project is written in, information on how GitHub detects languages is available here. It is GitHub that detects the language, not this plugin. So please, no issues about that.

description:

The description of your project (as set on GitHub.)

homepage:

The homepage of your project (as set on GitHub.)

github_url:

The web page URL of your project on GitHub (not the GIT or API URL.)

Usage

In your templates you will be able to iterate over the github_projects variable, as below.

{% if GITHUB_USER %}
    <h1>Projects</h1>
    {% for project in github_projects %}
        <h2>{{ project.name }} <sup>({{ project.language }})</sup></h2>
        <p>{{ project.description }}</p>
        <p>
            <a href="{{ project.homepage }}">Homepage</a>
            <a href="{{ project.github_url }}">GitHub</a>
        </p>
    {% endfor %}
{% endif %}

License

MIT license.

Project details


Download files

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

Source Distribution

pelican_vimeo-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pelican_vimeo-0.1.0-py2.py3-none-any.whl (6.1 kB view details)

Uploaded Python 2Python 3

pelican_vimeo-0.1.0-py2.7.egg (5.9 kB view details)

Uploaded Egg

File details

Details for the file pelican_vimeo-0.1.0.tar.gz.

File metadata

  • Download URL: pelican_vimeo-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pelican_vimeo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 94b4dcac1afcd8c238c8404d774765afbfc9c514d6ffa3c99858bc7ae9776681
MD5 b41df19aab02b862a7424c741866c7f1
BLAKE2b-256 7494c28f0fb32b9c028b8a9954fcc1792ca7f25f1b8ad0cbe521e0fc06beb2d4

See more details on using hashes here.

File details

Details for the file pelican_vimeo-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pelican_vimeo-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 915e6dce6a3144da803815c1223421dfc6d341bed5ac2bc48fbdbb3ea12d416f
MD5 ed164c5b597e91a73c18a45210023b42
BLAKE2b-256 dd6469d03a95d7e699abc89a5b40ac89bec0dc1394c7f7c7255c23147e423207

See more details on using hashes here.

File details

Details for the file pelican_vimeo-0.1.0-py2.7.egg.

File metadata

File hashes

Hashes for pelican_vimeo-0.1.0-py2.7.egg
Algorithm Hash digest
SHA256 92255e3cf4a8ef94b6067d39db5e46bfbaeb4e9b74938ee2bd6e68d532ed3110
MD5 6547ed4623690da112d918d1037a6c73
BLAKE2b-256 2eef97ba31102c2acb786f17512c062e71954cad113f736b0f68ffb3af34f5ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page