Permalink
Browse files

Cleans up the HTML and adds prefixfree.js

  • Loading branch information...
matiaskorhonen committed May 11, 2012
1 parent 5cbdd56 commit e7d26612a22fb68e5723295e8c59cb3f7e357fce
Showing with 68 additions and 51 deletions.
  1. +53 −46 _layouts/default.html
  2. +1 −1 _posts/2012-04-18-guide.markdown
  3. +2 −4 index.html
  4. +12 −0 js/prefixfree.min.js
View
@@ -1,49 +1,56 @@
<!doctype html>
<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>{{ page.title }} - Rails Girls</title>
- <!--[if lt IE 9]>
- <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <link rel="stylesheet" href="/css/bootstrap.css">
- <link rel="stylesheet" href="/css/code.css">
- <link rel="stylesheet" href="/css/style.css">
+ <head>
+ <meta charset="utf-8" />
+ <title>{{ page.title }} - Rails Girls</title>
+ <!--[if lt IE 9]>
+ <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ <script src="/js/prefixfree.min.js"></script>
+ <link href="/css/bootstrap.css" rel="stylesheet" />
+ <link href="/css/code.css" rel="stylesheet" />
+ <link href="/css/style.css" rel="stylesheet" />
+ <link href="/favicon.png" rel="shortcut icon" />
+ </head>
+ <body>
+ <header>
+ <div class="container">
+ <a class="span3" href="/" id="logo">
+ <img alt="Rails Girls Guides" src="/images/railsgirls-guides.png" />
+ </a>
+ <nav></nav>
+ </div>
+ </header>
+ <article class="container">
+ <div class="span10">
+ {{ content }}
+ </div>
+ </article>
+ <footer>
+ <p>
+ This work is licensed under a
+ <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 License</a>
+ </p>
+ <p>
+ <a href="http://railsgirls.com">Rails Girls</a>
+ &middot; Crafted with excitement from Helsinki, Finland &middot; Follow us on
+ <a href="http://twitter.com/railsgirls">Twitter</a>
+ and
+ <a href="https://www.facebook.com/railsgirls">Facebook</a>
+ </p>
+ </footer>
+ <script type="text/javascript">
+ //<![CDATA[
+ var _gaq = _gaq || [];
+ _gaq.push(["_setAccount", "UA-19631067-3"]);
+ _gaq.push(["_trackPageview"]);
- <link rel="shortcut icon" href="/favicon.png">
- </head>
- <body>
- <header>
- <div class="container">
- <a class="span3" id="logo" href="/"><img src="/img/railsgirls-guides.png" alt="Rails Girls Guides" /></a>
- <nav>
- </nav>
- </div>
- </header>
-
- <article class="container">
- <div class="span10">
- {{ content }}
- </div>
- </article>
-
- <footer>
- <p>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 License</a></p>
-
- <p><a href="http://railsgirls.com">Rails Girls</a> &middot; Crafted with excitement from Helsinki, Finland &middot; Follow us on <a href="http://twitter.com/railsgirls">Twitter</a> and <a href="https://www.facebook.com/railsgirls">Facebook</a></p>
- </footer>
- <script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-19631067-3']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
- </script>
- </body>
-</html>
+ (function() {
+ var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
+ ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
+ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ //]]>
+ </script>
+ </body>
+</html>
@@ -304,7 +304,7 @@ Congratulations! We’re happy to invite you to join in on the Rails Girls work
What happens next?
-(Insert date for installation fest) starts at (insert time) with an installation fest - so please bring your laptop with you! You should also try to pre-install Rails with instructions from [http://guides.railsgirls.com/install/] http://guides.railsgirls.com/install/
+(Insert date for installation fest) starts at (insert time) with an installation fest - so please bring your laptop with you! You should also try to pre-install Rails with instructions from <http://guides.railsgirls.com/install/>
We will hold the event in (insert address)
View
@@ -1,8 +1,7 @@
---
layout: default
-title: Rails Girls Guides
+title: Guides
---
-
<div class="hero">
<h2>Rails Girls Guides</h2>
<p>These guides are built for to give tools and a community for women to understand technology and to build their ideas. Organize your own events, submit new guides or just use them to learn Rails. For more, add yourself to the <a href="http://groups.google.com/group/rails-girls-team">team mailing list</a>.</p>
@@ -54,5 +53,4 @@ <h3>Submit Your Own Guide</h3>
<p>We are accepting guides to extend the application to our <a href="http://github.com/railsgirls/railsgirls.github.com">Github repository &rarr;</a></p>
</a>
</li>
-</ul>
-
+</ul>
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit e7d2661

Please sign in to comment.