mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Add meta description option
This commit is contained in:
parent
05be8beff9
commit
f54dbc8db9
2 changed files with 7 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ Pelican [documentation](http://docs.getpelican.com/en/latest/)
|
||||||
| ------------------------- | ----- | ----------------- |
|
| ------------------------- | ----- | ----------------- |
|
||||||
| PROFILE_IMAGE | URL | Profile image |
|
| PROFILE_IMAGE | URL | Profile image |
|
||||||
| SITE_SUBTEXT | TEXT | Header subtitle |
|
| SITE_SUBTEXT | TEXT | Header subtitle |
|
||||||
|
| META_DESCRIPTION | TEXT | Meta description |
|
||||||
| MENU_ITEMS | DICT | Menu items |
|
| MENU_ITEMS | DICT | Menu items |
|
||||||
| PAGES_ON_MENU | BOOL | Pages on the menu |
|
| PAGES_ON_MENU | BOOL | Pages on the menu |
|
||||||
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
|
| SHOW_ARTICLE_AUTHOR | BOOL | Show/hide author |
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
|
{{ super() }}
|
||||||
|
<meta name="author" content="{{ AUTHOR }}">
|
||||||
|
<meta name="description" content="{{ META_DESCRIPTION|striptags }}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% block page_title %}
|
{% block page_title %}
|
||||||
<h1>All Articles</h1>
|
<h1>All Articles</h1>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue