Commit Graph

99 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
8c8d421dbf Merge pull request #38 from MrSenko/more_docs
Document IGNORE_FILES together with FOOTER_INCLUDE
2016-04-07 14:39:42 -03:00
Gilson Filho
1716eecbdc Merge pull request #37 from MrSenko/fb_admins
Add new setting - FACEBOOK_ADMINS
2016-04-07 14:39:09 -03:00
Gilson Filho
b090ffdc80 Merge pull request #39 from MrSenko/twitter_cards
Refactor Twitter cards support
2016-04-07 14:38:45 -03:00
Gilson Filho
2f7d779b0c Merge pull request #40 from MrSenko/author_tags
Make article:author OpenGraph compatible
2016-04-07 14:36:37 -03:00
Gilson Filho
45f45afd98 Merge pull request #36 from lsdlab/master
fix pagination arrow
2016-04-04 09:46:32 -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
Mr. Senko
67780ce329 Document IGNORE_FILES together with FOOTER_INCLUDE 2016-03-31 22:54:10 +03:00
Mr. Senko
779665773e Add new setting - FACEBOOK_ADMINS 2016-03-31 22:41:26 +03:00
Chen Jian
bb75fe5020 fix pagination arrow 2016-03-25 00:45:12 +08:00
Gilson Filho
911b8ec25c Merge pull request #35 from Svenito/summary-tags
Add `striptags` to summary before truncate
2016-03-09 23:31:20 -03:00
Sven Steinbauer
5d3848a445 Add striptags to summary before truncate
Summary might be truncated inside an HTML tag. Summaries no longer have
HTML tags, but this prevents unclosed tags in the summary which can
interfere with the rest of the layout
2016-03-02 12:31:28 +00:00
Gilson Filho
3bb47e5a6c Merge pull request #33 from guilherme-toti/gt-add-author-to-base
Add author tag to base template
2016-03-01 11:03:13 -03:00
Toti
dbd16dba88 merge with master to fix conflicts 2016-02-26 15:37:35 -03:00
Gilson Filho
5e0fb122a1 Merge pull request #31 from drgarcia1986/flat-header
add `HEADER_COLOR` option to render header with a simple color
2016-02-24 16:16:21 -03:00
Diego Garcia
4818dbb5f7 fix "unsafe" html tags in README markdown 2016-02-22 10:32:10 -03:00
Diego Garcia
081b418aa9 update readme (add HEAD_COLOR option) 2016-02-22 10:23:20 -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
b5abd59c18 Merge pull request #30 from drgarcia1986/img-auto-resize
add image `auto resize` in css files
2016-02-21 21:40:23 -03:00
Gilson Filho
997d9583af Merge pull request #29 from drgarcia1986/master
better support for `summary` plugin
2016-02-21 21:38:22 -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
Gilson Filho
27176a57f6 Merge pull request #27 from MrSenko/external_feed
New feature: define external feeds in SOCIAL
2016-02-19 23:00:18 -02:00
Guilherme Toti
49c452ca9a add author to base page 2016-02-18 20:40:00 -02:00
Diego Garcia
a6ce793b7d add image auto resize in css files 2016-02-14 21:19:35 -02:00
Diego Garcia
e6ec8247eb better support for summary plugin 2016-02-14 11:52:23 -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
Gilson Filho
2269d0f506 Merge pull request #25 from captainark/master
update fonts-awesome version from 4.1.0 to 4.5.0
2016-02-09 11:18:09 -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
Gilson Filho
f26dd2b92f Merge pull request #23 from MrSenko/sitesubtitle_in_title
Show SITESUBTITLE in <title>
2016-01-25 21:30:27 -02:00
Gilson Filho
2fa77f1003 Merge pull request #24 from MrSenko/more_docs
Better documentation for new settings
2016-01-22 16:32:01 -03:00
Mr. Senko
dcccb0ba79 Make it possible to use SITESUBTITLE in the <title> HTML tag 2016-01-22 12:10:32 +02:00
Mr. Senko
dc0eea5833 Better documentation for new settings
- add documentation about PR #19 and #20;
- add a warning about duplicate names for custom footer
2016-01-22 12:06:33 +02:00
Gilson Filho
517529f633 Merge pull request #17 from MrSenko/show_full_article
New setting: SHOW_FULL_ARTICLE
2016-01-21 14:43:49 -03:00
Gilson Filho
7bca08adfe Merge pull request #20 from MrSenko/add_this
Add AddThis sharing buttons
2016-01-18 08:45:12 -03:00
Gilson Filho
e842e6de42 Merge pull request #18 from MrSenko/fix_closing_p_tags
Fix broken HTML tags
2016-01-18 08:44:35 -03:00
Gilson Filho
3e243d6861 Merge pull request #16 from pajowu/article-modified
add modified date to article
2016-01-18 08:44:08 -03: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
Gilson Filho
dfe1f73df3 Merge pull request #22 from MrSenko/footer
Make it possible to define custom footer
2016-01-18 08:40:48 -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
d35b38d790 Add AddThis sharing buttons 2016-01-17 17:07:27 +02:00
Mr. Senko
448c079e37 Add Google site verification meta tag 2016-01-17 16:52:35 +02:00
Mr. Senko
974daea0e4 Fix broken HTML tags
The </p> tag should close before inserting the comments.
2016-01-17 16:46:23 +02:00
Mr. Senko
af23b076a1 New setting: SHOW_FULL_ARTICLE
when set to True will show the full article content on index.html
instead of truncated summary.
2016-01-17 16:40:56 +02:00