mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-13 09:57:30 -05:00
Support multilingual mode (experimental)
Please report any bugs!
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{{ partialCached "credit.html" . }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="{{ .Language.Lang }}">
|
||||
{{- partial "head.html" . -}}
|
||||
|
||||
<body>
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}
|
||||
<h1>
|
||||
{{ partialCached "icon.html" "filter" "filter" }}
|
||||
Filtering for "{{ .Title }}"
|
||||
{{ i18n "filtering_for" .Title }}
|
||||
{{ if eq .Kind "term" }}
|
||||
<span class="rss-link">
|
||||
{{ with .OutputFormats.Get "rss" }}
|
||||
@ -37,7 +37,7 @@
|
||||
{{ .Render "summary" }}
|
||||
{{ else }}
|
||||
<div>
|
||||
No posts here!
|
||||
{{ i18n "no_posts" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
{{ if .Params.Toc }}
|
||||
<div id="table-of-contents">
|
||||
<h2>Table of Contents</h2>
|
||||
<h2>{{ i18n "table_of_contents" }}</h2>
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -32,6 +32,6 @@
|
||||
</div>
|
||||
|
||||
<div class="readmore">
|
||||
<a href="{{ .Permalink }}">Read more →</a>
|
||||
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user