comparison bns_website/templates/home.html @ 12:55e1d68da925

For issue #3, add social media sharing icons to the home page.
author Brian Neal <bgneal@gmail.com>
date Sun, 30 Oct 2011 16:00:12 -0500
parents f2cb9b2ec552
children 71f2beb03789
comparison
equal deleted inserted replaced
11:d5f3bb516fd3 12:55e1d68da925
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %} 2 {% load url from future %}
3 {% load core_tags %} 3 {% load core_tags %}
4 {% block title %}Home{% endblock %} 4 {% block title %}Home{% endblock %}
5 {% block custom_meta %}
6 <meta property="og:title" content="Brave New Surf" />
7 <meta property="og:type" content="album" />
8 <meta property="og:url" content="http://bravenewsurf.com/" />
9 <meta property="og:image" content="http://bravenewsurf.com{{ STATIC_URL }}images/bns_cover.jpg" />
10 <meta property="og:site_name" content="Brave New Surf" />
11 <meta property="og:description"
12 content="The home page for the surf music compilation album Brave New Surf. Visit for news, reviews, and song samples." />
13 <meta property="fb:admins" content="100001558124013" />
14 {% endblock %}
5 {% block custom_css %} 15 {% block custom_css %}
6 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> 16 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
7 {% endblock %} 17 {% endblock %}
8 {% block custom_js %} 18 {% block custom_js %}
9 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> 19 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
12 $(function() { 22 $(function() {
13 $("#album-cover").fancybox(); 23 $("#album-cover").fancybox();
14 }); 24 });
15 </script> 25 </script>
16 {% endblock %} 26 {% endblock %}
27 {% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %}
17 {% block content %} 28 {% block content %}
18 {% navbar 'home' %} 29 {% navbar 'home' %}
19 30
20 <div class="row"> 31 <div class="row">
21 <div class="span11"> 32 <div class="span11">
67 September 2011 marked the 50th anniversary of the release of the first surf record, Let’s Go Trippin’ by The King of Surf Guitar, Dick Dale (who celebrated this anniversary by touring the US yet again, at the amazing age of 74). The first half-century of surf music was an amazing ride, but for the bands represented here surf music is NOT a nostalgia trip. They are moving beyond the 1960s standards as the be-all, end-all of surf music. 78 September 2011 marked the 50th anniversary of the release of the first surf record, Let’s Go Trippin’ by The King of Surf Guitar, Dick Dale (who celebrated this anniversary by touring the US yet again, at the amazing age of 74). The first half-century of surf music was an amazing ride, but for the bands represented here surf music is NOT a nostalgia trip. They are moving beyond the 1960s standards as the be-all, end-all of surf music.
68 </p><p> 79 </p><p>
69 Surf music has never been so vibrant, so diverse, so charged with energy and excitement. It’s time for the new surf classics. It’s time for BRAVE NEW SURF! 80 Surf music has never been so vibrant, so diverse, so charged with energy and excitement. It’s time for the new surf classics. It’s time for BRAVE NEW SURF!
70 </p> 81 </p>
71 <p><a href="{% url 'buy' %}" class="btn primary">Buy Now &raquo;</a></p> 82 <p><a href="{% url 'buy' %}" class="btn primary">Buy Now &raquo;</a></p>
83 {% social_sharing 'Brave New Surf' 'http://bravenewsurf.com' %}
72 </div> 84 </div>
73 <div class="span7"> 85 <div class="span7">
74 <div class="alert-message block-message info"> 86 <div class="alert-message block-message info">
75 <h3>News</h3> 87 <h3>News</h3>
76 <p>This box shows links to the 5 most recent news items.</p> 88 <p>This box shows links to the 5 most recent news items.</p>
122 </div> 134 </div>
123 </div> 135 </div>
124 </div> 136 </div>
125 </div> 137 </div>
126 {% endblock %} 138 {% endblock %}
139 {% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}