diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 510c2e6..6e16765 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ <ul class="posts"> {{ range first 10 .Data.Pages }} <li itemscope itemtype="http://schema.org/BlogPosting"> - <a class="post-title" itemprop="url" href="{{ .RelPermalink }}"><span itemprop="name">{{ .Title }}</span></a> + <a class="post-title" itemprop="url" href="{{ .RelPermalink | replaceRE "/$" "" }}"><span itemprop="name">{{ .Title }}</span></a> <time class="post-date" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> </li> {{ end }} |