1234567891011121314151617181920212223 |
- {% extends "base.html" %}
- {% block content %}
- <style>
- .post-hidden { font-size: 70%; }
- .post-hidden a { color: gray; }
- .result {
- list-style: none;
- }
- .result .author { font-style: italic; font-size: 85%;}
- </style>
- <ul>
- {% for r in results %}
- <li class="result post-display--{{r.display}} {% if r.display == 'f' %}post-hidden{%endif%}"
- >
- <a href="{{url_for('news_by_nid', nid=r.nid)}}">{{r.nid}}</a>
- - <time>{{r.published_datetime.strftime('%d/%m/%Y')}}</time>
- - {{r.title}} by <span class="author">{{r.author}}</span>
- </li>
- {% endfor %}
- </ul>
- {{pagination.links}}
- {% endblock content %}
|