Skip to content

Commit

Permalink
Merge pull request #21 from brd/disable-unneeded
Browse files Browse the repository at this point in the history
Disable unneeded features gracefully
  • Loading branch information
miguelsimoni committed Oct 22, 2018
2 parents 8d07d56 + 745a7d0 commit cb4950b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion layouts/partials/footer.html
Expand Up @@ -83,10 +83,14 @@ <h3 class="widget-title">Form widget</h3>


<!-- JavaScript libs are placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseURL }}js/template.js"></script>
{{ if .Site.Params.disqus -}}
<script id="dsq-count-scr" src="//{{ .Site.Params.disqus.site }}/count.js" async></script>
{{ end -}}
{{ if .Site.Params.google.analytics -}}
{{ partial "analyticstracking.html" . }}
{{ end -}}
</body>
</html>
2 changes: 0 additions & 2 deletions layouts/partials/header.html
Expand Up @@ -23,8 +23,6 @@

{{ if .Site.Params.customsharethis }}
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property={{ .Site.Params.sharethis.property }}&product=custom-share-buttons"></script>
{{ else }}
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property={{ .Site.Params.sharethis.property }}&product=inline-share-buttons"></script>
{{ end }}

</head>
Expand Down

0 comments on commit cb4950b

Please sign in to comment.