aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/index.html b/index.html
index 076d216..088e6be 100644
--- a/index.html
+++ b/index.html
@@ -8,24 +8,24 @@
<body>
<h1>You are only as good as your last commit</h1>
- <p>An old <a href="http://twitter.com/sauy7">friend</a> once told me this, so here's mine.</p>
<span class="lastcommit-widget" data-user="victorhaggqvist"></span>
<p>And now you!</p>
- <pre>
+ <pre class="prettyprint">
&lt;span class=&quot;lastcommit-widget&quot; data-user=&quot;your github username&quot;&gt;&lt;/span&gt;
-&lt;script src=&quot;widget.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;lastcommit.min.js&quot;&gt;&lt;/script&gt;
</pre>
<p>The code above will, when included on a webpage show the last commit made by the provided user.</p>
<p>It's not smart enough to filter out commits by others in a repository on the users account.</p>
- <p>Oh...and it only works for GitHub accounts.</p>
- <p>Fork it on GitHub.</p>
+ <iframe src="http://ghbtns.com/github-btn.html?user=victorhaggqvist&amp;repo=lastcommit&amp;type=watch&amp;count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
<p>Thank you</p>
- <p><a href="http://twitter.com/johanni">Johan</a></p>
+ <p><a href="http://twitter.com/victorhggqvst">Victor</a></p>
- <script src="lastcommit.js"></script>
+ <script src="dist/lastcommit.min.js"></script>
+ <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
</body>
</html>