feat(404): update 404.html style

This commit is contained in:
Dillon
2020-02-02 18:18:06 +08:00
parent 517b734347
commit 17bbe91c6f
5 changed files with 10 additions and 13 deletions

View File

@@ -6,12 +6,8 @@
<div class="notfound">
<h1 class="error-emoji"></h1>
<p class="error-text">
{{- T "pageNotFoundText" -}}
</p>
<p class="error-link">
<a href="{{ .Site.BaseURL }}">
{{- T "backToHome" | printf "← %s" -}}
</a>
{{- T "pageNotFoundText" -}}&nbsp;
<a href="{{ .Site.BaseURL }}" title="{{ T "backToHome" }}">↩︎</a>
</p>
</div>
<script>

View File

@@ -8,7 +8,7 @@
{{- if $avatar -}}
<div class="home-avatar">
<a href="/posts">
<img src={{ $avatar | relURL }} alt="avatar">
<img src={{ $avatar | relURL }} alt="avatar" title="{{ T "home" }}">
</a>
</div>
{{- end -}}