aboutsummaryrefslogtreecommitdiff
path: root/templates/blogindex.html
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2018-10-31 23:10:04 +0000
committerChristine Dodrill <me@christine.website>2018-10-31 23:10:04 +0000
commit24d63f4c9832538a8b4d119f54df2507ffe46578 (patch)
tree95975a665382f7ebe3d7666e5fd0292092dd966d /templates/blogindex.html
parentb7493881049aaa908de04837d004ec5cf2d91b90 (diff)
downloadxesite-i18n.tar.xz
xesite-i18n.zip
add translationsi18n
Diffstat (limited to 'templates/blogindex.html')
-rw-r--r--templates/blogindex.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/blogindex.html b/templates/blogindex.html
index 5527816..3768821 100644
--- a/templates/blogindex.html
+++ b/templates/blogindex.html
@@ -1,5 +1,5 @@
{{ define "title" }}
-<title>Blog - Christine Dodrill</title>
+<title>{{ trans "header" "blog" }} - {{ trans "header" "name" }}</title>
<style>
.blogpost-card {
@@ -9,14 +9,14 @@
{{ end }}
{{ define "content" }}
-<h1>Blogposts</h1>
+<h1>{{ trans "blog" "index_title" }}</h1>
<div class="grid">
{{ range . }}
<div class="card cell -4of12 blogpost-card">
<header class="card-header">{{ .Title }}</header>
<div class="card-content">
- <p>Posted on {{ .Date }} <br> <a href="{{ .Link }}">Read Post</a></p>
+ <p>{{ trans "blog" "posted_on" .Date }} <br> <a href="{{ .Link }}">{{ trans "blog" "read_this" }}</a></p>
</div>
</div>
{{ end }}
@@ -24,7 +24,7 @@
<br />
-<h2>Other Blogs I Find Interesting</h2>
+<h2>{{ trans "blog" "blogroll" }}</h2>
<ul>
<li><a href="https://write.as/excerpts/">Excerpts</a></li>