site/src/about/ampfile.haml in amp-0.5.0 vs site/src/about/ampfile.haml in amp-0.5.1
- old
+ new
@@ -52,6 +52,17 @@
You can put that in your ampfile and get commit statistics right away. In fact, it's in #{blue_amp}'s ampfile. If you run #{shellscript "amp help"}, your new command will be in the list! Why does this work? Well, it's not much of a secret: <b>You're actually writing the exact same code used to create the built-in amp commands.</b> If you look at our code, each of the commands you know and love, such as #{shellscript "amp commit"}, #{shellscript "amp move"} are written using this exact same code style.
%h2 Cool! What now?
%p
Well, start hacking away! You might find the #{commands_link} section interesting, as well as our #{link_to "/learn/", "Learn Amp"} pages, where you can find the #{blue_amp} API. We'll be setting up a place for useful snippets to be posted soon.
- = render("include/_footer.haml")
+ = render("include/_footer.haml")
+ :plain
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-11746178-1");
+ pageTracker._setDomainName(".carboni.ca");
+ pageTracker._trackPageview();
+ } catch(err) {}</script>
\ No newline at end of file