diff --git a/assets/scss/partials/article.scss b/assets/scss/partials/article.scss index 2c3a7af..e2c05a4 100644 --- a/assets/scss/partials/article.scss +++ b/assets/scss/partials/article.scss @@ -54,6 +54,7 @@ } .article-title { + font-family: var(--article-font-family); font-weight: 600; margin: 0; color: var(--card-text-color-main); diff --git a/assets/scss/partials/highlight/common.scss b/assets/scss/partials/highlight/common.scss index c9b70bb..c680fa4 100644 --- a/assets/scss/partials/highlight/common.scss +++ b/assets/scss/partials/highlight/common.scss @@ -55,6 +55,7 @@ margin-right: 0.4em; padding: 0 0.4em 0 0.4em; color: #7f7f7f; + display: block; } /* LineNumbers */ diff --git a/assets/scss/partials/layout/article.scss b/assets/scss/partials/layout/article.scss index 73757e4..695d656 100644 --- a/assets/scss/partials/layout/article.scss +++ b/assets/scss/partials/layout/article.scss @@ -33,6 +33,10 @@ margin: var(--card-padding) 0; color: var(--card-text-color-main); + .footnotes { + font-family: var(--base-font-family); + } + img { max-width: 100%; height: auto; diff --git a/assets/scss/variables.scss b/assets/scss/variables.scss index 6709f0c..97810a1 100644 --- a/assets/scss/variables.scss +++ b/assets/scss/variables.scss @@ -44,7 +44,7 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff; --zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei"; --base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif; - --code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + --code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace; } /* diff --git a/i18n/cs.yaml b/i18n/cs.yaml new file mode 100644 index 0000000..7b9b519 --- /dev/null +++ b/i18n/cs.yaml @@ -0,0 +1,73 @@ +toggleMenu: + other: Skrýt menu + +darkMode: + other: Tmavý režim + +list: + page: + one: "{{ .Count }} stránka" + other: "{{ .Count }} stránek" + + section: + other: Kategorie + + subsection: + one: Podkategorie + other: Podkategorie + +article: + back: + other: Zpět + + tableOfContents: + other: Obsah + + relatedContent: + other: Související + + lastUpdatedOn: + other: Naposledy aktualizováno + + readingTime: + one: "{{ .Count }} minuta" + other: "{{ .Count }} minut" + +notFound: + title: + other: Nenalezeno + + subtitle: + other: Tato stránka neexistuje + +widget: + archives: + title: + other: Archivy + + more: + other: Více + + tagCloud: + title: + other: Štítky + categoriesCloud: + title: + other: Kategorie + +search: + title: + other: Hledat + + placeholder: + other: Zadejte něco... + + resultTitle: + other: "#PAGES_COUNT stránek (#TIME_SECONDS sekund)" + +footer: + builtWith: + other: Vytvořeno pomocí {{ .Generator }} + + designedBy: + other: Šablona {{ .Theme }} od {{ .DesignedBy }} diff --git a/layouts/partials/comments/provider/waline.html b/layouts/partials/comments/provider/waline.html index 21b6507..9d1a2a0 100644 --- a/layouts/partials/comments/provider/waline.html +++ b/layouts/partials/comments/provider/waline.html @@ -19,7 +19,7 @@ {{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" -}} {{- range $key, $val := . -}} - {{- if $val -}} + {{- if ne $val nil -}} {{- $replaceKey := index $replaceKeys $key -}} {{- $k := default $key $replaceKey -}} diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index 45bed2c..ade2f7b 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -1,4 +1,4 @@ -{{- $ThemeVersion := "3.18.0" -}} +{{- $ThemeVersion := "3.19.0" -}}