Skip to content

Commit

Permalink
Merge pull request getpelican#151 from palmstrom/fix-title
Browse files Browse the repository at this point in the history
removed tags from title attribute value
  • Loading branch information
justinmayer committed Jan 9, 2014
2 parents 6552e3b + 2983cd8 commit 6b057e4
Show file tree
Hide file tree
Showing 21 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions Just-Read/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ <h3>More posts</h3>
<ol class="archive">
{% endif %}
{% elif loop.index < 7 %}
<li class="clearfix"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}"><time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time> {{ article.title }}</a></li>
<li class="clearfix"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags}}"><time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time> {{ article.title }}</a></li>
{% endif %}
{% endfor %}
</ol>

<p>More posts in the <a href="{{ SITEURL }}/archives.html">archive</a>.</p>
</div>
</div>
{% endblock content %}
{% endblock content %}
2 changes: 1 addition & 1 deletion bootlex/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2>{{ article.title }}</h2>
{% endif %}
</div>
<div class="span1 offset3">
<a class="btn btn-small" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">Mehr</a>
<a class="btn btn-small" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags}}">Mehr</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion bootstrap2/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<h1>
<a href="{{ pagename }}"
rel="bookmark"
title="Permalink to {{ article.title }}">
title="Permalink to {{ article.title|striptags }}">
{{ article.title}}
</a>
{% include 'twitter.html' %}
Expand Down
2 changes: 1 addition & 1 deletion dev-random/templates/archives.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2>{{ article.date.strftime('%B %Y') }}</h2>
<li>
<a rel="bookmark"
href="{{ SITEURL }}/{{ article.url }}"
title="Lien permanent vers «{{ article.title }}»">
title="Lien permanent vers «{{ article.title|striptags }}»">
{{ article.title }}
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion dev-random/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1>
<a rel="bookmark"
href="{{ SITEURL }}/{{ article.url }}"
title="Lien permanent vers «{{ article.title }}»">
title="Lien permanent vers «{{ article.title|striptags }}»">
{{ article.title }}
</a>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion dev-random/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 id="page-title">{% block index_title %}Tous les articles{% endblock index_ti
<h1>
<a rel="bookmark"
href="{{ SITEURL }}/{{ article.url }}"
title="Lien permanent vers «{{ article.title }}»">
title="Lien permanent vers «{{ article.title|striptags }}»">
{{ article.title }}
</a>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion dev-random2/templates/archives.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2>{{ article.date.strftime('%B %Y') }}</h2>
<li>
<a rel="bookmark"
href="{{ SITEURL }}/{{ article.url }}"
title="Lien permanent vers «{{ article.title }}»">
title="Lien permanent vers «{{ article.title|striptags }}»">
{{ article.title }}
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion dev-random2/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h1>
<a rel="bookmark"
href="{{ SITEURL }}/{{ article.url }}"
title="Lien permanent vers «{{ article.title }}»">
title="Lien permanent vers «{{ article.title|striptags }}»">
{{ article.title }}
</a>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion dev-random2/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 class="small-title">{% block index_title %}Tous les articles{% endblock inde
<h1>
<a rel="bookmark"
href="{{ SITEURL }}/{{ article.url }}"
title="Lien permanent vers «{{ article.title }}»">
title="Lien permanent vers «{{ article.title|striptags }}»">
{{ article.title }}
</a>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion lightweight/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% block content %}
<article class="post">
<h2 class="page_title"><a href="{{ article.url }}" rel="bookmark" title="{{SITENAME}} - {{ article.title }}">{{ article.title }}</a></h2>
<h2 class="page_title"><a href="{{ article.url }}" rel="bookmark" title="{{SITENAME}} - {{ article.title|striptags }}">{{ article.title }}</a></h2>

<section class="post_content">
{{ article.content }}
Expand Down
2 changes: 1 addition & 1 deletion mnmlist/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>All posts</h2>
{% endif %}
{# other items #}
{% else %}
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></li>
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></li>
{% endif %}
{% endfor %}
{% if loop.length > 1 %}
Expand Down
2 changes: 1 addition & 1 deletion nmnlist/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Tous les articles</h2>
{% endif %}
{# other items #}
{% else %}
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></li>
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></li>
{% endif %}
{% endfor %}
{% if loop.length > 1 %}
Expand Down
2 changes: 1 addition & 1 deletion notmyidea-cms-fr/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section id="content" class="body">
<article>
<header> <h1 class="entry-title"><a href="{{ article.url }}"
rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title
rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title
}}</a></h1> {% include 'twitter.html' %} </header>
<div class="entry-content">
<footer class="post-info">
Expand Down
2 changes: 1 addition & 1 deletion notmyidea-cms-fr/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1>Autres articles</h1>
{% else %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalien vers «{{ article.title}}»">{{ article.title }}</a></h1>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalien vers «{{ article.title|striptags }}»">{{ article.title }}</a></h1>
</header>

<div class="entry-content">
Expand Down
2 changes: 1 addition & 1 deletion notmyidea-cms/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section id="content" class="body">
<article>
<header> <h1 class="entry-title"><a href="{{ article.url }}"
rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title
rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title
}}</a></h1> {% include 'twitter.html' %} </header>
<div class="entry-content">
{% include 'article_infos.html' %}<!-- /.post-info -->
Expand Down
2 changes: 1 addition & 1 deletion notmyidea-cms/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Other articles</h1>
{% else %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></h1>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
</header>

<div class="entry-content">
Expand Down
2 changes: 1 addition & 1 deletion sneakyidea/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section id="content" class="body">
<article>
<header> <h1 class="entry-title"><a href="{{ article.url }}"
rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title
rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title
}}</a></h1> {% include 'twitter.html' %} {% include
'google_plusone.html' %} </header>
<div class="entry-content">
Expand Down
2 changes: 1 addition & 1 deletion sneakyidea/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>Other articles</h1>
{% else %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></h1>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
</header>

<div class="entry-content">
Expand Down
2 changes: 1 addition & 1 deletion subtle/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1>Other articles</h1>
{% endif %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></h1>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags}}">{{ article.title }}</a></h1>
</header>

<div class="entry-content">
Expand Down
2 changes: 1 addition & 1 deletion syte/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h3 class="date">{{article.locale_date}}</h3>
<article>
<hgroup>
<h2><a href="{{article.url}}" title="Permalink to {{article.title}}">{{article.title}}</a></h2>
<h2><a href="{{article.url}}" title="Permalink to {{article.title|striptags}}">{{article.title}}</a></h2>

</hgroup>
{{article.summary}}
Expand Down
2 changes: 1 addition & 1 deletion syte/templates/tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h3 class="date">{{article.locale_date}}</h3>
<article>
<hgroup>
<h2><a href="{{article.url}}" title="Permalink to {{article.title}}">{{article.title}}</a></h2>
<h2><a href="{{article.url}}" title="Permalink to {{article.title|striptags }}">{{article.title}}</a></h2>

</hgroup>
{{article.summary}}
Expand Down

0 comments on commit 6b057e4

Please sign in to comment.