forked from Sync/hugo-theme-stack
Merge branch 'master' into canary
This commit is contained in:
commit
7bef269bb3
@ -131,6 +131,7 @@
|
|||||||
.article-tags {
|
.article-tags {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--accent-color-text);
|
color: var(--accent-color-text);
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.article-tags {
|
.article-tags {
|
||||||
flex-wrap: wrap;
|
|
||||||
text-transform: unset;
|
text-transform: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
baseurl: https://stack.jimmycai.com/demo/
|
baseurl: https://stack.jimmycai.com/demo/
|
||||||
languageCode: en-us
|
languageCode: en-us
|
||||||
paginate: 3
|
|
||||||
|
|
||||||
# Note: This title is overridden by the title in i18n config file
|
# Note: This title is overridden by the title in i18n config file
|
||||||
title: Hugo Theme Stack Starter
|
title: Hugo Theme Stack Starter
|
||||||
@ -21,3 +20,6 @@ services:
|
|||||||
id:
|
id:
|
||||||
|
|
||||||
publishDir: ../public/demo
|
publishDir: ../public/demo
|
||||||
|
|
||||||
|
pagination:
|
||||||
|
pagerSize: 3
|
@ -1,4 +1,16 @@
|
|||||||
goldmark:
|
goldmark:
|
||||||
|
extensions:
|
||||||
|
passthrough:
|
||||||
|
enable: true
|
||||||
|
delimiters:
|
||||||
|
block:
|
||||||
|
- - \[
|
||||||
|
- \]
|
||||||
|
- - $$
|
||||||
|
- $$
|
||||||
|
inline:
|
||||||
|
- - \(
|
||||||
|
- \)
|
||||||
renderer:
|
renderer:
|
||||||
unsafe: false # Allow HTML in markdown
|
unsafe: false # Allow HTML in markdown
|
||||||
tableOfContents:
|
tableOfContents:
|
||||||
|
73
i18n/bg.yaml
Normal file
73
i18n/bg.yaml
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
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 }} minute read"
|
||||||
|
other: "{{ .Count }} minute read"
|
||||||
|
|
||||||
|
notFound:
|
||||||
|
title:
|
||||||
|
other: Не е намерено
|
||||||
|
|
||||||
|
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 }}
|
72
i18n/oc.yaml
Normal file
72
i18n/oc.yaml
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
toggleMenu:
|
||||||
|
other: Alternar menú
|
||||||
|
|
||||||
|
darkMode:
|
||||||
|
other: Mòde fosc
|
||||||
|
|
||||||
|
list:
|
||||||
|
page:
|
||||||
|
one: "{{ .Count }} pagina"
|
||||||
|
other: "{{ .Count }} paginas"
|
||||||
|
|
||||||
|
section:
|
||||||
|
other: Seccion
|
||||||
|
|
||||||
|
subsection:
|
||||||
|
one: Josseccion
|
||||||
|
other: Josseccions
|
||||||
|
|
||||||
|
article:
|
||||||
|
back:
|
||||||
|
other: Tornar
|
||||||
|
|
||||||
|
tableOfContents:
|
||||||
|
other: Taula de contengut
|
||||||
|
|
||||||
|
relatedContent:
|
||||||
|
other: Contenguts relacionats
|
||||||
|
|
||||||
|
lastUpdatedOn:
|
||||||
|
other: Darrièra actualizacion
|
||||||
|
readingTime:
|
||||||
|
one: "{{ .Count }} minuta de lectura"
|
||||||
|
other: "{{ .Count }} minutas de lectura"
|
||||||
|
|
||||||
|
notFound:
|
||||||
|
title:
|
||||||
|
other: Non trobat
|
||||||
|
|
||||||
|
subtitle:
|
||||||
|
other: Aquesta pagina existís pas
|
||||||
|
|
||||||
|
widget:
|
||||||
|
archives:
|
||||||
|
title:
|
||||||
|
other: Archiu
|
||||||
|
|
||||||
|
more:
|
||||||
|
other: Mai
|
||||||
|
|
||||||
|
tagCloud:
|
||||||
|
title:
|
||||||
|
other: Etiquetas
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Categorias
|
||||||
|
|
||||||
|
search:
|
||||||
|
title:
|
||||||
|
other: Cercar
|
||||||
|
|
||||||
|
placeholder:
|
||||||
|
other: Picatz quicòm...
|
||||||
|
|
||||||
|
resultTitle:
|
||||||
|
other: "#PAGES_COUNT paginas dins (#TIME_SECONDS segons)"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
builtWith:
|
||||||
|
other: Creat amb {{ .Generator }}
|
||||||
|
|
||||||
|
designedBy:
|
||||||
|
other: Tàma {{ .Theme }} concebut per {{ .DesignedBy }}
|
@ -21,7 +21,7 @@
|
|||||||
<managingEditor>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.Author.email }}
|
<managingEditor>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.Author.email }}
|
||||||
<webMaster>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
<webMaster>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
{{- with .OutputFormats.Get "RSS" -}}
|
{{- with .OutputFormats.Get "RSS" -}}
|
||||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<div>
|
<div>
|
||||||
{{ partial "helper/icon" "date" }}
|
{{ partial "helper/icon" "date" }}
|
||||||
<time class="article-time--published">
|
<time class="article-time--published">
|
||||||
{{- .Date.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
|
{{- .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<section class="article-lastmod">
|
<section class="article-lastmod">
|
||||||
{{ partial "helper/icon" "clock" }}
|
{{ partial "helper/icon" "clock" }}
|
||||||
<span>
|
<span>
|
||||||
{{ T "article.lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
|
{{ T "article.lastUpdatedOn" }} {{ .Lastmod | time.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
|
||||||
</span>
|
</span>
|
||||||
</section>
|
</section>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{- $disqusjs := .Site.Params.Comments.disqusjs -}}
|
{{- $disqusjs := .Site.Params.Comments.disqusjs -}}
|
||||||
{{- if and (not $pc.Disable) (and $disqusjs.Shortname $disqusjs.ApiKey) -}}
|
{{- if and (not $pc.Disable) (and $disqusjs.Shortname $disqusjs.ApiKey) -}}
|
||||||
|
|
||||||
{{- $style := resources.Get "scss/partials/comments/disqusjs.scss" | resources.ToCSS | minify -}}
|
{{- $style := resources.Get "scss/partials/comments/disqusjs.scss" | toCSS | minify -}}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||||
|
|
||||||
<div class="disqus-container">
|
<div class="disqus-container">
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
admin: ["{{- .admin -}}"],
|
admin: ["{{- .admin -}}"],
|
||||||
distractionFreeMode: false, // Facebook-like distraction free mode
|
distractionFreeMode: false, // Facebook-like distraction free mode
|
||||||
id: md5(location.pathname), // Max Location.pathname Legth:75 https://github.com/gitalk/gitalk/issues/102
|
id: md5(location.pathname), // Max Location.pathname Legth:75 https://github.com/gitalk/gitalk/issues/102
|
||||||
|
proxy: {{- .proxy -}},
|
||||||
});
|
});
|
||||||
(function () {
|
(function () {
|
||||||
if (
|
if (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<script src="//cdn.jsdelivr.net/npm/twikoo@1.6.21/dist/twikoo.all.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/twikoo@1.6.39/dist/twikoo.all.min.js"></script>
|
||||||
<div id="tcomment"></div>
|
<div id="tcomment"></div>
|
||||||
<style>
|
<style>
|
||||||
.twikoo {
|
.twikoo {
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
{{ $sass := resources.Get "scss/style.scss" }}
|
{{ $sass := resources.Get "scss/style.scss" }}
|
||||||
{{ $style := $sass | resources.ToCSS | minify | resources.Fingerprint "sha256" }}
|
{{ $style := $sass | toCSS | minify | resources.Fingerprint "sha256" }}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
Loading…
Reference in New Issue
Block a user