Skip to content
Permalink
Browse files

projectpages: add gallery field

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 6, 2015
1 parent ea80c63 commit 7a2fc0cd5ebaa03b8e33b04c59325da9c6e7448d
@@ -70,6 +70,7 @@ Meta fields
* **github** — GitHub link
* **bitbucket** — BitBucket link
* **bugtracker** — bug tracker link
* **gallery** — screenshot gallery link
* **language** — programming language
* **license** — name of the license under which the project
* **role** — your role in the project. Free-form, sample values include
@@ -7,6 +7,6 @@ MinVersion = 7.1.0+

[Documentation]
Author = Chris Warrick
Version = 0.1.4
Version = 0.1.5
Website = http://plugins.getnikola.com/#projectpages
Description = Generate project pages
@@ -67,6 +67,9 @@
{% if post.meta('bitbucket') %}
<a href="{{ post.meta('bitbucket') }}" class="btn btn-lg btn-info"><i class="fa fa-bitbucket"></i> BitBucket</a>
{% endif %}
{% if post.meta('gallery') %}
<a href="{{ post.meta('gallery') }}" class="btn btn-lg btn-success"><i class="fa fa-picture-o"></i> Gallery</a>
{% endif %}
{% if post.meta('bugtracker') %}
<a href="{{ post.meta('bugtracker') }}" class="btn btn-lg btn-warning"><i class="fa fa-bug"></i> Bug Tracker</a>
{% endif %}
@@ -67,6 +67,9 @@
% if post.meta('bitbucket'):
<a href="${post.meta('bitbucket')}" class="btn btn-lg btn-info"><i class="fa fa-bitbucket"></i> BitBucket</a>
% endif
% if post.meta('gallery'):
<a href="${post.meta('gallery')}" class="btn btn-lg btn-success"><i class="fa fa-picture-o"></i> Gallery</a>
% endif
% if post.meta('bugtracker'):
<a href="${post.meta('bugtracker')}" class="btn btn-lg btn-warning"><i class="fa fa-bug"></i> Bug Tracker</a>
% endif

0 comments on commit 7a2fc0c

Please sign in to comment.
You can’t perform that action at this time.