app/soc/templates/soc/site/home/public.html
changeset 81 b03b1ec17727
child 141 e120c24b89e2
equal deleted inserted replaced
80:55542eddada5 81:b03b1ec17727
       
     1 {% extends "soc/base.html" %}
       
     2 {% comment %}
       
     3 Licensed under the Apache License, Version 2.0 (the "License");
       
     4 you may not use this file except in compliance with the License.
       
     5 You may obtain a copy of the License at
       
     6 
       
     7   http://www.apache.org/licenses/LICENSE-2.0
       
     8 
       
     9 Unless required by applicable law or agreed to in writing, software
       
    10 distributed under the License is distributed on an "AS IS" BASIS,
       
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    12 See the License for the specific language governing permissions and
       
    13 limitations under the License.
       
    14 {% endcomment %}
       
    15 
       
    16 {% block scripts %}
       
    17     <script type="text/javascript" src="http://www.google.com/jsapi"></script>
       
    18     <script type="text/javascript" src="/soc/content/js/blog.js"></script>
       
    19     <script type="text/javascript">
       
    20 
       
    21     google.load("feeds", "1");
       
    22 
       
    23     function initialize() {
       
    24       var blog = new BlogPreview(document.getElementById("blog"));
       
    25       blog.show("http://google-opensource.blogspot.com/feeds/posts/default");
       
    26     }
       
    27     google.setOnLoadCallback(initialize);
       
    28 
       
    29     </script>
       
    30 {% endblock %}
       
    31 
       
    32 {% block body %}
       
    33 	{{ block.super }}
       
    34     <div id="blog"></div>
       
    35 {% endblock %}