Add meta description option

This commit is contained in:
Raymond Wanyoike 2014-06-17 21:37:16 +03:00
commit f54dbc8db9
2 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Pelican [documentation](http://docs.getpelican.com/en/latest/)
| ------------------------- | ----- | ----------------- |
| PROFILE_IMAGE | URL | Profile image |
| SITE_SUBTEXT | TEXT | Header subtitle |
| META_DESCRIPTION | TEXT | Meta description |
| MENU_ITEMS | DICT | Menu items |
| PAGES_ON_MENU | BOOL | Pages on the menu |
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |

View file

@ -1,5 +1,11 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
<meta name="author" content="{{ AUTHOR }}">
<meta name="description" content="{{ META_DESCRIPTION|striptags }}">
{% endblock %}
{% block content %}
{% block page_title %}
<h1>All Articles</h1>