Commit Graph

80 Commits

Author SHA1 Message Date
Tobenna P. Igwe 2499947c60 Add support for CC licenses
Added support for creative commons licenses using cc-tools.
https://github.com/hlapp/cc-tools
2017-04-10 04:51:13 +01:00
Gilson Filho a63b8b7924 Merge pull request #53 from alasdairnicol/pelican_37_pages
PAGES context variable is replaced by pages in Pelican 3.7
2017-03-15 21:55:48 -03:00
Vanildo Souto Mangueira a735445a6b Adicionando suporte a escolher um formato de favicon 2017-03-04 17:27:51 -03:00
Alexander Koch 03122d01e7 Fix file modes
Remove executable bit from template files.
2017-02-28 16:44:55 +01:00
Alasdair Nicol 4fa97403d9 PAGES context variable is replaced by pages in Pelican 3.7
By using 'or' in the if statement, we can support Pelican 3.7 and
earlier versions in the same theme. When we are ready to drop support
for Pelican <3.7, the if statement can be simplified.

See the following links for more information.

http://docs.getpelican.com/en/3.7.0/changelog.html#id1

http://docs.getpelican.com/en/3.7.0/faq.html#since-i-upgraded-pelican-my-pages-are-no-longer-rendered
2017-01-04 00:43:15 +00:00
Gilson Filho 71d886e3d7 Merge pull request #48 from yoel-zeldes/disable_pagination_when_no_pages
don't show pagination if there's only one page
2016-09-13 15:51:15 -03:00
Gilson Filho 1a1328187b Merge pull request #44 from francoisfreitag/ffreitag/use_minified_jquery
base.html: Use minified jQuery
2016-09-13 15:50:57 -03:00
Yoel Zeldes f3ffba9a7a don't show pagination if there's only one page 2016-09-06 22:40:16 +03:00
Vinicius Senna dc9ebae71a Remove hr if there is no ADDTHIS 2016-07-17 15:57:58 -03:00
Vinicius Senna f951d4ba7d Insert a <p> tag to ease customizing article summary paddings. 2016-07-17 13:12:56 -03:00
Vinicius Senna 8711aa36d0 Fix disqus comments counter. 2016-07-17 12:46:37 -03:00
François Freitag 320bff5fb1 base.html: Use minified jQuery 2016-05-25 12:35:18 +02:00
Mr. Senko ec47f45cd2 Show social icons on index page header 2016-05-21 12:24:49 +03: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 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
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 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
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