Skip to content

Commit

Permalink
Add SITE_KEYWORDS
Browse files Browse the repository at this point in the history
Fixes duilio#54
  • Loading branch information
atodorov committed Jun 4, 2016
1 parent dd857bf commit 494f3db
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ pending pull requests from that repository and also merged new features from
Changelog
---------

2nd Jul 2016
5th Jun 2016

- Add support for ``SITE_KEYWORDS``. Fixes
`issue #54 <https://github.com/duilio/pelican-octopress-theme/issues/54>`_


2nd Jun 2016

- Add support for article and page translations. Fixes
`issue #89 <https://github.com/duilio/pelican-octopress-theme/issues/89>`_
Expand Down Expand Up @@ -348,6 +354,12 @@ Neighboring Articles
"Next Post" bellow article content in the article pages. The ``neighbors``
plugin is required for this feature.

HTML Meta Tags
--------------

- ``SITE_KEYWORDS``: set this to a string which will be used in the HTML meta
tag for keywords.

Contribute
----------

Expand Down
3 changes: 3 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
{% if article and article.description %}
<meta name="description" content="{{ article.description }}" />
{% endif %}
{% if SITE_KEYWORDS %}
<meta name="keywords" content="{{ SITE_KEYWORDS }}" />
{% endif %}

{% if FEED_FEEDBURNER %}
<link href="http://feeds.feedburner.com/{{ FEED_FEEDBURNER }}" type="application/rss+xml" rel="alternate"
Expand Down

0 comments on commit 494f3db

Please sign in to comment.