Oz Nahum 12 rokov pred
rodič
commit
ecf2c1abe6

+ 52 - 0
templates/about.html

@@ -0,0 +1,52 @@
+<html>
+<head>
+  <meta name="google-site-verification" content="7kNes4_ZZZxK2SmNwu1AB1fFQtxf_ZyFxSJ_4su_LDU" />
+  <title> About &raquo; oz123.github.com</title>
+  <link rel="stylesheet" type="text/css" href="/media/css/pygments_style.css" media="screen" />
+  <link rel="stylesheet" type="text/css" href="/media/css/site.css" media="screen" />
+  
+  <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="oz123.github.com &raquo; Oz's Weblog" />
+</head>
+<body>
+<div id="page" class="loading">
+  <div id="header">
+  </div><!--/#header-->
+  <div id="content">
+    <div id="about_me">
+    <img id="me" class="me" src="/media/img/lustig.jpg" />
+
+    <p>This blog is maintained by <strong>Oz Nahum Tiram</strong>, a passionate <a href="http://www.python.org">Python</a> programmer, 
+    and <a href="http://en.wikipedia.org/wiki/Free_and_open_source_software">
+    <acronym title="Free and Open Source Software">FOSS</acronym></a> evangelist, who really likes <a href="http://www.debian.org">Debian</a>. 
+    </p>
+    <p>Currently he works for <a href="http://www.science+computing">Science+Computing AG</a> where he supports Linux users designing German Autos 
+    and doing CFD using HPC clusters. Besides installing and configuring Linux workstations and clusters he writes scripts, provides 2nd level support and 
+    all kind of other things like staring at the blinking lights in the server room. 
+    </p>
+
+
+    <h3>Colophon</h3>
+    <p>A <a href="http://github.com/mnazim/mnazim.github.com/blob/master/make.py">sloppy python script</a> generates the static html from a bunch of Markdown formated files; Hosted on <a href="https://github.com/mnazim/mnazim.github.com">GitHub</a>.</p>
+    <p><em>Internet Explorer is for neanderthals, please get a <a href="http://getamodernbrowser.com">modern browser</a></em>.</p>
+    </small>
+    </div><!--/#about_me-->
+  </div><!--/#content-->
+  <div id="footer">
+    <p>&copy; Oz Nahum Tiram 2012. Some Rights Reserved</p>
+  </div>
+</div><!--/#page-->
+
+<div id="nav">
+  <div><img src="/media/img/me.png"></div>
+  <a title="Home" href="/">home</a>
+  <a title="About" class="about" href="about.html">about</a>
+  <a title="Archive" class="about" href="archive/">archive</a>
+  <a title="Atom feeds" href="atom.xml">atom</a>
+  <a title="Twitter" href="https://twitter.com/#!/OzNTiram">twitter</a>
+  <a title="Stackoverflow" href="http://stackoverflow.com/users/492620/oz123">stackoverflow</a>
+  <a title="Github" href="https://github.com/oz123">github</a>
+</div>
+
+
+</body>
+</html>

+ 34 - 0
templates/archive_index.html

@@ -0,0 +1,34 @@
+<html>
+<head>
+  <title> Archive &raquo; oz123.github.com</title>
+  <link rel="stylesheet" type="text/css" href="../media/css/pygments_style.css" media="screen" />
+  <link rel="stylesheet" type="text/css" href="../media/css/site.css" media="screen" />
+<style>
+body.loc
+{
+margin-top:50px;
+}
+p.margin
+{
+margin-left:150px;
+margin-top:-20px;
+}
+h2.loc
+{
+margin-left:150px; 
+margin-right:800px;  
+}
+</style>
+<body class=loc>
+<h2 class=loc> This is an archive of everything posted here ...</h2>
+{% block content %}
+  {% for entry in entries %}
+    <p class="margin">{{ entry.published_html }} <a title="{{ permalink }}" href="{{entry.permalink}}"> {{ entry.title }}</a> </p>
+  {% endfor %}
+{% endblock %}
+
+
+{{side_bar}}
+
+</body>
+</html>

+ 23 - 0
templates/atom.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+<title>Oz's Blog</title>
+<subtitle>Oz's weblog</subtitle>
+<link href="http://oz123.github.com/atom.xml" rel="self" />
+<link href="http://oz123.github.com/" />
+<id>http://oz123.github.com/atom.xml</id>
+<updated>{{ last_build }}</updated>
+<author>
+  <name>Oz Nahum Tiram</name>
+  <email>nahumoz@gmail.com</email>
+</author>
+{% for entry in entries %}
+<entry>
+  <title>{{ entry.title }}</title>
+  <link href="{{ entry.permalink }}" />
+  <id>{{ entry.destination }}</id>
+  <content type="xhtml">
+    <div xmlns="http://www.w3.org/1999/xhtml">{{ entry.summary_atom }}</div>
+  </content>
+  </entry>
+{% endfor %}
+</feed>

+ 27 - 0
templates/base.html

@@ -0,0 +1,27 @@
+<html>
+<head>
+  <meta name="google-site-verification" content="7kNes4_ZZZxK2SmNwu1AB1fFQtxf_ZyFxSJ_4su_LDU" />
+  <title>{% block page_title %} Home {% endblock %} &raquo; oz123.github.com</title>
+  <link rel="stylesheet" type="text/css" href="/media/css/pygments_style.css" media="screen" /> 
+  <link rel="stylesheet" type="text/css" href="/media/css/site.css" media="screen" /> 
+  {% block css %}{% endblock %}
+  <link href="{% block head_feed_link %}/atom.xml{% endblock %}" type="application/atom+xml" rel="alternate" title="{% block head_feed_title %}Oz's github &raquo; Oz's Weblog{% endblock %}" /> 
+<link rel="stylesheet" type="text/css" media="screen" href="http://www.devslide.com/public/labs/browser-detection/browser-detection.css" />
+</head>
+<body>
+<div id="page" class="loading">
+  <div id="header">
+    {% block header %}
+    {% endblock %}
+  </div>
+  <div id="content">
+    {% block content %}
+    {% endblock %}
+  </div>
+  <div id="footer">
+    <p>&copy; Oz Nahum Tiram 2012. Some Rights Reserved</p>
+  </div>
+</div>
+{{side_bar}}
+</body>
+</html>

+ 37 - 0
templates/entry.html

@@ -0,0 +1,37 @@
+{% extends "base.html" %}
+{% block page_title %} {{ entry.title }} {% endblock %}
+{% block header %}
+<div class="published"><a href="oz123.github.com">{{ entry.author }}</a> &ndash; {{ entry.published_html }}</div>
+<h1>{{ entry.title }}</h1>
+{% endblock %}
+{% block content %}
+<div class="body">
+  {{ entry.body_html }}
+</div>
+<div class="meta">
+  {% if entry.kind == 'link' %}
+  <div class="link-url"><a href="{{ entry.url }}">continue reading on {{ entry.domain_name }}</a></div>
+  {% endif %}
+</div>
+<div class="tags">
+  <p>This entry was tagged 
+  {% for tag in entry.tags %}
+  <a class="tag" href="oz123.github.com/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}
+  {% endfor %}
+</div>
+<div id="underpost">
+  <h3>Discussions/Feedback.</h3>
+  {% if entry.discussions_link %}
+    <p>If you wish to, you can discuss/mock/upvote/downvote at <a href="{{ entry.discussions_link }}">Hacker News</a>.</p>
+  {% endif %}
+  <p>I do not accept comments on this blog. Managing the spam is a headache and I am better off without it. 
+  However, I do welcome your feedback - good or bad via email at <code>nahum.oz@gmail.com</code>. 
+  Specifically, I would be grateful for your feedback on errors, omissions, broken links, etc. </p>
+
+  {% if entry.credits %}
+    <h3>Credits.</h3>
+    <p>{{ entry.credits_html }}</p>
+  {% endif %}
+</div>
+<!--creadet by entry.html-->
+{% endblock %}

+ 35 - 0
templates/entry_index.html

@@ -0,0 +1,35 @@
+{% extends "base.html" %}
+{% block header %}
+{% endblock %}
+{% block content %}
+<div id="index">
+  {% for entry in entries %}
+    <div class="clearfix entry kind-{{ entry.kind }}">
+      {% if entry.kind == 'link' %}
+        {% set permalink = entry.url %}
+      {% else %}
+        {% set permalink = entry.permalink %}
+      {% endif %}
+      <h2> <a title="Goes to &rarr; {{ permalink }}" href="{{ permalink }}"> {{ entry.title }}</a></h2>
+      <div class="clearfix">
+        <div class="published">{{ entry.published_html }} </div>
+        <div class="tags">
+          tagged:
+          {% for tag in entry.tags %}
+          <a class="tag" href="/tags/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}
+          {% endfor %}
+        </div>
+      </div>
+      <div class="clearfix summary">{{ entry.summary_html }}</div>
+      <div class="meta">
+        {% if entry.kind == 'link' %}
+        <div class="link-url"><a href="{{ permalink }}">continue reading on {{ entry.domain_name }}&hellip;</a></div>
+        {% else %}
+        <div class="link-url"><a href="{{ permalink }}"> continue reading&hellip;</a></div>
+        {% endif %}
+        <div class="permalink"><a title="Permalink to: {{ entry.title }}" href="{{ entry.permalink }}"><span>&para;</span></a></div>
+      </div>
+    </div><!--/.entry-->
+  {% endfor %}
+</div><!--/#listing-->
+{% endblock %}

+ 11 - 0
templates/tag_index.html

@@ -0,0 +1,11 @@
+{% extends "entry_index.html" %}
+{% block page_title %}tag: {{tag.name}} {% endblock %}
+{% block head_feed_link %}/tags/{{tag.slug}}/atom.xml{% endblock %}
+{% block head_feed_title %}tagged: {{tag.name}} &raquo; mirnazim.org {% endblock %}
+{% block header %}
+{% if tag.name %}
+<h1 class="tag_name"> 
+tag: {{ tag.name }}<sup>[<a class="tag_feed_icon" title="Atom feed for {{tag.name}} tag" href="/tags/{{ tag.slug }}/atom.xml">atom feeds</a>]</sup>
+</h1>
+{% endif %}
+{% endblock %}