]> khamidou — GitHub mirrors - debuggers.git/commitdiff
tons of changes
authorkarim hamidou <khamidou@gmail.com>
Wed, 30 Apr 2014 08:29:44 +0000 (10:29 +0200)
committerkarim hamidou <khamidou@gmail.com>
Wed, 30 Apr 2014 08:29:44 +0000 (10:29 +0200)
_config.yml
_layouts/default.html
_layouts/post.html
_posts/2014-04-27-welcome-to-jekyll.markdown [deleted file]
atom.xml [new file with mode: 0644]
css/main.css
images/brent.simmons.jpg [new file with mode: 0644]
index.html

index 9742483d16ef5687fa6feb03cb17eeca0adad019..8c7bdcf4ce4696c95c697440d24752e728b0e8c9 100644 (file)
@@ -1,3 +1,5 @@
 name: Debuggers
-markdown: redcarpet
+markdown: kramdown
+baseurl: http://debuggers.co
 pygments: true
+permalink: date
index 9c6ee5e0d4e4360822b8b073405c4efb669f2023..6ccc54cc77eb66bdc00e4eff0c757e013ea8bf6e 100644 (file)
@@ -28,6 +28,7 @@
                   <ul>
                       <li><a href="/home.html">Home</a></li>
                       <li><a href="/archives.html">Archives</a></li>
+                      <li><a href="/atom.xml">Atom</a> | <a href="http://twitter.com/debuggers.co">Twitter</a></li>
                   </ul>
                   <p>Edited by <a href="http://khamidou.com">Karim Hamidou</a>.</p>
               </div>
index e7c57921f55cb4cf2b38e416e43c6de849dd126b..fc6f39979fd768a4a6a0bb2527dfa33d7cbb1b00 100644 (file)
@@ -1,11 +1,15 @@
 ---
 layout: default
 ---
-<h1>{{ page.title }}</h1>
+<a href="{{page.url}}"><h1>{{ page.title }}</h1></a>
 
 <div class="post">
 <img src="{{ page.image }}"></img>
-<p class="meta">{{ page.date | date_to_string }}</p>
+<span class="meta">Posted: {{ page.date | date_to_string }}. 
+    Filed under: {% for cat in page.categories %}
+    <span class="cat">{{ cat }}</span>
+    {% endfor %}
+</span>
 
 {{ content }}
 
diff --git a/_posts/2014-04-27-welcome-to-jekyll.markdown b/_posts/2014-04-27-welcome-to-jekyll.markdown
deleted file mode 100644 (file)
index 9fe67d4..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
----
-layout: post
-title:  "Welcome to Jekyll!"
-date:   2014-04-27 11:08:23
-categories: jekyll update
----
-
-You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
-To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
-
-Jekyll also offers powerful support for code snippets:
-
-{% highlight ruby %}
-def print_hi(name)
-  puts "Hi, #{name}"
-end
-print_hi('Tom')
-#=> prints 'Hi, Tom' to STDOUT.
-{% endhighlight %}
-
-Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
-
-[jekyll-gh]: https://github.com/mojombo/jekyll
-[jekyll]:    http://jekyllrb.com
diff --git a/atom.xml b/atom.xml
new file mode 100644 (file)
index 0000000..5a174b4
--- /dev/null
+++ b/atom.xml
@@ -0,0 +1,32 @@
+---
+layout: nil
+---
+<?xml version="1.0"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ 
+  <title>Debuggers</title>
+  <link href="http://debuggers.co/"/>
+  <link type="application/atom+xml" rel="self" href="http://debuggers.co/atom.xml"/>
+  <updated>{{ site.time | date_to_xmlschema }}</updated>
+  <id>http://debuggers.co/</id>
+  <author>
+    <name>Karim Hamidou</name>
+    <email>contact@debuggers.co</email>
+  </author>
+
+  {% for post in site.posts %}
+  <entry>
+    <id>http://debuggers.co{{ post.id }}</id>
+    <link type="text/html" rel="alternate" href="http://debuggers.co{{ post.url }}"/>
+    <title>{{ post.title }}</title>
+    <published>{{ post.date | date_to_xmlschema }}</published>
+    <updated>{{ post.date | date_to_xmlschema }}</updated>
+    <author>
+      <name>Karim Hamidou</name>
+      <uri>http://debuggers.co/</uri>
+    </author>
+    <content type="html">{{ post.content | xml_escape }}</content>
+  </entry>
+  {% endfor %}
+ 
+</feed>
index 52d4c55387295f0d5975d01e992c31445ae55aac..fa25d620b24bbabe9d291a91085961de0aeb3dfc 100755 (executable)
@@ -14,7 +14,6 @@ html, body { min-height: 100%; }
 
 body {
   font-family: Helvetica, Arial, sans-serif;
-  background: #F4F3DD; /* Old browsers */
   color: #292929;
   /* IE9 SVG, needs conditional override of 'filter' to 'none' */
 }
@@ -43,15 +42,15 @@ a:visited { color: #707070; }
   line-height: 1.75em;
 }
 
-.posts span {
+.meta {
   color: #aaa;
-  font-family: Monaco, "Courier New", monospace;
   font-size: 80%;
 }
 
 .posts img, .post img {
   margin-left: 0px;
   border: 1px solid #292929;
+  margin-top: 10px;
   margin-bottom: 10px;
 }
 
@@ -96,10 +95,6 @@ a:visited { color: #707070; }
   color: #000;
 }
 
-.meta {
-  color: #aaa;
-}
-
 .footer {
   font-size: 80%;
   color: #666;
@@ -176,3 +171,10 @@ a:visited { color: #707070; }
 .leftCol ul {
     list-style-type: none;
 }
+
+span .cat {
+    border: 1px solid #ccc;
+    border-radius: 3px;
+    padding-left: 3px;
+    padding-right: 3px;
+}
diff --git a/images/brent.simmons.jpg b/images/brent.simmons.jpg
new file mode 100644 (file)
index 0000000..f1a78f5
Binary files /dev/null and b/images/brent.simmons.jpg differ
index 81783d1d7c2b13a47f49de3e9dff076fcbb497e1..58cd1d9f1746a665431796b65da48b91863c4f92 100644 (file)
@@ -7,14 +7,17 @@ title: Debuggers
   <ul class="posts">
     {% for post in site.posts %}
     <div class="post">
-        <a href="{{ post.url }}"><h1>{{ post.title}}</h1></a>
         <img src="{{ post.image }}"></img>
+        <a href="{{ post.url }}"><h1>{{ post.title}}</h1></a>
         {% if post.content contains '<!-- more -->' %}
             {{ post.content | split :'<!-- more -->' | first }}
         {% endif %}
-        <a href="{{ post.url }}">More...</a>
+        <span class="meta">Posted: {{ post.date | date_to_string }}. 
+            Filed under: {% for cat in post.categories %}
+            <span class="cat">{{ cat }}</span>
+            {% endfor %}
+        </span>
     </div>
-    <hr>
     {% endfor %}
   </ul>
 </div>