|
Revision 32779, 0.6 kB
(checked in by everes, 4 years ago)
|
|
これでいいや
|
| Line | |
|---|
| 1 | {% extends 'blog/base.html' %} |
|---|
| 2 | |
|---|
| 3 | {% block 'gallery' %}{% endblock %} |
|---|
| 4 | |
|---|
| 5 | {% block 'content' %} |
|---|
| 6 | {% for entry in object_list %} |
|---|
| 7 | <div class="mpart"> |
|---|
| 8 | <h2><a href="{% url blog_detail username=entry.author.username,year=entry.pub_date.year,month=entry.pub_date.month,day=entry.pub_date.day,object_id=entry.id %}">{{ entry.title }}</a></h2> |
|---|
| 9 | <h3>{{ entry.pub_date|date:"y/m/d h:i:s" }} {% for tag in entry.tags_set.all %}{{ tag.name }} {% endfor %} by {{ entry.author.username }}</h3> |
|---|
| 10 | <p> |
|---|
| 11 | {{ entry.body|linebreaksbr }} |
|---|
| 12 | </p> |
|---|
| 13 | <div class="date"><a href="#" title="#"></a></div> |
|---|
| 14 | {% endfor %} |
|---|
| 15 | {% endblock %} |
|---|