Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fork me

  • Loading branch information...
commit 684ef3a1b6196b41e35b9ee622c0df7b4c86445f 1 parent e3e9ac8
@gaarf authored
Showing with 6 additions and 10 deletions.
  1. +1 −0  config.js
  2. +2 −2 package.json
  3. +3 −8 views/layout.ejs
View
1  config.js
@@ -5,6 +5,7 @@ module.exports.configure = function(app, express) {
{ title: pkg.name
, meta: { desc: pkg.description
, version: pkg.version
+ , github: pkg.repository.type=='git' && pkg.repository.url
, author: parsePerson(pkg.author)
}
, jquery: { version: '1.5.2' }
View
4 package.json
@@ -1,8 +1,8 @@
{
- "author": "AD (http://gaarf.info)",
+ "author": "gaarf (http://gaarf.info)",
"name": "socket-twitchat",
"description": "A nodejs experiment",
- "version": "0.7.9",
+ "version": "0.7.9.1",
"repository": {
"type": "git",
"url": "https://github.com/gaarf/socket-twitchat"
View
11 views/layout.ejs
@@ -21,7 +21,7 @@
<body>
<div id="container">
<header>
- <%= title %>
+ <%= title %> - <%= meta.desc %>
</header>
<noscript>JavaScript is required!</noscript>
<div id="main" role="main">
@@ -56,13 +56,8 @@
<script>DD_belatedPNG.fix("img, .png_bg");</script>
<![endif]-->
-<% if(status!=404) { %>
- <!-- <script>
- var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
- g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
- s.parentNode.insertBefore(g,s)}(document,"script"));
- </script> -->
+<% if(status!=404 && meta.github) { %>
+ <a href="<%= meta.github %>" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/30f550e0d38ceb6ef5b81500c64d970b7fb0f028/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67" alt="Fork me on GitHub"></a>
<% } %>
</body>

0 comments on commit 684ef3a

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