Welcome to mirror list, hosted at ThFree Co, Russian Federation.

footer_scripts.html « partials « layouts - github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0a17f2e6e7814146e47b2afbda0a803fe53ec8b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<script src="/js/castanet-min.js"></script>
<script>
    $("#share").jsSocials({
        shares: ["facebook", "linkedin", "pinterest",
      {
        share: "twitter",           // name of share
        label: "Tweet",             // share button text (optional)
        {{ if (isset .Site.Params.social "twitter" )}}
          via: "{{ .Site.Params.social.twitter }}",       // custom twitter sharing param 'via' (optional)
        {{ end }}
        url: "{{ .Params.permalink }}",
        text: "{{ title .Title }}"
      }],
    });
</script>
<script>
audiojs.events.ready(function() {
  var as = audiojs.createAll({
    imageLocation: '/img/player-graphics.gif',
    retinaImageLocation: '/img/player-graphics@2x.gif',
    swfLocation: '/swf/audiojs.swf'
   });
 });
</script>
{{ template "_internal/google_analytics_async.html" . }}