Commit Graph

28 Commits

Author SHA1 Message Date
Fabrice Mouhartem 46270470fc Fr: translations 2019-04-23 23:08:40 +05:30
Fabrice Mouhartem 12ac5ac1fb Consistent use of {{SITEURL}} 2019-04-23 14:16:20 +05:30
Gilson Filho ecbf09f52d
Merge pull request #69 from brightlingmeuk/master
Add SITEURL prepend to header cover images.
2018-02-14 12:32:16 -02:00
Robert Brightling 7e44e0ff80 Add SITEURL prepend to header cover images.
Prepend SITEURL to HEADER_COVER and article.header_cover in templates so
that the site can be on a subdirectory, such as http://mywebsite.com/blog.
2017-10-25 13:06:10 +01:00
David Adrián Cañones Castellano 6f63ec40cd Opengraph and Twittercard URLS fixing + new g.analytics global tracker 2017-09-08 17:31:50 +02:00
LeeW f932d983ed Add striptags to article title
* Fix page break when upper letters are using (e.g. HTML)
2017-06-26 09:48:46 +08:00
Gilson Filho 8e4ccef4eb Revert "Localise clean-blog Theme" 2017-05-12 23:32:57 -03:00
Tobenna Peter Igwe 0d6cbea619 Localization of the template files 2017-04-06 07:38:23 +01:00
Alexander Koch 03122d01e7 Fix file modes
Remove executable bit from template files.
2017-02-28 16:44:55 +01:00
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