Commit Graph

27 Commits

Author SHA1 Message Date
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
Toti
dbd16dba88 merge with master to fix conflicts 2016-02-26 15:37:35 -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
Gilson Filho
cbc55d881b Merge pull request #28 from MrSenko/og_image
Update meta tags and add support for og:image
2016-02-19 23:04:08 -02:00
Guilherme Toti
49c452ca9a add author to base page 2016-02-18 20:40:00 -02:00
Mr. Senko
31099533fa Update meta tags and add support for og:image 2016-02-12 15:17:34 +02:00
Mr. Senko
d44238f7a8 New feature: define external feeds in SOCIAL 2016-02-12 14:14:26 +02:00
pajowu
f395a646f0 use SITESUBTITLE in base.html if set 2016-02-06 19:19:49 +02:00
pajowu
d6618f16b2 added support for twitter cards 2016-02-06 19:14:41 +02:00
CaptainArk
ec3119403c update fonts-awesome version from 4.1.0 to 4.5.0 2016-02-01 21:06:27 +01:00
Mr. Senko
dcccb0ba79 Make it possible to use SITESUBTITLE in the <title> HTML tag 2016-01-22 12:10:32 +02:00
Gilson Filho
e346eb511b Merge pull request #19 from MrSenko/google_site_verification
Add Google site verification meta tag
2016-01-18 08:43:17 -03:00
Gilson Filho
1301b05998 Merge pull request #21 from MrSenko/locale
Use LOCALE instead of DEFAULT_LANG to set og:locale
2016-01-18 08:41:17 -03:00
Mr. Senko
38272aac9e Make it possible to define custom footer
Using the FOOTER_INCLUDE and EXTRA_TEMPLATES_PATHS settings it
is now possible to include a custom footer template instead of
the default "Powered by Pelican"!
2016-01-17 17:34:53 +02:00
Mr. Senko
b6dbb3d340 Use LOCALE instead of DEFAULT_LANG to set og:locale
DEFAULT_LANG value is 'en' while og:locale format is 'en_US'
which is the value of LOCALE as well. LOCALE is a list though!
2016-01-17 17:14:17 +02:00
Mr. Senko
448c079e37 Add Google site verification meta tag 2016-01-17 16:52:35 +02:00
Gilson Filho
1360d551b8 Merge pull request #14 from pajowu/master
Get social urls from SOCIAL
2016-01-11 09:30:01 -03:00
pajowu
3b129df7b4 switched cdn urls to https 2016-01-10 18:19:22 +02:00
pajowu
cacebed4bc get social urls from SOCIAL 2016-01-10 17:38:16 +02:00
Alexander Todorov
7f5a7ce939 base.html improvements
- only show social buttons if URLs are defined
- new CSS_OVERRIDE setting for user defined CSS
- new DISABLE_CUSTOM_THEME_JAVASCRIPT setting to disable theme
JavaScript which breaks forms and input fields
2015-11-26 00:34:39 +02:00
gilsondev
ea156f8f17 Insert opengraph metatags 2015-09-04 23:14:31 -03:00
gilsondev
91293c7d41 Insert analytics and disqus script 2014-12-10 22:30:35 -02:00
gilsondev
2fa6afcb8b insert colorscheme to code block 2014-12-10 16:21:25 -02:00
gilsondev
453501adab Fix static urls 2014-12-10 15:37:34 -02:00
gilsondev
669d407f5f Adapt template to pelican 2014-12-10 15:17:48 -02:00