Permalink
Browse files

new layouts: "page" and "section". convert feeds page and move projects

  • Loading branch information...
0 parents commit 7830e423f8829ebb54deef3a5da7a57bdabc6083 @mislav committed Jul 18, 2009
Showing with 7,909 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 CNAME
  3. +6 −0 _config.yml
  4. +27 −0 _layouts/default.html
  5. +9 −0 _layouts/page.html
  6. +30 −0 _layouts/post.html
  7. +18 −0 _layouts/section.html
  8. +109 −0 about/index.html
  9. BIN favicon.ico
  10. +388 −0 feeds/dev.xml
  11. +19 −0 feeds/index.markdown
  12. +352 −0 feeds/js.xml
  13. +376 −0 feeds/rails.xml
  14. BIN images/feed-icon-small.png
  15. +18 −0 index.html
  16. +4,515 −0 javascripts/all.js
  17. +80 −0 js/_posts/2007-10-18-hack-your-hashes-in-prototype-1-6.markdown
  18. +250 −0 js/_posts/2007-10-20-upgrading-to-prototype-1-6-real-world-examples.markdown
  19. +80 −0 js/_posts/2007-10-24-when-available-in-prototype.markdown
  20. +18 −0 js/_posts/2007-11-08-prototype-1-6-community-resources.markdown
  21. +97 −0 js/_posts/2007-11-28-text-resize-detection.markdown
  22. +16 −0 js/_posts/2008-01-28-prototype-cheatsheet.markdown
  23. +137 −0 js/_posts/2008-02-09-handling-events-on-elements.markdown
  24. +70 −0 js/_posts/2008-05-13-the-vanishing-design.markdown
  25. +61 −0 js/_posts/2008-10-16-c-is-for-cookie.markdown
  26. +12 −0 js/index.markdown
  27. +67 −0 js/text-resize-detection/textresizedetector.js
  28. +37 −0 js/the-vanishing-design/decompose.js
  29. BIN page_attachments/0000/0001/will_paginate-output.png
  30. BIN page_attachments/0000/0003/scripteka.png
  31. BIN page_attachments/0000/0005/prototype-cheatsheet.gif
  32. BIN page_attachments/0000/0007/outgoing.png
  33. BIN page_attachments/0000/0017/qri-compact.png
  34. BIN page_attachments/0000/0019/500-fix-it.jpg
  35. BIN page_attachments/0000/0023/cwsaylor.gif
  36. BIN page_attachments/0000/0025/hasmanyjosh.gif
  37. BIN page_attachments/0000/0029/kneath.gif
  38. BIN page_attachments/0000/0031/sandrot.gif
  39. BIN page_attachments/0000/0033/technoweenie.gif
  40. BIN page_attachments/0000/0035/topfunky.gif
  41. BIN page_attachments/0000/0037/javan-crop.gif
  42. BIN page_attachments/0000/0039/bbenzinger.gif
  43. BIN page_attachments/0000/0043/mislav-popularity.jpg
  44. BIN page_attachments/0000/0045/will_paginate-digg-style.png
  45. BIN page_attachments/0000/0047/prototype.png
  46. +63 −0 projects.markdown
  47. +106 −0 rails/_posts/2007-10-07-rails-2-0-taking-the-plunge.markdown
  48. +55 −0 rails/_posts/2007-10-16-specify-your-dependencies-with-capistrano.markdown
  49. +171 −0 rails/_posts/2007-11-08-will_paginate-view-testing.markdown
  50. +29 −0 rails/_posts/2007-12-22-install-sqlite3.markdown
  51. +65 −0 rails/_posts/2008-03-11-faster-ri-documentation.markdown
  52. +33 −0 rails/_posts/2008-03-11-github-is-amazing.markdown
  53. +132 −0 rails/_posts/2008-04-07-will_paginate-love.markdown
  54. +56 −0 rails/_posts/2008-05-24-cargo-culting-xhtml-considered-harmful.markdown
  55. +56 −0 rails/_posts/2008-06-05-excercise-in-csrf.markdown
  56. +76 −0 rails/_posts/2008-08-31-validations-in-any-class.markdown
  57. +83 −0 rails/_posts/2008-09-17-branching-the-database-along-with-your-code.markdown
  58. +29 −0 rails/_posts/2008-10-16-haxor-backdoor-in-development.markdown
  59. +30 −0 rails/_posts/2009-02-12-the-power-of-naming-conventions.markdown
  60. +23 −0 rails/index.markdown
  61. +1 −0 robots.txt
  62. +107 −0 stylesheets/style.css
