mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 13:54:05 -06:00
* Extract all strings into data/locale.toml files. * Use data/config values from correct language file. * Fix wrong lang attribute in some html layouts. * Fix header direction in rtl. * Fix footer text align in rtl. Signed-off-by: yshalsager <ysh-alsager@hotmail.com>
31 lines
948 B
HTML
31 lines
948 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Lang }}">
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
{{partial "search.html" .}}
|
|
<div class="singlePage">
|
|
<!-- Begin actual content -->
|
|
{{partial "header.html" .}}
|
|
<article>
|
|
<h1>{{ i18n "all_posts" . }}</h1>
|
|
{{with .Params.description}}
|
|
<p>{{.}}</p>
|
|
{{end}}
|
|
<div class="tags">
|
|
{{ range .Site.Taxonomies.tags.ByCount }}
|
|
<div class="meta">
|
|
<h1><a href="{{ .Page.Permalink }}">{{ .Page.Title | humanize }}</a></h1>
|
|
<p><b>{{ .Count }}</b> {{ i18n "notes_count" }} {{if gt .Count 10}}({{ i18n "first_10"}}){{end}}</p>
|
|
</div>
|
|
{{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }}
|
|
{{partial "page-list.html" (first 10 .Pages.ByLastmod.Reverse)}}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</article>
|
|
{{partial "contact.html" .}}
|
|
</div>
|
|
</body>
|
|
</html>
|