index.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <header class="page_header span12">
  11. <h1>{{ SITENAME }} <small>{{ SITESUBTITLE }}</small></h1>
  12. </header>
  13. <div class="row-fluid">
  14. <div class="span4">
  15. <header>
  16. <h1>About me</h1>
  17. </header>
  18. <p>My name is anothony queen</p>
  19. </div>
  20. {% if PROJECTS %}
  21. <div class="span4">
  22. <header>
  23. <h1>My Projects</h1>
  24. {% for project in PROJECTS %}
  25. <ul class="list-all-articles">
  26. <li>
  27. <a href="project.url">{{ project.name }}</a> <span class="proj_desc">{{ project.description }}</span>
  28. </li>
  29. </ul>
  30. {%endfor %}
  31. </div>
  32. {% endif %}
  33. </div>
  34. {% if articles %}
  35. <div class="row-fluid">
  36. <div class="span12">
  37. <header>
  38. <h1>Recent Posts <a id="allposts" href="{{ SITEURL }}/archives.html">all posts</a></h1>
  39. </header>
  40. {% for article in articles %}
  41. {% if loop.index0 < RECENT_ARTICLES_COUNT %}
  42. <ul class="list-all-articles">
  43. <li>
  44. <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
  45. <time pubdate="pubdate" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
  46. </li>
  47. </ul>
  48. {% endif %}
  49. {% endfor %}
  50. </div>
  51. </div>
  52. {% endif %}
  53. </div>
  54. {% endblock content %}