mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-28 19:17:40 +00:00
* Article This is a simple "article" application with ReST support. Instances could be marked as "main" and a templatetag retrieve them. * Blog Django blog application, needs a better integration yet. * Download Little application to manage "download" links * Link Little application to manage links (like those displayed on top and in the footer) --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%403
20 lines
480 B
HTML
20 lines
480 B
HTML
{% extends "base_home.html" %}
|
|
|
|
{% block content %}
|
|
{% block main-content %}
|
|
{% load markup %}
|
|
{% load article_tags %}
|
|
|
|
{% load_main_articles "2" as "articles" %}
|
|
{% if not articles %}
|
|
{% load_last_articles "2" as "articles" %}
|
|
{% endif %}
|
|
|
|
{% for article in articles %}
|
|
<h2>{{ article.title }}</h2>
|
|
|
|
{{ article.text|restructuredtext }}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
{% endblock %}
|