mirror of https://github.com/scrapy/scrapy.git
Override the correct block, some content from base template was being removed
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%4011
This commit is contained in:
parent
f91f073363
commit
6ced1f4eeb
|
|
@ -1,19 +1,17 @@
|
|||
{% extends "base_home.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% block main-content %}
|
||||
{% load markup %}
|
||||
{% load article_tags %}
|
||||
{% block main-content %}
|
||||
{% load markup %}
|
||||
{% load article_tags %}
|
||||
|
||||
{% load_main_articles "2" as "articles" %}
|
||||
{% if not articles %}
|
||||
{% load_last_articles "2" as "articles" %}
|
||||
{% endif %}
|
||||
{% load_main_articles "2" as "articles" %}
|
||||
{% if not articles %}
|
||||
{% load_last_articles "2" as "articles" %}
|
||||
{% endif %}
|
||||
|
||||
{% for article in articles %}
|
||||
<h2>{{ article.title }}</h2>
|
||||
{% for article in articles %}
|
||||
<h2>{{ article.title }}</h2>
|
||||
|
||||
{{ article.text|restructuredtext }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{{ article.text|restructuredtext }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue