summaryrefslogtreecommitdiffstats
path: root/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html88
1 files changed, 88 insertions, 0 deletions
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..a34a0d8
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,88 @@
+{% extends "base.html" %}
+
+{% block content %}
+ This will, hopefully, eventually, become my website.
+ <strong>Rejoice!</strong>
+ <p>
+ Some places you can already find me:
+ <ul>
+ <li>
+ <a href="http://gitorious.org/~ryuslash">Gitorious</a>
+ - This is where I host most of my projects.
+ </li>
+ <li>
+ <a href="https://github.com/ryuslash">Github</a>
+ - Sometimes I host projects here as well, but I prefer
+ Gitorious.
+ </li>
+ <li>
+ <a href="http://stackoverflow.com/users/459915/slash">Stack Overflow</a>
+ - Don't really do much there, but I did just get my
+ first reputation points.
+ <br/>
+ <a href="http://stackoverflow.com/users/459915/slash">
+ <img src="http://stackoverflow.com/users/flair/459915.png?theme=dark"
+ width="208" height="58"
+ alt="profile for slash at Stack Overflow, Q&A
+ for professional and enthusiast
+ programmers"
+ title="profile for slash at Stack Overflow, Q&A
+ for professional and enthusiast programmers" />
+ </a>
+ </li>
+ </ul>
+ </p>
+
+ {% for activity in activitylist %}
+ <div class="activity_{% cycle 'even' 'uneven' %}
+ {% if forloop.last %}activity_last{% endif %}">
+ {{ activity.date|date:'d M H:i:' }}
+ {% if activity.actcategory == "blog" %}
+ {% if activity.acttype == "add" %}
+ I ranted about
+ {% endif %}
+ {% if activity.acttype == "edit" %}
+ I changed my opinion about
+ {% endif %}
+ {% if activity.acttype == "delete" %}
+ I lost my opinion about
+ {% endif %}
+ {% if activity.objpk %}
+ <a href="/blog/post/{{ activity.objpk }}/">
+ {% endif %}
+ {% endif %}
+ {% if activity.actcategory == "project" %}
+ {% if activity.acttype == "add" %}
+ I started a project named
+ {% endif %}
+ {% if activity.acttype == "edit" %}
+ I updated the info on project
+ {% endif %}
+ {% if activity.acttype == "delete" %}
+ I quit project
+ {% endif %}
+ {% if activity.objpk %}
+ <a href="/projects/{{ activity.objpk }}/">
+ {% endif %}
+ {% endif %}
+ {% if activity.actcategory == "link" %}
+ {% if activity.acttype == "add" %}
+ I found
+ {% endif %}
+ {% if activity.acttype == "edit" %}
+ I corrected
+ {% endif %}
+ {% if activity.acttype == "delete" %}
+ I unlinked
+ {% endif %}
+ {% if activity.objpk %}
+ <a href="/links/">
+ {% endif %}
+ {% endif %}
+ {{ activity.actdescription }}
+ {% if activity.objpk %}
+ </a>
+ {% endif %}
+ </div>
+ {% endfor %}
+{% endblock %}