change name= to id= in <a> tags

This commit is contained in:
arcan1s
2014-08-25 21:31:50 +04:00
parent 494e9994c8
commit 9401cfc315
41 changed files with 296 additions and 296 deletions

View File

@ -37,7 +37,7 @@ hastr: true
{% endif %}
{% assign month = post.date | date: "%Y" %}
<i>{{ post.date | date_to_string }}</i> &raquo;
<a href="#{{ post.short }}" class="anchor" name="{{ post.short }}"><span class="octicon octicon-link"></span></a>
<a href="#{{ post.short }}" class="anchor" id="{{ post.short }}"><span class="octicon octicon-link"></span></a>
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> ({{ post.tags }})<br>
{% endfor %}
</blockquote>

View File

@ -11,7 +11,7 @@ hastr: true
<header>
<h1>{{ page.title }}</h1>
<h3>
<a href="#archive" class="anchor" name="archive"><span class="octicon octicon-link"></span></a>
<a href="#archive" class="anchor" id="archive"><span class="octicon octicon-link"></span></a>
<a href="/blog/archive" title="Archive">Archive</a>
</h3>
</header>
@ -19,7 +19,7 @@ hastr: true
{% for post in site.categories.en limit:10 %}
<h1>
<a href="#{{ post.short }}" class="anchor" name="{{ post.short }}"><span class="octicon octicon-link"></span></a>
<a href="#{{ post.short }}" class="anchor" id="{{ post.short }}"><span class="octicon octicon-link"></span></a>
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
</h1>
<p><i>{{ post.date | date_to_string }}</i></p>