Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Center google+ badges.

  • Loading branch information...
commit 48f9827f967191848e11dabcee13d305ff6f7170 1 parent 4c1e68b
Jeroen Hoekx jhoekx authored

Showing 2 changed files with 20 additions and 12 deletions. Show diff stats Hide diff stats

  1. +15 12 _layouts/default.html
  2. +5 0 css/default.css
27 _layouts/default.html
@@ -5,6 +5,16 @@
5 5
6 6 <link type="text/css" rel="stylesheet" href="/css/default.css">
7 7
  8 +<!-- Place this tag in the <head> of your document -->
  9 +<script type="text/javascript">
  10 +window.___gcfg = {lang: 'en'};
  11 +(function()
  12 +{var po = document.createElement("script");
  13 +po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
  14 +var s = document.getElementsByTagName("script")[0];
  15 +s.parentNode.insertBefore(po, s);
  16 +})();</script>
  17 +
8 18 <h1><a href="/">Relax and Recover</a></h1>
9 19 <ul class="nav">
10 20 <li><a href="/about/">Features</a>
@@ -19,21 +29,14 @@
19 29 </div>
20 30
21 31 <div class="footer">
22   -<hr/>
23   -<!-- Place this tag in the <head> of your document -->
24   -<script type="text/javascript">
25   -window.___gcfg = {lang: 'en'};
26   -(function()
27   -{var po = document.createElement("script");
28   -po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
29   -var s = document.getElementsByTagName("script")[0];
30   -s.parentNode.insertBefore(po, s);
31   -})();</script>
32   -
  32 +<p>
33 33 <!-- Place this tag where you want the badge to render -->
34 34 <div class="g-plus" data-href="https://plus.google.com/100515362141948679328?rel=publisher" data-width="300" data-height="69" data-theme="light"></div>
  35 +</p>
35 36
  37 +<p>
36 38 <!-- Place this tag where you want the +1 button to render -->
37   -<div class="g-plusone" data-annotation="inline" data-href="http://rear.github.com"></div>
  39 +<div class="g-plusone" data-annotation="bubble" data-href="http://rear.github.com"></div>
  40 +</p>
38 41
39 42 </div>
5 css/default.css
@@ -80,3 +80,8 @@ iframe {
80 80 margin: 1em auto;
81 81 border: 0;
82 82 }
  83 +
  84 +.footer {
  85 + border-top: 1px solid black;
  86 + text-align: center;
  87 +}

0 comments on commit 48f9827

Please sign in to comment.
Something went wrong with that request. Please try again.