index.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {% extends "base.html" %}
  2. {% block title %}
  3. {{ super() }}
  4. {% endblock title %}
  5. {% block head_description %}
  6. Home page of the {{ SITENAME|striptags }} blog.
  7. {% endblock head_description %}
  8. {% block content %}
  9. <div class="row-fluid">
  10. <div class="row-fluid">
  11. <div class="span4">
  12. <header>
  13. <h1>About me</h1>
  14. </header>
  15. <p>My name is anothony queen</p>
  16. </div>
  17. {% if PROJECTS %}
  18. <div class="span4">
  19. <header>
  20. <h1>My Projects</h1>
  21. {% for project in PROJECTS %}
  22. <ul class="list-all-articles">
  23. <li>
  24. <a href="project.url">{{ project.name }}</a> <span class="proj_desc">{{ project.description }}</span>
  25. </li>
  26. </ul>
  27. {%endfor %}
  28. </div>
  29. {% endif %}
  30. </div>
  31. {% if articles %}
  32. <div class="row-fluid">
  33. <div class="span12">
  34. <header>
  35. <h1>Recent Posts <a id="allposts" href="{{ SITEURL }}/archives.html">all posts</a></h1>
  36. </header>
  37. {% for article in articles %}
  38. {% if loop.index0 < RECENT_ARTICLES_COUNT %}
  39. <ul class="list-all-articles">
  40. <li>
  41. <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
  42. <time pubdate="pubdate" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
  43. </li>
  44. </ul>
  45. {% endif %}
  46. {% endfor %}
  47. </div>
  48. </div>
  49. {% endif %}
  50. </div>
  51. {% endblock content %}