legacy-dotfiles/templates/home.html
2011-10-17 02:29:21 +02:00

87 lines
2.7 KiB
HTML

{% 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="https://diasp.org/u/ryuslash">Diaspora*</a> - I'm here
all the time.
</li>
<li>
<a href="http://identi.ca/ryuslash">Identi.ca</a> - Don't post
much, but I'm usually there.
</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 %}