Commit Graph

19 Commits

Author SHA1 Message Date
Alexander Koch
6d8b9cc7dc article: Remove trailing comma from tag list
Remove trailing ', ' from the tag list in the article template.
2016-04-12 19:42:59 +02:00
Gilson Filho
b090ffdc80 Merge pull request #39 from MrSenko/twitter_cards
Refactor Twitter cards support
2016-04-07 14:38:45 -03:00
Mr. Senko
5a83a4575d Make article:author OpenGraph compatible
OpenGraph actually needs a profile URL as value to article:author.
We point it to the author's page and adjust the OG meta tags on
author.html to include the relevant profile information.
2016-03-31 23:55:22 +03:00
Mr. Senko
9583d74d70 Refactor Twitter cards support
Remove the TWITTER_HANDLE variable and use the 'twitter' value
from SOCIAL. This eliminates duplicate settings!

Remove closing slash for meta tags, not required by HTML5, see
http://stackoverflow.com/a/21898502

In article.html Twitter images were specified twice - once as
relative URL and once as full site URL. Now only a single full
URL is used instead. Also stripped HTML tags from description.

The default card type is summary_large_image which better displays
with high-res images and the default header images.

``twitter_image`` article metadata is now supported, similar to
``og_image``.

Documentation is updated.
2016-03-31 23:11:17 +03:00
Diego Garcia
58e57c3bab add HEADER_COLOR option to render header with a simple color 2016-02-22 10:17:20 -03:00
Gilson Filho
835de7e7e2 Merge pull request #26 from pajowu/twitter-cards
added support for twitter cards
2016-02-21 21:37:08 -03:00
Mr. Senko
31099533fa Update meta tags and add support for og:image 2016-02-12 15:17:34 +02:00
pajowu
d6618f16b2 added support for twitter cards 2016-02-06 19:14:41 +02:00
Gilson Filho
7bca08adfe Merge pull request #20 from MrSenko/add_this
Add AddThis sharing buttons
2016-01-18 08:45:12 -03:00
Mr. Senko
d35b38d790 Add AddThis sharing buttons 2016-01-17 17:07:27 +02:00
pajowu
5c8deddc86 add modified date to article 2016-01-16 22:16:09 +02:00
Alexander Todorov
e55e841eff article.html: honor HEADER_COVER if present, use article.title for
<title> and show tags if present
2015-11-26 00:12:22 +02:00
gilsondev
ea156f8f17 Insert opengraph metatags 2015-09-04 23:14:31 -03:00
gilsondev
52386a8689 Inserting disqus comment' 2014-12-10 18:59:23 -02:00
gilsondev
439106d345 Truncate summary and define headline in articles 2014-12-10 16:01:30 -02:00
gilsondev
7f50fccad1 Truncate summary and define headline in articles 2014-12-10 16:00:35 -02:00
gilsondev
11e175851a Fix header cover again 2014-12-10 15:49:06 -02:00
gilsondev
4e158efae2 Fix static images url 2014-12-10 15:40:13 -02:00
gilsondev
669d407f5f Adapt template to pelican 2014-12-10 15:17:48 -02:00