summaryrefslogtreecommitdiff
path: root/docs/plugins.rst
diff options
context:
space:
mode:
authorMarco Milanesi <kpanic@gnufunk.org>2011-10-19 11:57:37 +0200
committerMarco Milanesi <kpanic@gnufunk.org>2011-10-19 11:57:37 +0200
commit462e637e69e46318411b53eac6d237c8ef498542 (patch)
tree1d25ee7163f500511fd8de792ac7fb19dc2a1c83 /docs/plugins.rst
parent83d59d6b93a9300572c5f1adddca524baba5cb43 (diff)
downloadpelican-462e637e69e46318411b53eac6d237c8ef498542.tar.gz
updated doc
Diffstat (limited to 'docs/plugins.rst')
-rw-r--r--docs/plugins.rst23
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/plugins.rst b/docs/plugins.rst
index 42ecd656..3bf7c532 100644
--- a/docs/plugins.rst
+++ b/docs/plugins.rst
@@ -100,15 +100,20 @@ in your template just write a for in jinja2 syntax against the
github_activity variable, like for example::
{% if GITHUB_ACTIVITY_FEED %}
- <div class="social">
- <h2>Github Activity</h2>
- {% for activity in github_activity %}
- {{ activity }}
- {% endfor %}
- </div><!-- /.social -->
+ <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 containing raw html from github so you can include it
-directly in your (for example base.html) template and style it in a way that
-your prefer using your css skills
+
+github_activity is a list containing a list. The first element is the title and
+the second element is the raw html from github so you can include it directly
+in your (for example base.html) template and style it in a way that your prefer
+using your css skills