Commit Graph

60 Commits

Author SHA1 Message Date
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
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
Toti
dbd16dba88 merge with master to fix conflicts 2016-02-26 15:37:35 -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
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
Guilherme Toti
49c452ca9a add author to base page 2016-02-18 20:40:00 -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
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
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
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
pajowu
5c8deddc86 add modified date to article 2016-01-16 22:16:09 +02:00
Gilson Filho
52f805521e Merge pull request #5 from atodorov/article_improvements
article.html imrovements
2016-01-11 09:33:30 -03:00
Gilson Filho
18d1f5b6b6 Merge pull request #7 from atodorov/subtitle
index.html: Show the <hr> and subheading only if SITESUBTITLE is defined
2016-01-11 09:33:03 -03:00
Gilson Filho
8978bc4ea5 Merge pull request #8 from atodorov/add_tags_support
Add support for showing all posts under a single tag
2016-01-11 09:32:45 -03:00
Gilson Filho
96c5ff0355 Merge pull request #11 from felixfriedrich/hr-fix
only show <hr> if pagination is enabled
2016-01-11 09:31:49 -03: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
Felix Friedrich
eafbf840fa only show <hr> if pagination is enabled 2016-01-10 14:32:16 +01:00
Ignacio Digon
c3ce6dbf1f Page template background fix
Page template added two background images
2015-12-20 09:00:47 +01:00
Alexander Todorov
dcc1b3436f Add support for showing all posts under a single tag 2015-11-26 00:48:45 +02:00
Alexander Todorov
b30259775c index.html: Show the <hr> and subheading only if SITESUBTITLE is defined 2015-11-26 00:39:43 +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
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
Alexander Todorov
3efbb41a3e Honor HEADER_COVER in page.html, fixes #2 2015-11-25 17:08:22 +02:00
gilsondev
ea156f8f17 Insert opengraph metatags 2015-09-04 23:14:31 -03:00
Alen Komljen
88db4197ff Fix TemplateSyntaxError in page.html jinja template 2014-12-18 08:53:19 +01:00
gilsondev
1d8d885baf Fix analytics.html 2014-12-10 23:16:35 -02:00
gilsondev
91293c7d41 Insert analytics and disqus script 2014-12-10 22:30:35 -02:00
gilsondev
52386a8689 Inserting disqus comment' 2014-12-10 18:59:23 -02:00
gilsondev
2fa6afcb8b insert colorscheme to code block 2014-12-10 16:21:25 -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