Remove the "The" prefix from titles in the data attribute (#59)

This commit is contained in:
BynariStar 2017-10-25 01:52:06 +03:00 committed by Flame Sage
parent f403670f12
commit 60e1a513e1

View File

@ -63,7 +63,7 @@
<td class="col-md-1 icon">
<img src="/images/game/icons/{{ .File.BaseFileName }}.png" />
</td>
<td class="col-md-6 title" data-title="{{ .Params.title }}">
<td class="col-md-6 title" data-title="{{ strings.TrimPrefix "The " .Params.title }}">
<a href="{{ .Permalink }}">{{ .Params.title }}</a>
</td>
<td class="col-md-1 type" data-type="{{ $type.name }}">