Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.

Commit 5e7f87a

Browse files
committed
Update post.html
1 parent 4736707 commit 5e7f87a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-1.1/blog/templates/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22
{% block title %}{{ object.title }} - {{ block.super }}{% endblock %}
3-
{% block meta-content %}{{ object.body|safe|truncatewords:"20" }}{% endblock %}
3+
{% block meta-content %}{{ object.body|safe|striptags|truncatewords:"20" }}{% endblock %}
44
{% block meta-author %}{{ object.author }}{% endblock %}
55
{% block meta-keywords %}{{ object.keywords }}{% endblock %}
66
{% block og_type %}article{% endblock %}

0 commit comments

Comments
 (0)