Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Y4er/hugo-theme-easybook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 7606dcd..cc19c44 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,7 @@
{{- define "content" -}}
<div class="home">
- <a class="rss-link" href="/sitemap.xml">SITEMAP</a>
+ <a class="rss-link" href="{{ "index.xml" | absURL }}">RSS</a>
+ <a class="rss-link" href="{{ "sitemap.xml" | absURL }}">SITEMAP</a>
<h1 class="page-heading">Articles</h1>
{{/* content */}}
<ul class="post-list">
@@ -9,7 +10,7 @@
{{ range $paginator.Pages }}
<li>
<h2><a href="{{ .Permalink }}">{{ title .Title | safeHTML }}</a></h2>
- <div class="post-meta">{{ .Date.Format "Jan 2, 2006" }}</div>
+ <div class="post-meta">{{ .Date.Format "Jan 02, 2006" }}</div>
<div class="post-excerpt">
{{ .Summary | safeHTML }}
</div>