mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
Merge branch 'master' into svg-color
This commit is contained in:
commit
147707379d
26
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
26
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -1,17 +1,15 @@
|
|||||||
name: Bug Report
|
name: Bug Report
|
||||||
description: File a bug report
|
description: File a bug report
|
||||||
title: "[Bug]: "
|
|
||||||
labels: ["bug"]
|
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this bug report! Please provide as much information as possible and make sure you have checked the [documentation](https://docs.stack.jimmycai.com/).
|
Thanks for taking the time to fill out this bug report! Please provide as much information as possible and make sure you have checked the [documentation](https://stack.jimmycai.com/).
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: what-happened
|
id: what-happened
|
||||||
attributes:
|
attributes:
|
||||||
label: What happened?
|
label: What happened?
|
||||||
description: Also tell us, what did you expect to happen? Please be as detailed as possible, include screenshots and any other information that might help us reproduce the problem.
|
description: Also tell us, what did you expect to happen? Please be as detailed as possible, including screenshots and any other information that might help us reproduce the problem.
|
||||||
placeholder: Tell us what you see!
|
placeholder: Tell us what you see!
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@ -55,21 +53,13 @@ body:
|
|||||||
label: Relevant log output
|
label: Relevant log output
|
||||||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
||||||
render: shell
|
render: shell
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
If the issue is not present on the [demo site](https://demo.stack.jimmycai.com), in order to better understand the problem, please provide the link to the source code of your website (not the generated HTML).
|
|
||||||
Or link to a minimal reproduction of the problem if there are sensible data.
|
|
||||||
- type: input
|
- type: input
|
||||||
id: bug-url
|
id: minimal-reproduction-url
|
||||||
attributes:
|
attributes:
|
||||||
label: Link to the page with bug
|
label: Link to Minimal Reproducible Example
|
||||||
placeholder: https://demo.stack.jimmycai.com
|
description: |
|
||||||
value: https://demo.stack.jimmycai.com
|
Use [CaiJimmy/hugo-theme-stack-starter](https://github.com/CaiJimmy/hugo-theme-stack-starter) to create a minimal reproduction of the problem.
|
||||||
|
A minimal reproduction is required so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be auto-closed.
|
||||||
|
placeholder: https://github.com/username/your-repository
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
|
||||||
id: source-repo
|
|
||||||
attributes:
|
|
||||||
label: Link to the source repository
|
|
||||||
placeholder: https://github.com/CaiJimmy/hugo-theme-stack
|
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.article-title {
|
.article-title {
|
||||||
|
font-family: var(--article-font-family);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--card-text-color-main);
|
color: var(--card-text-color-main);
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
margin-right: 0.4em;
|
margin-right: 0.4em;
|
||||||
padding: 0 0.4em 0 0.4em;
|
padding: 0 0.4em 0 0.4em;
|
||||||
color: #7f7f7f;
|
color: #7f7f7f;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* LineNumbers */
|
/* LineNumbers */
|
||||||
|
@ -33,6 +33,10 @@
|
|||||||
margin: var(--card-padding) 0;
|
margin: var(--card-padding) 0;
|
||||||
color: var(--card-text-color-main);
|
color: var(--card-text-color-main);
|
||||||
|
|
||||||
|
.footnotes {
|
||||||
|
font-family: var(--base-font-family);
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -44,7 +44,7 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
--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;
|
--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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -73,9 +73,8 @@ params:
|
|||||||
emoji:
|
emoji:
|
||||||
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
||||||
requiredMeta:
|
requiredMeta:
|
||||||
- name
|
- nick
|
||||||
- email
|
- mail
|
||||||
- url
|
|
||||||
placeholder:
|
placeholder:
|
||||||
locale:
|
locale:
|
||||||
admin: Admin
|
admin: Admin
|
||||||
|
@ -37,11 +37,7 @@ In this example we will be using [KaTeX](https://katex.org/)
|
|||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
{{< math.inline >}}
|
Inline math: $\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$
|
||||||
<p>
|
|
||||||
Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
|
|
||||||
</p>
|
|
||||||
{{</ math.inline >}}
|
|
||||||
|
|
||||||
Block math:
|
Block math:
|
||||||
$$
|
$$
|
||||||
|
73
i18n/cs.yaml
Normal file
73
i18n/cs.yaml
Normal file
@ -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 }}
|
@ -21,6 +21,8 @@ article:
|
|||||||
other: Gerelateerde inhoud
|
other: Gerelateerde inhoud
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
other: Laatst bijgewerkt op
|
other: Laatst bijgewerkt op
|
||||||
|
readingTime:
|
||||||
|
other: "{{ .Count }} leestijd"
|
||||||
|
|
||||||
notFound:
|
notFound:
|
||||||
title:
|
title:
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" -}}
|
{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" -}}
|
||||||
|
|
||||||
{{- range $key, $val := . -}}
|
{{- range $key, $val := . -}}
|
||||||
{{- if $val -}}
|
{{- if ne $val nil -}}
|
||||||
{{- $replaceKey := index $replaceKeys $key -}}
|
{{- $replaceKey := index $replaceKeys $key -}}
|
||||||
{{- $k := default $key $replaceKey -}}
|
{{- $k := default $key $replaceKey -}}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{- $ThemeVersion := "3.18.0" -}}
|
{{- $ThemeVersion := "3.19.0" -}}
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<section class="copyright">
|
<section class="copyright">
|
||||||
©
|
©
|
||||||
|
Loading…
Reference in New Issue
Block a user