Strip tags from article title. Fixes #71.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ article.title }}{% endblock %}
|
||||
{% block content %}
|
||||
<section id="content" class="body">
|
||||
{% block title %}{{ article.title|striptags }}{% endblock %}
|
||||
{% block content %}
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href="{{ article.url }}"
|
||||
rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title
|
||||
@@ -16,7 +16,7 @@
|
||||
Par <a class="url fn" href="#">{{ article.author }}</a>
|
||||
</address>
|
||||
{% endif %}
|
||||
<p>Dans <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.
|
||||
<p>Dans <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.
|
||||
{% include 'taglist.html' %}
|
||||
</footer><!-- /.post-info -->
|
||||
{{ article.content }}
|
||||
|
||||
Reference in New Issue
Block a user