Skip to content

Commit

Permalink
Merge pull request #672 from cedricbonhomme/strip-html-tags-from-head…
Browse files Browse the repository at this point in the history
…-title

pelican-bootstrap3: Strip HTML tags from head title
  • Loading branch information
justinmayer authored Mar 16, 2020
2 parents 3408de0 + b255e74 commit dcfb5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican-bootstrap3/templates/page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %}
{% block title %}{{ page.title | striptags }} - {{ SITENAME }}{% endblock %}
{% block html_lang %}{{ page.lang }}{% endblock %}
{% block meta %}
{% if page.author %}
Expand Down

0 comments on commit dcfb5cd

Please sign in to comment.