Compare commits
No commits in common. "fe877ee21f3c3f570fad7d613c488914588e8c17" and "bdb9e7fc007a665fadb28055bee6e387cd68719b" have entirely different histories.
fe877ee21f
...
bdb9e7fc00
11 changed files with 28 additions and 264 deletions
|
@ -1,18 +1,10 @@
|
||||||
baseurl: https://example.com
|
baseurl: https://example.com
|
||||||
languageCode: en-us
|
languageCode: en-us
|
||||||
theme: hugo-theme-stack
|
theme: hugo-theme-stack
|
||||||
paginate: 3
|
paginate: 5
|
||||||
title: Example Site
|
title: Example Site
|
||||||
copyright: Example Person
|
copyright: Example Person
|
||||||
|
|
||||||
# Theme i18n support
|
|
||||||
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
|
|
||||||
DefaultContentLanguage: en
|
|
||||||
|
|
||||||
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
|
||||||
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
|
||||||
hasCJKLanguage: false
|
|
||||||
|
|
||||||
languages:
|
languages:
|
||||||
en:
|
en:
|
||||||
languageName: English
|
languageName: English
|
||||||
|
@ -34,13 +26,19 @@ languages:
|
||||||
params:
|
params:
|
||||||
description: وصف تجريبي
|
description: وصف تجريبي
|
||||||
|
|
||||||
services:
|
# Change it to your Disqus shortname before using
|
||||||
# Change it to your Disqus shortname before using
|
disqusShortname: hugo-theme-stack
|
||||||
disqus:
|
|
||||||
shortname: "hugo-theme-stack"
|
# GA Tracking ID
|
||||||
# GA Tracking ID
|
googleAnalytics:
|
||||||
googleAnalytics:
|
|
||||||
id:
|
# Theme i18n support
|
||||||
|
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
|
||||||
|
DefaultContentLanguage: en
|
||||||
|
|
||||||
|
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
||||||
|
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
||||||
|
hasCJKLanguage: false
|
||||||
|
|
||||||
permalinks:
|
permalinks:
|
||||||
post: /p/:slug/
|
post: /p/:slug/
|
||||||
|
@ -51,7 +49,7 @@ params:
|
||||||
- post
|
- post
|
||||||
featuredImageField: image
|
featuredImageField: image
|
||||||
rssFullContent: true
|
rssFullContent: true
|
||||||
favicon: # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
|
favicon: # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
since: 2020
|
since: 2020
|
||||||
|
|
72
i18n/be.yaml
72
i18n/be.yaml
|
@ -1,72 +0,0 @@
|
||||||
toggleMenu:
|
|
||||||
other: Паказаць/схаваць меню
|
|
||||||
|
|
||||||
darkMode:
|
|
||||||
other: Цёмны рэжым
|
|
||||||
|
|
||||||
list:
|
|
||||||
page:
|
|
||||||
one: "{{ .Count }} старонка"
|
|
||||||
few: "{{ .Count }} старонкі"
|
|
||||||
many: "{{ .Count }} старонак"
|
|
||||||
other: "{{ .Count }} старонкі"
|
|
||||||
|
|
||||||
section:
|
|
||||||
other: Раздзел
|
|
||||||
|
|
||||||
subsection:
|
|
||||||
one: Падраздзел
|
|
||||||
few: Падраздзелы
|
|
||||||
many: Падраздзелы
|
|
||||||
other: Падраздзелы
|
|
||||||
|
|
||||||
article:
|
|
||||||
back:
|
|
||||||
other: Назад
|
|
||||||
|
|
||||||
relatedContent:
|
|
||||||
other: Таксама рэкамендуем
|
|
||||||
|
|
||||||
lastUpdatedOn:
|
|
||||||
other: Абноўлена
|
|
||||||
|
|
||||||
tableOfContents:
|
|
||||||
other: Змест
|
|
||||||
|
|
||||||
readingTime:
|
|
||||||
other: "Час чытання: {{ .Count }} хв."
|
|
||||||
|
|
||||||
notFound:
|
|
||||||
title:
|
|
||||||
other: Не знойдзена
|
|
||||||
|
|
||||||
subtitle:
|
|
||||||
other: Запытваемая старонка не існуе
|
|
||||||
|
|
||||||
widget:
|
|
||||||
archives:
|
|
||||||
title:
|
|
||||||
other: Архівы
|
|
||||||
more:
|
|
||||||
other: Яшчэ
|
|
||||||
|
|
||||||
tagCloud:
|
|
||||||
title:
|
|
||||||
other: Тэгі
|
|
||||||
|
|
||||||
search:
|
|
||||||
title:
|
|
||||||
other: Пошук
|
|
||||||
|
|
||||||
placeholder:
|
|
||||||
other: Увядзіце нешта...
|
|
||||||
|
|
||||||
resultTitle:
|
|
||||||
other: "Знайдзена #PAGES_COUNT старонак (за #TIME_SECONDS с.)"
|
|
||||||
|
|
||||||
footer:
|
|
||||||
builtWith:
|
|
||||||
other: Створана пры дапамозе {{ .Generator }}
|
|
||||||
|
|
||||||
designedBy:
|
|
||||||
other: Тэма {{ .Theme }}, дызайн {{ .DesignedBy }}
|
|
73
i18n/hi.yaml
73
i18n/hi.yaml
|
@ -1,73 +0,0 @@
|
||||||
toggleMenu:
|
|
||||||
other: मेनू टॉगल करें
|
|
||||||
|
|
||||||
darkMode:
|
|
||||||
other: डार्क मोड
|
|
||||||
|
|
||||||
list:
|
|
||||||
page:
|
|
||||||
one: "{{ .Count }} पेज"
|
|
||||||
other: "{{ .Count }} पेज"
|
|
||||||
|
|
||||||
section:
|
|
||||||
other: अनुभाग
|
|
||||||
|
|
||||||
subsection:
|
|
||||||
one: उपधारा
|
|
||||||
other: उपखंड
|
|
||||||
|
|
||||||
article:
|
|
||||||
back:
|
|
||||||
other: पीछे
|
|
||||||
|
|
||||||
tableOfContents:
|
|
||||||
other: विषयसूची
|
|
||||||
|
|
||||||
relatedContent:
|
|
||||||
other: संबंधित सामग्री
|
|
||||||
|
|
||||||
lastUpdatedOn:
|
|
||||||
other: अंतिम बार अपडेट किया गया
|
|
||||||
|
|
||||||
readingTime:
|
|
||||||
one: "{{ .Count }} मिनट पढ़ें"
|
|
||||||
other: "{{ .Count }} मिनट पढ़ें"
|
|
||||||
|
|
||||||
notFound:
|
|
||||||
title:
|
|
||||||
other: 404 नहीं मिला।
|
|
||||||
|
|
||||||
subtitle:
|
|
||||||
other: यह पृष्ठ मौजूद नहीं है।
|
|
||||||
|
|
||||||
widget:
|
|
||||||
archives:
|
|
||||||
title:
|
|
||||||
other: अभिलेखागार
|
|
||||||
|
|
||||||
more:
|
|
||||||
other: अधिक
|
|
||||||
|
|
||||||
tagCloud:
|
|
||||||
title:
|
|
||||||
other: टैग
|
|
||||||
categoriesCloud:
|
|
||||||
title:
|
|
||||||
other: श्रेणियाँ
|
|
||||||
|
|
||||||
search:
|
|
||||||
title:
|
|
||||||
other: खोज
|
|
||||||
|
|
||||||
placeholder:
|
|
||||||
other: कुछ लिखें...
|
|
||||||
|
|
||||||
resultTitle:
|
|
||||||
other: "#PAGES_COUNT पेज (#TIME_SECONDS सेकंड)"
|
|
||||||
|
|
||||||
footer:
|
|
||||||
builtWith:
|
|
||||||
other: निर्मित {{ .Generator }} के साथ
|
|
||||||
|
|
||||||
designedBy:
|
|
||||||
other: थीम {{ .Theme }} द्वारा डिज़ाइन किया गया {{ .DesignedBy }}
|
|
71
i18n/sk.yaml
71
i18n/sk.yaml
|
@ -1,71 +0,0 @@
|
||||||
toggleMenu:
|
|
||||||
other: Skryť menu
|
|
||||||
|
|
||||||
darkMode:
|
|
||||||
other: Tmavý režim
|
|
||||||
|
|
||||||
list:
|
|
||||||
page:
|
|
||||||
one: "{{ .Count }} stránka"
|
|
||||||
other: "{{ .Count }} stránok"
|
|
||||||
|
|
||||||
section:
|
|
||||||
other: Kategórie
|
|
||||||
|
|
||||||
subsection:
|
|
||||||
one: Podkategória
|
|
||||||
other: Podkategórie
|
|
||||||
|
|
||||||
article:
|
|
||||||
back:
|
|
||||||
other: Späť
|
|
||||||
|
|
||||||
tableOfContents:
|
|
||||||
other: Obsah
|
|
||||||
|
|
||||||
relatedContent:
|
|
||||||
other: Súvisiace
|
|
||||||
|
|
||||||
lastUpdatedOn:
|
|
||||||
other: Naposledy aktualizované
|
|
||||||
|
|
||||||
readingTime:
|
|
||||||
one: "{{ .Count }} minúta"
|
|
||||||
other: "{{ .Count }} minút"
|
|
||||||
|
|
||||||
notFound:
|
|
||||||
title:
|
|
||||||
other: Nenájdené
|
|
||||||
|
|
||||||
subtitle:
|
|
||||||
other: Tato stránka neexistuje
|
|
||||||
|
|
||||||
widget:
|
|
||||||
archives:
|
|
||||||
title:
|
|
||||||
other: Archívy
|
|
||||||
more:
|
|
||||||
other: Viac
|
|
||||||
tagCloud:
|
|
||||||
title:
|
|
||||||
other: Štítky
|
|
||||||
categoriesCloud:
|
|
||||||
title:
|
|
||||||
other: Kategórie
|
|
||||||
|
|
||||||
search:
|
|
||||||
title:
|
|
||||||
other: Hladať
|
|
||||||
|
|
||||||
placeholder:
|
|
||||||
other: Zadajte niečo...
|
|
||||||
|
|
||||||
resultTitle:
|
|
||||||
other: "#PAGES_COUNT stránok (#TIME_SECONDS sekúnd)"
|
|
||||||
|
|
||||||
footer:
|
|
||||||
builtWith:
|
|
||||||
other: Vytvorené pomocou {{ .Generator }}
|
|
||||||
|
|
||||||
designedBy:
|
|
||||||
other: Šablóna {{ .Theme }} od {{ .DesignedBy }}
|
|
|
@ -7,11 +7,6 @@
|
||||||
<body class="{{ block `body-class` . }}{{ end }}">
|
<body class="{{ block `body-class` . }}{{ end }}">
|
||||||
{{- partial "head/colorScheme" . -}}
|
{{- partial "head/colorScheme" . -}}
|
||||||
|
|
||||||
<section class="animated-background" style="position:fixed;z-index:-1;">
|
|
||||||
<div id="stars1"></div>
|
|
||||||
<div id="stars2"></div>
|
|
||||||
<div id="stars3"></div>
|
|
||||||
</section>
|
|
||||||
{{/* The container is wider when there's any activated widget */}}
|
{{/* The container is wider when there's any activated widget */}}
|
||||||
{{- $hasWidget := false -}}
|
{{- $hasWidget := false -}}
|
||||||
{{- range .Site.Params.widgets -}}
|
{{- range .Site.Params.widgets -}}
|
||||||
|
|
|
@ -13,9 +13,7 @@
|
||||||
}
|
}
|
||||||
.twikoo .el-input-group__prepend,
|
.twikoo .el-input-group__prepend,
|
||||||
.twikoo .tk-action-icon,
|
.twikoo .tk-action-icon,
|
||||||
.twikoo .tk-submit-action-icon,
|
|
||||||
.twikoo .tk-time,
|
.twikoo .tk-time,
|
||||||
.twikoo .tk-comments-no,
|
|
||||||
.twikoo .tk-comments-count {
|
.twikoo .tk-comments-count {
|
||||||
color: var(--twikoo-body-text-color);
|
color: var(--twikoo-body-text-color);
|
||||||
}
|
}
|
||||||
|
@ -30,9 +28,6 @@
|
||||||
.twikoo .el-button{
|
.twikoo .el-button{
|
||||||
color: var(--twikoo-body-text-color)!important;
|
color: var(--twikoo-body-text-color)!important;
|
||||||
}
|
}
|
||||||
.twikoo .el-input__count {
|
|
||||||
color: var(--twikoo-body-text-color) !important;
|
|
||||||
}
|
|
||||||
.OwO .OwO-body {
|
.OwO .OwO-body {
|
||||||
background-color: var(--body-background) !important;
|
background-color: var(--body-background) !important;
|
||||||
color: var(--body-text-color) !important;
|
color: var(--body-text-color) !important;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- $ThemeVersion := "3.22.0" -}}
|
{{- $ThemeVersion := "3.21.0" -}}
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<section class="copyright">
|
<section class="copyright">
|
||||||
©
|
©
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta name='description' content='{{ $description }}'>
|
<meta name='description' content='{{ $description }}'>
|
||||||
{{ with .Params.Keywords }}<meta name="keywords" content="{{ delimit . ", " }}">{{ end }}
|
{{ with .Params.Keywords }}<meta name="keywords" content="{{ delimit . ", " }}">{{ end }}
|
||||||
|
|
||||||
{{- $title := partial "data/title" . -}}
|
{{- $title := partialCached "data/title" . .RelPermalink -}}
|
||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
|
|
||||||
<link rel='canonical' href='{{ .Permalink }}'>
|
<link rel='canonical' href='{{ .Permalink }}'>
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{{ if .Site.Params.plausible }}
|
|
||||||
<script defer data-domain="{{ .Site.Params.plausible_domain }}" src="{{ .Site.Params.plausible_script }}"></script>
|
|
||||||
{{ end }}
|
|
|
@ -77,19 +77,17 @@
|
||||||
|
|
||||||
<div class="menu-bottom-section">
|
<div class="menu-bottom-section">
|
||||||
{{- $currentLanguageCode := .Language.Lang -}}
|
{{- $currentLanguageCode := .Language.Lang -}}
|
||||||
{{ if ( compare.Gt .Site.Home.AllTranslations 1 ) }}
|
{{ with .Site.Home.AllTranslations }}
|
||||||
{{ with .Site.Home.AllTranslations }}
|
<li id="i18n-switch">
|
||||||
<li id="i18n-switch">
|
{{ partial "helper/icon" "language" }}
|
||||||
{{ partial "helper/icon" "language" }}
|
<select name="language" onchange="window.location.href = this.selectedOptions[0].value">
|
||||||
<select name="language" onchange="window.location.href = this.selectedOptions[0].value">
|
{{ range . }}
|
||||||
{{ range . }}
|
<option value="{{ .Permalink }}" {{ if eq .Language.Lang $currentLanguageCode }}selected{{ end }}>{{ .Language.LanguageName }}</option>
|
||||||
<option value="{{ .Permalink }}" {{ if eq .Language.Lang $currentLanguageCode }}selected{{ end }}>{{ .Language.LanguageName }}</option>
|
{{ end }}
|
||||||
{{ end }}
|
</select>
|
||||||
</select>
|
</li>
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if (default false .Site.Params.colorScheme.toggle) }}
|
{{ if (default false .Site.Params.colorScheme.toggle) }}
|
||||||
<li id="dark-mode-toggle">
|
<li id="dark-mode-toggle">
|
||||||
{{ partial "helper/icon" "toggle-left" }}
|
{{ partial "helper/icon" "toggle-left" }}
|
||||||
|
|
|
@ -4,10 +4,7 @@
|
||||||
<aside class="sidebar right-sidebar sticky">
|
<aside class="sidebar right-sidebar sticky">
|
||||||
{{ range $widget := . }}
|
{{ range $widget := . }}
|
||||||
{{ if templates.Exists (printf "partials/widget/%s.html" .type) }}
|
{{ if templates.Exists (printf "partials/widget/%s.html" .type) }}
|
||||||
<!-- Ensure that the `params` is not nil -->
|
{{ partial (printf "widget/%s" .type) (dict "Context" $context "Params" .params) }}
|
||||||
{{- $params := default dict .params -}}
|
|
||||||
|
|
||||||
{{ partial (printf "widget/%s" .type) (dict "Context" $context "Params" $params) }}
|
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ warnf "Widget %s not found" .type }}
|
{{ warnf "Widget %s not found" .type }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue