Skip to content

Commit

Permalink
Pending changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anandology committed Dec 12, 2012
1 parent 2e36990 commit aa26674
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 28 deletions.
6 changes: 3 additions & 3 deletions _includes/src/templates/upcoming.html
Expand Up @@ -8,9 +8,9 @@ <h2 class="promo-title">Upcoming Public Trainings</h2>

<div>
{{ course['description'] }} [<a href="{{ course['url'] }}">read more ...</a>]
<br/>
<br/>
<a href="http://{{ course['doattend'] }}.doattend.com/"><img src='http://doattend.com/assets/btnw-reg-now.png'/></a>
<div style="text-align: center; padding: 10px;">
<a href="http://{{ course['doattend'] }}.doattend.com/"><img src='http://doattend.com/assets/btnw-reg-now.png'/></a>
</div>
</div>
</div>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/src/upcoming.py
Expand Up @@ -12,7 +12,7 @@

def parse_upcoming():
d = yaml.load(open(SOURCE).read())
upcoming = d.pop('upcoming')
upcoming = d.pop('upcoming') or {}

for key in d:
course = d[key]
Expand Down
15 changes: 0 additions & 15 deletions _includes/upcoming.html
@@ -1,15 +0,0 @@
<div class="promo">
<h2 class="promo-title">Upcoming Public Trainings</h2>

<div class="promo-item">
<a href="/trainings/python.html">Python Programming</a>
<p class="meta" style="color: #555;">August 4-5, 2012 &#8211; Bangalore</p>

<div>
Two day course on python programming language. [<a href="/trainings/python.html">read more ...</a>]
<br/>
<br/>
<a href='http://py.doattend.com'><img src='http://doattend.com/assets/btnw-reg-now.png'/></a>
</div>
</div>
</div>
7 changes: 4 additions & 3 deletions _includes/upcoming.yml
Expand Up @@ -2,8 +2,8 @@
python:
key: python
name: Python Programming
dates: Sometime in december?
doattend:
dates: November 17-18, 2012
doattend: pythontraining-nov2012
description:
Hands-on course on introduction to Python programming language.
long-description:
Expand Down Expand Up @@ -34,6 +34,7 @@ httpbottomup:
and building web applications in a bottom-up approach.

upcoming:
- advanced-python
#- advanced-python
#- python
#- httpbottomup

4 changes: 1 addition & 3 deletions _layouts/default.html
Expand Up @@ -5,9 +5,7 @@
<title>{{ page.title }}</title>
<meta name="author" content="Anand Chitipothu" />

<!--
<link href="http://feeds.feedburner.com/anandology" rel="alternate" title="Anand Chitipothu" type="application/atom+xml" />
-->
<link href="/atom.xml" rel="alternate" title="Atom Feed" type="application/atom+xml" />

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/css/syntax.css" type="text/css" />
Expand Down
30 changes: 30 additions & 0 deletions atom.xml
@@ -0,0 +1,30 @@
---
layout: nil
---
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>Anand Chitipothu</title>
<link href="http://anandology.com/"/>
<link type="application/atom+xml" rel="self" href="http://anandology.com/atom.xml"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://anandology.com/</id>
<author>
<name>Anand Chitipothu</name>
</author>

{% for post in site.posts %}
<entry>
<id>http://anandology.com{{ post.id }}</id>
<link type="text/html" rel="alternate" href="http://anandology.com{{ post.url }}"/>
<title>{{ post.title }}</title>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<author>
<name>Anand Chitipothu</name>
</author>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>
6 changes: 3 additions & 3 deletions css/style.css
Expand Up @@ -158,8 +158,8 @@ pre {
.promo {
float: right;
width: 300px;
background: #eee;
border: 1px solid #ddd;
background: #ffe;
border: 1px solid #ddb;
border-radius: 10px;
padding: 10px;
text-align: left;
Expand All @@ -184,4 +184,4 @@ a.anchor {

#page h3 {
font-size: 1.1em;
}
}
5 changes: 5 additions & 0 deletions index.html
Expand Up @@ -16,6 +16,11 @@ <h1>Blog Posts</h1>

<h1>Presentations</h1>
<ul class="posts">
<li>
<span>29 Sept 2012</span> &raquo;
<a href="/presentations/solving-puzzles-with-python/">Solving Puzzles with Python</a>
at <a href="http://in.pycon.org/2012/">PyCon India 2012, Bangalore</a>
</li>
<li>
<span>01 Oct 2011</span> &raquo;
<a href="/presentations/jsfoo-bangalore/inside-javascript-objects/">Inside Javascript Objects</a>
Expand Down

0 comments on commit aa26674

Please sign in to comment.