Skip to content

Commit c373795

Browse files
committed
ativado o uso da barra sharethis.
1 parent 3b6ccba commit c373795

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

_config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ paginate: 12
66
email: 'consultoria@carlosdelfinfo.eti.br'
77
disqus: 'carlosdelfino'
88
sharethis:
9-
property: '5b326ee13e2f6e001148ddca'
9+
show: true;
10+
property: 5b326ee13e2f6e001148ddca
1011
product: 'sticky-share-buttons'
1112
google_analytics: "UA-21710445-1"
1213

@@ -55,4 +56,8 @@ mailchimp:
5556

5657
## ads
5758
ads:
58-
show: true
59+
show: true
60+
61+
exclude:
62+
- /assets/images/logo.xcf,
63+
- /assets/images/react_redux.xcf]

_layouts/circuitjs1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<link href="{{ site.baseurl }}/assets/css/circuitjs1.css" rel="stylesheet">
1414
<link href="{{ site.baseurl }}/assets/css/custom.css" rel="stylesheet">
1515

16-
{%- if site.sharethis.enable -%}
17-
<script type='text/javascript' src='//platform-api.sharethis.com/js/sharethis.js#property={{site.sharethis.property}}&product={{site.sharethis.product}}"></script>'
16+
{%- if site.sharethis.show -%}
17+
<script type='text/javascript' src='//platform-api.sharethis.com/js/sharethis.js#property={{site.sharethis.property}}&product={{site.sharethis.product}}' async='async'></script>'
1818
{%- endif -%}
1919

2020
{%- if jekyll.environment == 'production' -%}

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<link href="{{ site.baseurl }}/assets/css/custom.css" rel="stylesheet">
1414

1515
<script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
16-
{%- if site.sharethis.enable -%}
17-
<script type='text/javascript' src='//platform-api.sharethis.com/js/sharethis.js#property={{site.sharethis.property}}&product={{site.sharethis.product}}"></script>'
16+
{%- if site.sharethis.show -%}
17+
<script type='text/javascript' src='//platform-api.sharethis.com/js/sharethis.js#property={{site.sharethis.property}}&product={{site.sharethis.product}}' async='async'></script>'
1818
{%- endif -%}
1919

2020
{%- if jekyll.environment == 'production' -%}

0 commit comments

Comments
 (0)