@@ -0,0 +1 @@
+_site
1 CNAME
@@ -0,0 +1 @@
+mislav.uniqpath.com
@@ -0,0 +1,6 @@
+auto: false
+lsi: false
+server_port: 4000
+pygments: false
+markdown: rdiscount
+permalink: /:categories/:title/
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head profile="http://gmpg.org/xfn/11">
+ <link href="http://feeds.feedburner.com/mislav/dev" rel="alternate" title="Webdev (all)" type="application/atom+xml">
+ <link href="http://feeds.feedburner.com/mislav/js" rel="alternate" title="JavaScript" type="application/atom+xml">
+ <link href="http://feeds.feedburner.com/mislav/rails" rel="alternate" title="Rails" type="application/atom+xml">
+
+ <link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
+ <!--<script src="/javascripts/all.js" type="text/javascript"></script>-->
+
+ <title>{{ page.title }}</title>
+ <meta name="description" content="A personal website of Mislav Marohnić" />
+ <meta name="author" content="Mislav Marohnić &lt;mislav.marohnic@gmail.com&gt;">
+ <meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
+ <link rel="icon" href="/favicon.ico">
+
+ <link rel="openid.server" href="http://www.myopenid.com/server">
+ <link rel="openid.delegate" href="http://mislav.myopenid.com/">
+ <link rel="openid2.local_id" href="http://mislav.myopenid.com">
+ <link rel="openid2.provider" href="http://www.myopenid.com/server">
+ <meta http-equiv="X-XRDS-Location" content="http://www.myopenid.com/xrds?username=mislav.myopenid.com">
+ </head>
+
+ <body>
+ {{ content }}
+ </body>
+</html>
@@ -0,0 +1,9 @@
+---
+layout: default
+---
+
+<a class="home" href="/">⇧ home</a>
+
+<h1>{{ page.title }}</h1>
+
+{{ content }}
@@ -0,0 +1,30 @@
+---
+layout: page
+---
+
+<p class="subtext">
+ By <a href="/about/">Mislav</a>
+ on <b>{{ page.date | date_to_string }}</b>
+ in <a href="/{{ page.category }}/">{{ page.category }}</a>
+</p>
+
+<div id="post">
+ {{ content }}
+</div>
+
+<div id="related">
+ <h2>Also on this site</h2>
+
+ <ol class="posts">
+ {% for post in site.related_posts limit:3 %}
+ <li>
+ <span class="date">{{ post.date | date_to_string }}</span>
+ ▸ <a href="{{ post.url }}">{{ post.title }}</a>
+ <span class="categories">{{ post.categories | array_to_sentence_string }}</span>
+ </li>
+ {% endfor %}
+ </ol>
+
+ <a class="home" href="/">← home</a>
+</div>
+
@@ -0,0 +1,18 @@
+---
+layout: page
+---
+
+<div id="category_description">
+ {{ content }}
+</div>
+
+<h2>Posts in this category:</h2>
+
+<ol class="posts">
+ {% for post in site.categories[page.category] %}
+ <li>
+ <span class="date">{{ post.date | date_to_string }}</span>
+ ▸ <a href="{{ post.url }}">{{ post.title }}</a>
+ </li>
+ {% endfor %}
+</ol>
@@ -0,0 +1,109 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head profile="http://gmpg.org/xfn/11">
+
+ <link href="http://feeds.feedburner.com/mislav/dev" rel="alternate" title="Webdev (all)" type="application/atom+xml">
+ <link href="http://feeds.feedburner.com/mislav/js" rel="alternate" title="JavaScript" type="application/atom+xml">
+ <link href="http://feeds.feedburner.com/mislav/rails" rel="alternate" title="Rails" type="application/atom+xml">
+
+
+
+ <link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
+ <script src="/javascripts/all.js" type="text/javascript"></script>
+
+ <title>About me | No strings attached</title>
+<meta name="description" content="My name is Mislav Marohnić, and this is as a brief introduction to who I am and what I do.">
+<meta name="author" content="Mislav Marohnić &lt;mislav.marohnic@gmail.com&gt;">
+<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
+<link rel="icon" href="/favicon.ico">
+
+
+ <style type="text/css">#delicious-badge .delicious-network-fans a {
+ font-weight: normal;
+ color: gray;
+}
+ </style>
+
+
+ <script type="text/javascript">function displayFans(fans) {
+ $$('#delicious-badge .delicious-network-fans a').first().update('I have ' + fans.length + ' fans')
+}
+ </script>
+
+ </head>
+ <body>
+ <h1>About me</h1>
+ <div class="breadcrumbs"><a href="/">Home</a> &gt; About me</div>
+
+ <div class="section-box vcard">
+ <p>My name is <em class="fn">Mislav Marohnić</em> and I live in <a class="adr" href="http://maps.google.com/maps?q=Ljubljana,Slovenia">Ljubljana, <span class="country-name">Slovenia</span></a>, where I do Web development and design, and use my time off to participate in <a href="/projects/">open-source projects</a> and write about <a href="/rails/">Ruby</a>, <a href="/js/">JavaScript</a> and other things on <a rel="me" class="url" href="http://mislav.uniqpath.com/">my blog&mdash;<em>No Strings Attached</em></a>. You can write to me at <a class="email" href="mailto:mislav.marohnic@gmail.com">mislav.marohnic@gmail.com</a>.</p>
+</div>
+
+<div class="columns">
+ <div class="main">
+ <h2>The site</h2>
+
+<p>I&#8217;m mostly writing about programming for the web. <a href="/feeds/">Grab some feeds</a> and stay tuned.</p>
+
+<p>Server graciously made available by <a href="http://www.neusis.com/">Neusis</a>, while <a href="http://twitter.com/court3nay">Court3nay</a> of <a href="http://blog.caboo.se">Caboose fame</a> set me up with this subdomain. <a href="http://foamee.com/beers/view/416374312">Thanks, man</a>.</p>
+ <div id="twitter_div">
+ <h2 class="twitter-title"><a href="http://twitter.com/mislav/" rel="me">What I'm doing right now</a>
+ <a href="http://twitter.com/statuses/user_timeline/7516242.rss">
+ <img width="14" height="14" src="/images/feed-icon-small.png" title="subscribe" alt="site feed"></a>
+ </h2>
+ <p>My <a href="http://twitter.com/">Twitter</a>-powered updates &ndash; perfect for stalking.</p>
+</div>
+<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/mislav.json?callback=twitterCallback3&amp;count=8"></script>
+ </div>
+
+ <div class="sidebar">
+ <div id="delicious-badge" class="delicious-network-badge">
+ <div class="delicious-network-username"><a href="http://del.icio.us/mislav"><img alt="" src="http://del.icio.us/static/img/delicious.small.gif"></a> I am <a rel="me" href="http://del.icio.us/mislav">mislav</a> on <a href="http://del.icio.us">del.icio.us</a></div>
+ <div class="delicious-network-fans"><a href="http://del.icio.us/network/mislav">I have 42 fans</a></div>
+ <div class="delicious-network-add"><img alt="" src="http://del.icio.us/static/img/add.small.gif"> <a href="http://del.icio.us/network?add=mislav">Add me to your network</a></div>
+ </div>
+ <script type="text/javascript" src="http://del.icio.us/feeds/json/fans/mislav?callback=displayFans"></script>
+
+ <div id="dopplr-blog-badge"><script type="text/javascript" src="http://www.dopplr.com/blogbadge/script/3e450006e0f7947c0288a21e687c1085"></script></div>
+ </div>
+</div>
+
+
+
+
+
+ <div id="foo">
+ <a href="/">&laquo; Home</a>
+ | <a href="/feeds/">Subscribe to the content on this site</a>
+
+ </div>
+
+
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script type="text/javascript">
+ stealth = false
+ if (window.location.host == "mislav.uniqpath.com" && document.cookie.match(/__utmv=\d+\.mislav/)) {
+ document.write('<div>Stealth!<\/div>')
+ stealth = true
+ } else {
+ _uacct = "UA-87067-3"
+ if (window.location.search == "?ignoreme") __utmSetVar('mislav')
+ else urchinTracker()
+ }
+
+ var root = 'http://' + window.location.host + '/'
+ if (window.Prototype) document.observe('mouseup', function(e) {
+ if (!urchinTracker || stealth) return
+ var link = e.findElement('a[href]')
+ if (link) {
+ var url = null
+ if (!link.href.startsWith(root) && (e.isLeftClick() || e.isMiddleClick()))
+ url = '/outgoing/' + link.href.replace(/^http:\/\//, '')
+ else if (/\.(\w{2,5})$/.test(link.href) && RegExp.$1.toLowerCase() != 'html' && (e.isLeftClick() || e.isMiddleClick()))
+ url = '/' + link.href.replace(root, '')
+ if (url) urchinTracker(url)
+ }
+ })
+</script>
+ </body>
+</html>
Binary file not shown.
Oops, something went wrong.

0 comments on commit 7830e42

Please sign in to comment.