Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 3 commits
  • 4 files changed
  • 0 comments
  • 1 contributor
Feb 03, 2012
make the github projects static 7542c19
get a footer 028da16
S E O motherfuckers 856bca3
26  _layouts/base.html
@@ -2,20 +2,28 @@
2 2
 <html lang="en">
3 3
   <head>
4 4
     <meta charset="utf-8">
5  
-    <title>{{ page.title }}</title>
6  
-    <link rel="stylesheet" href="/media/style.css">
  5
+    {% if page.title %}
  6
+      <title>{{ page.title }} &#8226; Jeff Balogh &#8226; jbalogh</title>
  7
+    {% else %}
  8
+      <title>Jeff Balogh &#8226; jbalogh</title>
  9
+    {% endif %}
  10
+    <link rel="stylesheet" href="/media/style.css?z">
7 11
     <link rel="alternate" type="application/atom+xml"
8 12
           href="http://feeds.feedburner.com/jbalogh"
9 13
           title="Feed of latest posts">
10 14
   </head>
11 15
   <body>
12 16
     {{ content }}
13  
-    <!--
14  
-    <a href="#" style="position: absolute; top: 0; right: 0" onclick="toggle()">toggle</a>
15  
-    <script>
16  
-      toggle = function(){ document.body.classList.toggle('grid'); return false; }
17  
-    </script>
18  
-    -->
19  
-    <script defer src="/media/script.js?y"></script>
  17
+    <footer>
  18
+      <ul>
  19
+        <li><a class="secret" href="http://jbalogh.me">Jeff Balogh</a></li>
  20
+        <li>jeff@jbalogh.me</li>
  21
+      </ul>
  22
+      <ul>
  23
+        <li><a href="https://github.com/jbalogh">github.com/jbalogh</a></li>
  24
+        <li><a href="https://twitter.com/jeffbalogh">@jeffbalogh</a></li>
  25
+      </ul>
  26
+    </footer>
  27
+    <script defer src="/media/script.js?z"></script>
20 28
   </body>
21 29
 </html>
23  index.html
... ...
@@ -1,6 +1,5 @@
1 1
 ---
2 2
 layout: base
3  
-title: Jeff Balogh
4 3
 ---
5 4
 
6 5
 <section id="about">
@@ -27,4 +26,26 @@
27 26
 </section>
28 27
 <section id="projects">
29 28
   <h1>Projects</h1>
  29
+  <dl>
  30
+    <dt><a href="https://github.com/jbalogh/push">push</a></dt>
  31
+    <dd>Push notifications for the web</dd>
  32
+
  33
+    <dt><a href="https://github.com/jbalogh/zamboni">zamboni</a></dt>
  34
+    <dd>A clandestine operation to make AMO happy</dd>
  35
+
  36
+    <dt><a href="https://github.com/jbalogh/django-nose">django-nose</a></dt>
  37
+    <dd>Django test runner using nose</dd>
  38
+
  39
+    <dt><a href="https://github.com/jbalogh/django-cache-machine">django-cache-machine</a></dt>
  40
+    <dd>Automatic caching and invalidation for Django models through the ORM.</dd>
  41
+
  42
+    <dt><a href="https://github.com/jbalogh/jingo">jingo</a></dt>
  43
+    <dd>An adapter for using Jinja2 templates with Django.</dd>
  44
+
  45
+    <dt><a href="https://github.com/jbalogh/schematic">schematic</a></dt>
  46
+    <dd>The worst schema versioning system, ever?</dd>
  47
+
  48
+    <dt><a href="https://github.com/jbalogh/check">check</a></dt>
  49
+    <dd>Simple script to run pep8.py and pyflakes on a git/svn repo.</dd>
  50
+  </dl>
30 51
 </section>
27  media/script.js
@@ -25,30 +25,3 @@ var _gauges = _gauges || [];
25 25
     var s = document.getElementsByTagName('script')[0];
26 26
     s.parentNode.insertBefore(t, s);
27 27
 })();
28  
-
29  
-
30  
-/** Github projects **/
31  
-var names = ['zamboni', 'django-nose', 'django-cache-machine',
32  
-             'jingo', 'schematic', 'check', 'push'];
33  
-var project_el = document.querySelector('#projects');
34  
-if (project_el) {
35  
-    var github = 'http://github.com/api/v1/json/jbalogh/';
36  
-    var projects = {};
37  
-
38  
-    var loadProjects = function(json) {
39  
-        var repos = json.user.repositories;
40  
-        for (var i in repos) {
41  
-            repo = repos[i];
42  
-            projects[repo.name] = repo;
43  
-        }
44  
-        dts = [];
45  
-        for (var i in names) {
46  
-            var name = names[i],
47  
-                p = projects[name],
48  
-                dt = '<dt><a href="' + p.url + '">' + name + '</a></dt>';
49  
-            dts.push(dt + '<dd>' + p.description + '</dd>');
50  
-        }
51  
-        project_el.innerHTML += '<dl>' + dts.join('') + '</dl>';
52  
-    };
53  
-    makeScript(github + '?callback=loadProjects');
54  
-}
30  media/style.css
@@ -122,7 +122,6 @@ table {
122 122
 
123 123
 body {
124 124
     font-weight: normal;
125  
-    color: #727373;
126 125
     color: #483318;
127 126
     width: 40em;
128 127
     margin: 20px auto 0;
@@ -257,3 +256,32 @@ pre {
257 256
 #projects dd {
258 257
     float: left;
259 258
 }
  259
+
  260
+#projects:after {
  261
+    content: ".";
  262
+    display: block;
  263
+    height: 0;
  264
+    clear: both;
  265
+    visibility: hidden;
  266
+}
  267
+
  268
+footer {
  269
+    font-size: 14px;
  270
+    border-top: 2px solid #e3e3e3;
  271
+    margin-top: 2em;
  272
+}
  273
+
  274
+footer ul {
  275
+    list-style-type: none;
  276
+    width: 40%;
  277
+    float: left;
  278
+}
  279
+
  280
+footer ul:last-child {
  281
+    float: right;
  282
+    text-align: right;
  283
+}
  284
+
  285
+a.secret {
  286
+    color: #483318;
  287
+}

No commit comments for this range

Something went wrong with that request. Please try again.