seo
This commit is contained in:
parent
6fbb3c3e21
commit
3f3ace96bc
|
@ -11,6 +11,8 @@ geo:
|
||||||
long: '6.133011'
|
long: '6.133011'
|
||||||
region: 'CH-GE'
|
region: 'CH-GE'
|
||||||
town: 'Geneva'
|
town: 'Geneva'
|
||||||
|
country: 'Switzerland'
|
||||||
|
postalcode: '1201'
|
||||||
|
|
||||||
banner: '/assets/img/basspistol_est_2010_square_bluegreen.jpg'
|
banner: '/assets/img/basspistol_est_2010_square_bluegreen.jpg'
|
||||||
icon: /siteicon.png
|
icon: /siteicon.png
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
<meta name="twitter:description" content="Listen and to a track by {{ page.common.artist | strip_html }} from the release "{{ page.common.album | strip_html }}" and support your remote artist!" />
|
<meta name="twitter:description" content="Listen and to a track by {{ page.common.artist | strip_html }} from the release "{{ page.common.album | strip_html }}" and support your remote artist!" />
|
||||||
<meta name="twitter:image" content="https://media.basspistol.com/basspistol.com/{{ page.slug }}.jpeg" />
|
<meta name="twitter:image" content="https://media.basspistol.com/basspistol.com/{{ page.slug }}.jpeg" />
|
||||||
|
|
||||||
<!-- END seo.html -->
|
|
||||||
{% elsif page.collection == 'albums' %}
|
{% elsif page.collection == 'albums' %}
|
||||||
|
|
||||||
<!-- BEGIN seo.html -->
|
<!-- BEGIN seo.html -->
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
<meta name="twitter:description" content="Listen and to a release by {{ artist | uniq }} named "{{ page.name | strip_html }}" and support your remote artist!" />
|
<meta name="twitter:description" content="Listen and to a release by {{ artist | uniq }} named "{{ page.name | strip_html }}" and support your remote artist!" />
|
||||||
<meta name="twitter:image" content="https://media.basspistol.com/basspistol.com/{{ page.tracks[0].slug }}.jpeg" />
|
<meta name="twitter:image" content="https://media.basspistol.com/basspistol.com/{{ page.tracks[0].slug }}.jpeg" />
|
||||||
|
|
||||||
<!-- END seo.html -->
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<!-- BEGIN seo.html -->
|
<!-- BEGIN seo.html -->
|
||||||
|
@ -182,47 +182,74 @@
|
||||||
<meta name="twitter:description" content="{{ page.description }}" />
|
<meta name="twitter:description" content="{{ page.description }}" />
|
||||||
<meta name="twitter:image" content="{{ site.url }}{{ page.image }}" />
|
<meta name="twitter:image" content="{{ site.url }}{{ page.image }}" />
|
||||||
|
|
||||||
<!-- END seo.html -->
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
<script type='application/ld+json'>
|
||||||
|
{
|
||||||
|
"@context": "http://www.schema.org",
|
||||||
|
"@type": "Organization",
|
||||||
|
"name": "{{ site.title }}",
|
||||||
|
"url": "{{ site.url }}",
|
||||||
|
"sameAs": [
|
||||||
|
{% for social in site.social.links %}"{{ social }}"{% unless forloop.last %},{% endunless %}{% endfor %}
|
||||||
|
],
|
||||||
|
"logo": "{{ site.url }}{{ site.banner }}",
|
||||||
|
"image": "{{ site.url }}{{ site.banner }}",
|
||||||
|
"description": "{{ site.description | strip_html }}",
|
||||||
|
"address": {
|
||||||
|
"@type": "PostalAddress",
|
||||||
|
"addressLocality": "Geneva",
|
||||||
|
"addressRegion": "Geneva",
|
||||||
|
"postalCode": "1201",
|
||||||
|
"addressCountry": "Switzerland"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% if page.url == '/radio/' or page.url == '/' %}
|
{% if page.url == '/radio/' or page.url == '/' %}
|
||||||
<script type='application/ld+json'>
|
<script type='application/ld+json'>
|
||||||
{
|
{
|
||||||
"@context": "http://www.schema.org",
|
"@context": "http://www.schema.org",
|
||||||
"@type": "RadioStation",
|
"@type": "RadioStation",
|
||||||
"name": "Basspistol Libre Radio",
|
"name": "Basspistol Libre Radio",
|
||||||
"url": "https://basspistol.com/radio",
|
"url": "{{ site.url }}/radio",
|
||||||
"logo": "https://basspistol.com/assets/img/basspistol_est_2010_square_bluegreen.jpg",
|
"logo": "{{ site.url }}{{ site.logo }}",
|
||||||
"image": "https://basspistol.com/assets/img/basspistol_est_2010_square_bluegreen.jpg",
|
"image": "{{ site.url }}{{ site.logo }}",
|
||||||
"description": "Unexpected and Impossible Music. Live interventions and special guests. This is Libre music!",
|
"description": "Unexpected and Impossible Music. Live interventions and special guests. This is Libre music!",
|
||||||
"address": {
|
"address": {
|
||||||
"@type": "PostalAddress",
|
"@type": "PostalAddress",
|
||||||
"addressLocality": "Geneva",
|
"addressLocality": "{{ site.geo.town }}",
|
||||||
"addressRegion": "Geneva",
|
"addressRegion": "{{ site.geo.region }}",
|
||||||
"postalCode": "1201",
|
"postalCode": "{{ site.geo.postalcode }}",
|
||||||
"addressCountry": "Switzerland"
|
"addressCountry": "{{ site.geo.country }}"
|
||||||
},
|
},
|
||||||
"geo": {
|
"geo": {
|
||||||
"@type": "GeoCoordinates",
|
"@type": "GeoCoordinates",
|
||||||
"latitude": "46.204391",
|
"latitude": "{{ site.geo.lat }}",
|
||||||
"longitude": "6.143158"
|
"longitude": "{{ site.geo.long }}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
function getData() {
|
|
||||||
$.getJSON('https://radio.basspistol.com/status-json.xsl', function(json) {
|
|
||||||
output = "<p>" + "<span style='font-size:14px;'>Now Playing:</span> " + "<br/>";
|
|
||||||
output += "<strong>" + json.icestats.source[1].title + "</strong> by <strong>" + json.icestats.source[1].artist + "</strong></p>";
|
|
||||||
output += "<p style='font-size:14px;'>" + json.icestats.source[0].listeners + " peers are listening in MP3 <br />";
|
|
||||||
output += json.icestats.source[1].listeners + " peers are listening in OGG</p>";
|
|
||||||
document.getElementById("radioPlaceholder").innerHTML=output;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
setInterval(getData, 7000);
|
|
||||||
|
|
||||||
$(function() {
|
|
||||||
getData();
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function getData() {
|
||||||
|
$.getJSON('https://radio.basspistol.com/status-json.xsl', function(json) {
|
||||||
|
output = "<p>" + "<span style='font-size:14px;'>Now Playing:</span> " + "<br/>";
|
||||||
|
output += "<strong>" + json.icestats.source[1].title + "</strong> by <strong>" + json.icestats.source[1].artist + "</strong></p>";
|
||||||
|
output += "<p style='font-size:14px;'>" + json.icestats.source[0].listeners + " peers are listening in MP3 <br />";
|
||||||
|
output += json.icestats.source[1].listeners + " peers are listening in OGG</p>";
|
||||||
|
document.getElementById("radioPlaceholder").innerHTML=output;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
setInterval(getData, 7000);
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
getData();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- END seo.html -->
|
Loading…
Reference in a new issue