Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote branch 'upstream/master'

  • Loading branch information...
commit 34af061bf64e0801024bb1a31c67f827fe42f4e3 2 parents 3939f4a + 754f40b
@tsidel tsidel authored
View
3  Makefile
@@ -15,6 +15,9 @@ crank: clean
clean:
rm -fr $(BUILD)
+test:
+ prove t/html.t
+
# This is only useful for Andy
rsync:
rsync -azu -e ssh --delete --verbose \
View
17 t/html.t
@@ -0,0 +1,17 @@
+#!/usr/bin/perl -w
+
+use warnings;
+use strict;
+
+use Test::More;
+use Test::HTML::Lint;
+use File::Slurp;
+
+my @files = glob( 'build/*.html' );
+plan( tests => scalar @files );
+
+for my $filename ( @files ) {
+ my $text = read_file( $filename );
+
+ html_ok( $text, $filename );
+}
View
2  tt/feedback.tt
@@ -1,5 +1,5 @@
<hr />
-<div name="feedback_form" id="feedback_form">
+<div id="feedback_form">
<h3>We want your feedback</h3>
<p>
If we can improve perl101.org in any way, please let us know with this form.
View
11 tt/footer.tt
@@ -0,0 +1,11 @@
+<div id="footer">
+</div>
+<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-631706-2");
+ pageTracker._trackPageview();
+} catch(err) {}</script>
View
7 tt/page.ttml
@@ -90,12 +90,7 @@
</div><!-- End content -->
</div><!-- End main content wrapper -->
</div><!-- End container -->
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
- </script>
- <script type="text/javascript">
- _uacct = "UA-631706-2";
- urchinTracker();
- </script>
+ [% PROCESS footer.tt %]
</body>
</html>
[%# vi: ft=tt2html
Please sign in to comment.
Something went wrong with that request. Please try again.