Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5869a7ab83 | ||
|
|
d00dbc17bc | ||
|
|
655b5102c4 | ||
|
|
b02569add9 | ||
|
|
4546d74af3 | ||
|
|
c6ccfc8f26 | ||
|
|
5fe1b35ba5 | ||
|
|
d53ba6ea20 | ||
|
|
722950c167 | ||
|
|
3d09c23284 | ||
|
|
7a38f3ad50 | ||
|
|
5608f0a5e1 | ||
|
|
165c96a8e0 | ||
|
|
7142de24cc | ||
|
|
9aa6b4925b | ||
|
|
92a6d71ce5 | ||
|
|
01eb9a4b0e | ||
|
|
49c0a2bc56 | ||
|
|
9eec31f0b6 | ||
|
|
772b9e3ba8 | ||
|
|
955bb8dd7f | ||
|
|
0a5cbea10f | ||
|
|
e8f1b8f7b7 | ||
|
|
06c68e2aa2 | ||
|
|
3a79e9856e | ||
|
|
add8f364e0 | ||
|
|
5e350b92e8 | ||
|
|
58b1e0706a | ||
|
|
14bb05c8db | ||
|
|
c1fcec95a6 | ||
|
|
69ac21d0f7 | ||
|
|
8c04e8362c | ||
|
|
c5eee559c2 | ||
|
|
2726cf7549 | ||
|
|
de952be116 | ||
|
|
1cfd39c627 | ||
|
|
bf8868c8e7 | ||
|
|
da6a50ddb5 | ||
|
|
2671f292fd | ||
|
|
9d922272e4 | ||
|
|
5699510c36 | ||
|
|
7d1713d407 | ||
|
|
b5d0c5b37d | ||
|
|
0167edcbf2 | ||
|
|
7a5dccdfd3 | ||
|
|
de9756291b | ||
|
|
07e1b856b0 | ||
|
|
8f5164b5b9 | ||
|
|
07da61b1f2 |
@@ -1,45 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Before creating this bug report, make sure you have read the theme documentation: https://docs.stack.jimmycai.com/
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Describe the bug
|
|
||||||
A clear and concise description of what the bug is.
|
|
||||||
|
|
||||||
## Expected behavior
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
## To Reproduce
|
|
||||||
Indicate the steps to reproduce this bug, if applicable.
|
|
||||||
|
|
||||||
## Screenshots
|
|
||||||
Add screenshots to help explain your problem.
|
|
||||||
|
|
||||||
## Environment
|
|
||||||
|
|
||||||
- **Hugo version** [e.g: 0.80.0]:
|
|
||||||
- **Hugo extended?**: Yes / No
|
|
||||||
|
|
||||||
## Additional context
|
|
||||||
Add any other context about the problem here.
|
|
||||||
|
|
||||||
If it's a UI issue, fill the following information:
|
|
||||||
|
|
||||||
- OS: [e.g. iOS]
|
|
||||||
- Browser [e.g. chrome, safari]
|
|
||||||
- Version [e.g. 22]
|
|
||||||
|
|
||||||
## Content of config.yaml
|
|
||||||
```yaml
|
|
||||||
### Paste the content of the config file here
|
|
||||||
```
|
|
||||||
|
|
||||||
## Link to the demo site and/or source repository
|
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: File a bug report
|
||||||
|
title: "[Bug]: "
|
||||||
|
labels: ["bug"]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
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/).
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
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.
|
||||||
|
placeholder: Tell us what you see!
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: hugo-version
|
||||||
|
attributes:
|
||||||
|
label: Hugo version
|
||||||
|
description: "What is the version of Hugo you are using? (Note: this theme does not support non-extended version of Hugo)"
|
||||||
|
placeholder: ex. 0.100.0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: theme-version
|
||||||
|
attributes:
|
||||||
|
label: Theme version
|
||||||
|
description: "What is the version of Stack theme you are using?"
|
||||||
|
placeholder: ex. 3.12.0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: browsers
|
||||||
|
attributes:
|
||||||
|
label: What browsers are you seeing the problem on?
|
||||||
|
multiple: true
|
||||||
|
options:
|
||||||
|
- Firefox
|
||||||
|
- Chrome
|
||||||
|
- Safari
|
||||||
|
- Microsoft Edge
|
||||||
|
- type: input
|
||||||
|
id: browser-info
|
||||||
|
attributes:
|
||||||
|
label: More information about the browser
|
||||||
|
description: "E.g: Browser version, OS version, etc."
|
||||||
|
placeholder: ex. Chrome 104, Windows 11
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
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.
|
||||||
|
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
|
||||||
|
id: bug-url
|
||||||
|
attributes:
|
||||||
|
label: Link to the page with bug
|
||||||
|
placeholder: https://demo.stack.jimmycai.com
|
||||||
|
value: https://demo.stack.jimmycai.com
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: source-repo
|
||||||
|
attributes:
|
||||||
|
label: Link to the source repository
|
||||||
|
placeholder: https://github.com/CaiJimmy/hugo-theme-stack
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: Discussions
|
||||||
|
url: https://github.com/CaiJimmy/hugo-theme-stack/discussions
|
||||||
|
about: Please ask and answer questions here.
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
|
||||||
A clear and concise description of what you want to happen.
|
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context or screenshots about the feature request here.
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
name-template: "v$RESOLVED_VERSION 🌈"
|
|
||||||
tag-template: "v$RESOLVED_VERSION"
|
|
||||||
categories:
|
|
||||||
- title: "🚀 Features"
|
|
||||||
labels:
|
|
||||||
- "feature"
|
|
||||||
- "enhancement"
|
|
||||||
- title: "🐛 Bug Fixes"
|
|
||||||
labels:
|
|
||||||
- "fix"
|
|
||||||
- "bugfix"
|
|
||||||
- "bug"
|
|
||||||
- title: "🧰 Maintenance"
|
|
||||||
label: "chore"
|
|
||||||
- title: "♻️ Refactor"
|
|
||||||
label: refactor
|
|
||||||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
|
||||||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
|
||||||
version-resolver:
|
|
||||||
major:
|
|
||||||
labels:
|
|
||||||
- "major"
|
|
||||||
minor:
|
|
||||||
labels:
|
|
||||||
- "minor"
|
|
||||||
patch:
|
|
||||||
labels:
|
|
||||||
- "patch"
|
|
||||||
default: patch
|
|
||||||
template: |
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
$CHANGES
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
name: Build Hugo Artifact
|
|
||||||
|
|
||||||
# Controls when the action will run.
|
|
||||||
on:
|
|
||||||
# Triggers the workflow on push or pull request events but only for the master branch
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
|
||||||
# This workflow contains a single job called "build"
|
|
||||||
build:
|
|
||||||
# The type of runner that the job will run on
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
||||||
steps:
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Hugo setup
|
|
||||||
uses: peaceiris/[email protected]
|
|
||||||
with:
|
|
||||||
# The Hugo version to download (if necessary) and use. Example: 0.58.2
|
|
||||||
hugo-version: latest # optional, default is latest
|
|
||||||
# Download (if necessary) and use Hugo extended version. Example: true
|
|
||||||
extended: true # optional, default is false
|
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
|
||||||
- name: Generate Hugo site
|
|
||||||
run: cd exampleSite && hugo --gc --themesDir ../..
|
|
||||||
|
|
||||||
- name: Upload Hugo artifact
|
|
||||||
uses: actions/[email protected]
|
|
||||||
with:
|
|
||||||
# Artifact name
|
|
||||||
name: resources
|
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
|
||||||
path: |
|
|
||||||
exampleSite/resources
|
|
||||||
!exampleSite/resources/_gen/images
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
name: Release Drafter
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
# branches to consider in the event; optional, defaults to all
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
update_release_draft:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
# Drafts your next Release notes as Pull Requests are merged into "master"
|
|
||||||
- uses: release-drafter/release-drafter@v5
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
@@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
> Card-style Hugo theme designed for bloggers.
|
> Card-style Hugo theme designed for bloggers.
|
||||||
|
|
||||||
|
## Quickstart
|
||||||
|
|
||||||
|
Use this template: [CaiJimmy/hugo-theme-stack-starter](https://github.com/CaiJimmy/hugo-theme-stack-starter)
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
[Example Site](https://demo.stack.jimmycai.com/)
|
[Example Site](https://demo.stack.jimmycai.com/)
|
||||||
@@ -28,6 +32,7 @@ Stack is a simple card-style Hugo theme designed for bloggers, some of its featu
|
|||||||
- Properly cropped thumbnails
|
- Properly cropped thumbnails
|
||||||
- Subsection support
|
- Subsection support
|
||||||
- Table of contents
|
- Table of contents
|
||||||
|
- Multilingual mode and RTL support
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
@@ -35,7 +40,7 @@ It's necessary to use **Hugo Extended ≥ 0.87.0**.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
* Route 1: Clone / Download this repository to `theme` folder
|
* Route 1: Clone / Download this repository to `themes` folder
|
||||||
* Route 2: Turn your site into a hugo module and add this theme as a module dependency
|
* Route 2: Turn your site into a hugo module and add this theme as a module dependency
|
||||||
|
|
||||||
Edit your site config following `exampleSite/config.yaml`.
|
Edit your site config following `exampleSite/config.yaml`.
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--accent-color);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: var(--accent-color-darker);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.link {
|
||||||
|
box-shadow: 0px -2px 0px rgba(var(--link-background-color), var(--link-background-opacity)) inset;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
box-shadow: 0px calc(-1rem * var(--article-line-height)) 0px rgba(var(--link-background-color), var(--link-background-opacity-hover)) inset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-title {
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
display: block;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--body-text-color);
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--body-text-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -72,50 +72,13 @@
|
|||||||
a {
|
a {
|
||||||
color: var(--body-text-color);
|
color: var(--body-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.link {
|
||||||
|
box-shadow: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#article-toolbar {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin: 20px 0;
|
|
||||||
|
|
||||||
@include respond(md) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.back-home {
|
|
||||||
background: var(--card-background);
|
|
||||||
border-radius: var(--tag-border-radius);
|
|
||||||
color: var(--card-text-color-tertiary);
|
|
||||||
margin-right: 30px;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 1.4rem;
|
|
||||||
text-transform: uppercase;
|
|
||||||
padding: 10px 20px 10px 15px;
|
|
||||||
|
|
||||||
transition: box-shadow 0.3s ease;
|
|
||||||
|
|
||||||
box-shadow: var(--shadow-l1);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
box-shadow: var(--shadow-l2);
|
|
||||||
}
|
|
||||||
|
|
||||||
svg {
|
|
||||||
margin-right: 5px;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span {
|
|
||||||
font-weight: 500;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget--toc {
|
.widget--toc {
|
||||||
@@ -145,7 +108,7 @@
|
|||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
counter-reset: item;
|
counter-reset: item;
|
||||||
|
|
||||||
li a::before {
|
li a:first-of-type::before {
|
||||||
counter-increment: item;
|
counter-increment: item;
|
||||||
content: counters(item, ".") ". ";
|
content: counters(item, ".") ". ";
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -207,7 +170,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-contents {
|
.related-content {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
|
|
||||||
@@ -272,6 +235,16 @@
|
|||||||
border-inline-start: var(--blockquote-border-size) solid var(--card-separator-color);
|
border-inline-start: var(--blockquote-border-size) solid var(--card-separator-color);
|
||||||
padding: 15px calc(var(--card-padding) - var(--blockquote-border-size));
|
padding: 15px calc(var(--card-padding) - var(--blockquote-border-size));
|
||||||
background-color: var(--blockquote-background-color);
|
background-color: var(--blockquote-background-color);
|
||||||
|
|
||||||
|
.cite {
|
||||||
|
display: block;
|
||||||
|
text-align: right;
|
||||||
|
font-size: 0.75em;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@@ -414,6 +387,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gitlab-embed-snippets {
|
||||||
|
margin: 0 !important;
|
||||||
|
|
||||||
|
.file-holder.snippet-file-content {
|
||||||
|
margin-block-end: 0 !important;
|
||||||
|
margin-block-start: 0 !important;
|
||||||
|
margin-left: calc((var(--card-padding)) * -1) !important;
|
||||||
|
margin-right: calc((var(--card-padding)) * -1) !important;
|
||||||
|
padding: 0 var(--card-padding) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// Negative margins
|
/// Negative margins
|
||||||
blockquote,
|
blockquote,
|
||||||
figure,
|
figure,
|
||||||
|
|||||||
+1
-32
@@ -24,36 +24,5 @@
|
|||||||
@import "partials/layout/404.scss";
|
@import "partials/layout/404.scss";
|
||||||
@import "partials/layout/search.scss";
|
@import "partials/layout/search.scss";
|
||||||
|
|
||||||
|
@import "general.scss";
|
||||||
@import "custom.scss";
|
@import "custom.scss";
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: var(--accent-color);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: var(--accent-color-darker);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.link {
|
|
||||||
box-shadow: 0px -2px 0px rgba(var(--link-background-color), var(--link-background-opacity)) inset;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
box-shadow: 0px -10px 0px rgba(var(--link-background-color), var(--link-background-opacity-hover)) inset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-title {
|
|
||||||
text-transform: uppercase;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
display: block;
|
|
||||||
font-size: 1.6rem;
|
|
||||||
font-weight: bold;
|
|
||||||
color: var(--body-text-color);
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: var(--body-text-color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -21,12 +21,15 @@ function setupSmoothAnchors() {
|
|||||||
aElement.addEventListener("click", clickEvent => {
|
aElement.addEventListener("click", clickEvent => {
|
||||||
clickEvent.preventDefault();
|
clickEvent.preventDefault();
|
||||||
|
|
||||||
let targetId = aElement.getAttribute("href").substring(1);
|
const targetId = aElement.getAttribute("href").substring(1),
|
||||||
// The replace done on ':' is here for footnotes, as this character would otherwise interfere when used as a CSS selector.
|
target = document.getElementById(targetId) as HTMLElement,
|
||||||
let target = document.querySelector(`#${targetId.replace(":", "\\:")}`) as HTMLElement;
|
offset = target.getBoundingClientRect().top - document.documentElement.getBoundingClientRect().top;
|
||||||
|
|
||||||
window.history.pushState({}, "", aElement.getAttribute("href"));
|
window.history.pushState({}, "", aElement.getAttribute("href"));
|
||||||
scrollTo({ top: target.offsetTop, behavior: "smooth" });
|
scrollTo({
|
||||||
|
top: offset,
|
||||||
|
behavior: "smooth"
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,10 +92,12 @@ params:
|
|||||||
category:
|
category:
|
||||||
categoryID:
|
categoryID:
|
||||||
mapping:
|
mapping:
|
||||||
|
strict:
|
||||||
lightTheme:
|
lightTheme:
|
||||||
darkTheme:
|
darkTheme:
|
||||||
reactionsEnabled: 1
|
reactionsEnabled: 1
|
||||||
emitMetadata: 0
|
emitMetadata: 0
|
||||||
|
inputPosition:
|
||||||
lang:
|
lang:
|
||||||
|
|
||||||
gitalk:
|
gitalk:
|
||||||
|
|||||||
+10
-12
@@ -1,6 +1,6 @@
|
|||||||
Vibrant:
|
Vibrant:
|
||||||
- src: https://cdn.jsdelivr.net/npm/[email protected].5/dist/vibrant.min.js
|
- src: https://cdn.jsdelivr.net/npm/[email protected].6/dist/vibrant.min.js
|
||||||
integrity: sha256-5NovOZc4iwiAWTYIFiIM7DxKUXKWvpVEuMEPLzcm5/g=
|
integrity: sha256-awcR2jno4kI5X0zL8ex0vi2z+KMkF24hUW8WePSA9HM=
|
||||||
type: script
|
type: script
|
||||||
|
|
||||||
PhotoSwipe:
|
PhotoSwipe:
|
||||||
@@ -14,26 +14,24 @@ PhotoSwipe:
|
|||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/[email protected]/dist/default-skin/default-skin.css
|
- src: https://cdn.jsdelivr.net/npm/[email protected]/dist/default-skin/default-skin.min.css
|
||||||
integrity: sha256-c0uckgykQ9v5k+IqViZOZKc47Jn7KQil4/MP3ySA3F8=
|
|
||||||
type: style
|
type: style
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/[email protected]/dist/photoswipe.css
|
- src: https://cdn.jsdelivr.net/npm/[email protected]/dist/photoswipe.min.css
|
||||||
integrity: sha256-SBLU4vv6CA6lHsZ1XyTdhyjJxCjPif/TRkjnsyGAGnE=
|
|
||||||
type: style
|
type: style
|
||||||
|
|
||||||
KaTeX:
|
KaTeX:
|
||||||
- src: https://cdn.jsdelivr.net/npm/[email protected]3.13/dist/katex.min.css
|
- src: https://cdn.jsdelivr.net/npm/[email protected]5.6/dist/katex.min.css
|
||||||
integrity: sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn
|
integrity: sha256-J+iAE0sgH8QSz9hpcDxXIftnj65JEZgNhGcgReTTK9s=
|
||||||
type: style
|
type: style
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/[email protected]3.13/dist/katex.min.js
|
- src: https://cdn.jsdelivr.net/npm/[email protected]5.6/dist/katex.min.js
|
||||||
integrity: sha384-pK1WpvzWVBQiP0/GjnvRxV4mOb0oxFuyRxJlk6vVw146n3egcN5C925NCP7a7BY8
|
integrity: sha256-InsNdER1b2xUewP+pKCUJpkhiqwHgqiPXDlIk7GzBu4=
|
||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/[email protected]3.13/dist/contrib/auto-render.min.js
|
- src: https://cdn.jsdelivr.net/npm/[email protected]5.6/dist/contrib/auto-render.min.js
|
||||||
integrity: sha384-vZTG03m+2yp6N6BNi5iM4rW4oIwk5DfcNdFfxkk9ZWpDriOkXX8voJBFrAO7MpVl
|
integrity: sha256-y39Mpg7V3D4lhBX4x6O0bUqTV4pSrfgwEfGKfxkOdgI=
|
||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ languages:
|
|||||||
languageName: English
|
languageName: English
|
||||||
title: Example Site
|
title: Example Site
|
||||||
weight: 1
|
weight: 1
|
||||||
cn:
|
zh-cn:
|
||||||
languageName: 中文
|
languageName: 中文
|
||||||
title: 演示站点
|
title: 演示站点
|
||||||
weight: 2
|
weight: 2
|
||||||
@@ -26,7 +26,7 @@ disqusShortname: hugo-theme-stack
|
|||||||
googleAnalytics:
|
googleAnalytics:
|
||||||
|
|
||||||
# Theme i18n support
|
# Theme i18n support
|
||||||
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
|
# 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
|
DefaultContentLanguage: en
|
||||||
|
|
||||||
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
||||||
@@ -97,21 +97,20 @@ params:
|
|||||||
clientSecret:
|
clientSecret:
|
||||||
autoCreateIssue: false
|
autoCreateIssue: false
|
||||||
|
|
||||||
# Waline client configuration see: https://waline.js.org/en/reference/client.html
|
# Waline client configuration see: https://waline.js.org/en/reference/component.html
|
||||||
waline:
|
waline:
|
||||||
serverURL:
|
serverURL:
|
||||||
lang:
|
lang:
|
||||||
visitor:
|
pageview:
|
||||||
avatar:
|
|
||||||
emoji:
|
emoji:
|
||||||
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
- https://unpkg.com/@waline/emojis@1.0.1/weibo
|
||||||
requiredMeta:
|
requiredMeta:
|
||||||
- name
|
- name
|
||||||
- email
|
- email
|
||||||
- url
|
- url
|
||||||
placeholder:
|
|
||||||
locale:
|
locale:
|
||||||
admin: Admin
|
admin: Admin
|
||||||
|
placeholder:
|
||||||
|
|
||||||
twikoo:
|
twikoo:
|
||||||
envId:
|
envId:
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
title: 关于
|
|
||||||
---
|
|
||||||
|
|
||||||
This is a test page for i18n support.
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: 关于
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
weight: -90
|
||||||
|
params:
|
||||||
|
icon: user
|
||||||
|
---
|
||||||
|
|
||||||
|
This is a test page for i18n support.
|
||||||
@@ -23,7 +23,7 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
|
|||||||
|
|
||||||
## Twitter Simple Shortcode
|
## Twitter Simple Shortcode
|
||||||
|
|
||||||
{{< twitter_simple 1085870671291310081 >}}
|
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@@ -40,3 +40,28 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
|
|||||||
## Gist Shortcode
|
## Gist Shortcode
|
||||||
|
|
||||||
{{< gist spf13 7896402 >}}
|
{{< gist spf13 7896402 >}}
|
||||||
|
|
||||||
|
## Gitlab Snippets Shortcode
|
||||||
|
|
||||||
|
{{< gitlab 2349278 >}}
|
||||||
|
|
||||||
|
## Quote Shortcode
|
||||||
|
|
||||||
|
Stack adds a `quote` shortcode. For example:
|
||||||
|
|
||||||
|
{{< quote author="A famous person" source="The book they wrote" url="https://en.wikipedia.org/wiki/Book">}}
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||||
|
{{< /quote >}}
|
||||||
|
|
||||||
|
{{< quote source="Anonymous book" url="https://en.wikipedia.org/wiki/Book">}}
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||||
|
{{< /quote >}}
|
||||||
|
|
||||||
|
{{< quote source="Some book">}}
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||||
|
{{< /quote >}}
|
||||||
|
|
||||||
|
{{< quote author="Somebody">}}
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||||
|
{{< /quote >}}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
module github.com/CaiJimmy/hugo-theme-stack
|
module github.com/CaiJimmy/hugo-theme-stack/v3
|
||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
|||||||
+3
-3
@@ -23,15 +23,15 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: جدول المحتويات
|
other: جدول المحتويات
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: محتوى مشابهه
|
other: محتوى مشابهه
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
other: التعديل الاخير
|
other: التعديل الاخير
|
||||||
|
|
||||||
readingTime:
|
readingTime:
|
||||||
one: "قرائة {{ .Count }} دقيقة"
|
one: "تُقرأ خلال دقيقة"
|
||||||
other: "قرائة {{ .Count }} دقائق"
|
other: "تُقرأ خلال {{ .Count }} دقائق"
|
||||||
|
|
||||||
notFound:
|
notFound:
|
||||||
title:
|
title:
|
||||||
|
|||||||
@@ -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 }} মিনিটে পড়া যাবে"
|
||||||
|
other: "{{ .Count }} মিনিটে পড়া যাবে"
|
||||||
|
|
||||||
|
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 }}"
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
toggleMenu:
|
||||||
|
other: Toggle Menu
|
||||||
|
|
||||||
|
darkMode:
|
||||||
|
other: Mode fosc
|
||||||
|
|
||||||
|
list:
|
||||||
|
page:
|
||||||
|
one: "{{ .Count }} pàgina"
|
||||||
|
other: "{{ .Count }} pàgines"
|
||||||
|
|
||||||
|
section:
|
||||||
|
other: Secció
|
||||||
|
|
||||||
|
subsection:
|
||||||
|
one: Subsecció
|
||||||
|
other: Subseccions
|
||||||
|
|
||||||
|
article:
|
||||||
|
back:
|
||||||
|
other: Tornar
|
||||||
|
|
||||||
|
tableOfContents:
|
||||||
|
other: Taula de contingut
|
||||||
|
|
||||||
|
relatedContent:
|
||||||
|
other: Continguts relacionats
|
||||||
|
|
||||||
|
lastUpdatedOn:
|
||||||
|
other: Última vegada actualitzat
|
||||||
|
|
||||||
|
readingTime:
|
||||||
|
one: "{{ .Count }} minut a llegir"
|
||||||
|
other: "{{ .Count }} minuts a llegir"
|
||||||
|
|
||||||
|
notFound:
|
||||||
|
title:
|
||||||
|
other: No Trobat
|
||||||
|
|
||||||
|
subtitle:
|
||||||
|
other: Aquesta pàgina no existeix
|
||||||
|
|
||||||
|
widget:
|
||||||
|
archives:
|
||||||
|
title:
|
||||||
|
other: Arxiu
|
||||||
|
|
||||||
|
more:
|
||||||
|
other: Més
|
||||||
|
|
||||||
|
tagCloud:
|
||||||
|
title:
|
||||||
|
other: Etiquetes
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Categories
|
||||||
|
|
||||||
|
search:
|
||||||
|
title:
|
||||||
|
other: Cerca
|
||||||
|
|
||||||
|
placeholder:
|
||||||
|
other: Tecleja alguna cosa...
|
||||||
|
|
||||||
|
resultTitle:
|
||||||
|
other: "#PAGES_COUNT pàgines en (#TIME_SECONDS segons)"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
builtWith:
|
||||||
|
other: Creat amb {{ .Generator }}
|
||||||
|
|
||||||
|
designedBy:
|
||||||
|
other: Tema {{ .Theme }} dissenyat per {{ .DesignedBy }}
|
||||||
+5
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Inhaltsverzeichnis
|
other: Inhaltsverzeichnis
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Verwandte Inhalte
|
other: Verwandte Inhalte
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -52,6 +52,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: Schlagwörter
|
other: Schlagwörter
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Kategorien
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: Suche
|
other: Suche
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Πινακας περιεχομενων
|
other: Πινακας περιεχομενων
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Σχετικο περιεχομενο
|
other: Σχετικο περιεχομενο
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
|
|||||||
+2
-2
@@ -23,8 +23,8 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Table of contents
|
other: Table of contents
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Related contents
|
other: Related content
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
other: Last updated on
|
other: Last updated on
|
||||||
|
|||||||
+4
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Tabla de contenido
|
other: Tabla de contenido
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Contenidos relacionados
|
other: Contenidos relacionados
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -51,6 +51,9 @@ widget:
|
|||||||
tagCloud:
|
tagCloud:
|
||||||
title:
|
title:
|
||||||
other: Etiquetas
|
other: Etiquetas
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Categorías
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
|
|||||||
@@ -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 }} دقیقه"
|
||||||
|
other: "مطالعه در {{ .Count }} دقیقه"
|
||||||
|
|
||||||
|
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 }}
|
||||||
+1
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Table des matières
|
other: Table des matières
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Contenus liés
|
other: Contenus liés
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
|
|||||||
@@ -0,0 +1,73 @@
|
|||||||
|
toggleMenu:
|
||||||
|
other: Menü Kapcsolása
|
||||||
|
|
||||||
|
darkMode:
|
||||||
|
other: Sötét Mód
|
||||||
|
|
||||||
|
list:
|
||||||
|
page:
|
||||||
|
one: "{{ .Count }} oldal"
|
||||||
|
other: "{{ .Count }} oldalak"
|
||||||
|
|
||||||
|
section:
|
||||||
|
other: Szekció
|
||||||
|
|
||||||
|
subsection:
|
||||||
|
one: Alszekció
|
||||||
|
other: Alszekciók
|
||||||
|
|
||||||
|
article:
|
||||||
|
back:
|
||||||
|
other: Vissza
|
||||||
|
|
||||||
|
tableOfContents:
|
||||||
|
other: Tartalomjegyzék
|
||||||
|
|
||||||
|
relatedContent:
|
||||||
|
other: Kapcsolódó tartalom
|
||||||
|
|
||||||
|
lastUpdatedOn:
|
||||||
|
other: Utolsó frissítés időpontja
|
||||||
|
|
||||||
|
readingTime:
|
||||||
|
one: "{{ .Count }} percnyi olvasmány"
|
||||||
|
other: "{{ .Count }} percnyi olvasmány"
|
||||||
|
|
||||||
|
notFound:
|
||||||
|
title:
|
||||||
|
other: Nem található
|
||||||
|
|
||||||
|
subtitle:
|
||||||
|
other: Ez az oldal nem létezik
|
||||||
|
|
||||||
|
widget:
|
||||||
|
archives:
|
||||||
|
title:
|
||||||
|
other: Archívum
|
||||||
|
|
||||||
|
more:
|
||||||
|
other: Több
|
||||||
|
|
||||||
|
tagCloud:
|
||||||
|
title:
|
||||||
|
other: Cimkék
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Kategóriák
|
||||||
|
|
||||||
|
search:
|
||||||
|
title:
|
||||||
|
other: Keresés
|
||||||
|
|
||||||
|
placeholder:
|
||||||
|
other: Írj valamit...
|
||||||
|
|
||||||
|
resultTitle:
|
||||||
|
other: "#PAGES_COUNT oldal (#TIME_SECONDS másodperc alatt)"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
builtWith:
|
||||||
|
other: "{{ .Generator }} használatával készült"
|
||||||
|
|
||||||
|
designedBy:
|
||||||
|
other: A {{ .Theme }} dizájnt {{ .DesignedBy }} tervezte
|
||||||
+5
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Daftar Isi
|
other: Daftar Isi
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Konten terkait
|
other: Konten terkait
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -51,6 +51,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: Tag
|
other: Tag
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Kategori
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: Cari
|
other: Cari
|
||||||
|
|||||||
+5
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Indice
|
other: Indice
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Contenuti correlati
|
other: Contenuti correlati
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -51,6 +51,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: Tags
|
other: Tags
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Categorie
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: Cerca
|
other: Cerca
|
||||||
|
|||||||
+12
-1
@@ -11,7 +11,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: 目次
|
other: 目次
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: 関連するコンテンツ
|
other: 関連するコンテンツ
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -38,6 +38,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: タグ
|
other: タグ
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: カテゴリ
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: 検索
|
other: 検索
|
||||||
@@ -47,3 +51,10 @@ search:
|
|||||||
|
|
||||||
resultTitle:
|
resultTitle:
|
||||||
other: "#PAGES_COUNT 件 (#TIME_SECONDS 秒)"
|
other: "#PAGES_COUNT 件 (#TIME_SECONDS 秒)"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
builtWith:
|
||||||
|
other: Built with {{ .Generator }}
|
||||||
|
|
||||||
|
designedBy:
|
||||||
|
other: テーマ {{ .Theme }} は {{ .DesignedBy }} によって設計されています。
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: 목차
|
other: 목차
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: 관련 글
|
other: 관련 글
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
|
|||||||
+5
-1
@@ -17,7 +17,7 @@ list:
|
|||||||
other: Subsecties
|
other: Subsecties
|
||||||
|
|
||||||
article:
|
article:
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Gerelateerde inhoud
|
other: Gerelateerde inhoud
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
other: Laatst bijgewerkt op
|
other: Laatst bijgewerkt op
|
||||||
@@ -38,6 +38,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: Tags
|
other: Tags
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Categorie
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: Zoeken
|
other: Zoeken
|
||||||
|
|||||||
+5
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Spis treści
|
other: Spis treści
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Powiązane artykuły
|
other: Powiązane artykuły
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -51,6 +51,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: Tagi
|
other: Tagi
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Kategorie
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: Szukaj
|
other: Szukaj
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Índice
|
other: Índice
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Conteúdo relacionado
|
other: Conteúdo relacionado
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
+1
-1
@@ -23,7 +23,7 @@ list:
|
|||||||
article:
|
article:
|
||||||
back:
|
back:
|
||||||
other: Назад
|
other: Назад
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Также рекомендуем
|
other: Также рекомендуем
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
other: Обновлено
|
other: Обновлено
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: สารบัญ
|
other: สารบัญ
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: เนื้อหาคล้ายคลึงกัน
|
other: เนื้อหาคล้ายคลึงกัน
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ list:
|
|||||||
other: Alt bölümler
|
other: Alt bölümler
|
||||||
|
|
||||||
article:
|
article:
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Alakalı içerikler
|
other: Alakalı içerikler
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
other: Son güncelleme
|
other: Son güncelleme
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: Зміст
|
other: Зміст
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: Схожі матеріали
|
other: Схожі матеріали
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: 目录
|
other: 目录
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: 相关文章
|
other: 相关文章
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -38,6 +38,10 @@ widget:
|
|||||||
title:
|
title:
|
||||||
other: 标签云
|
other: 标签云
|
||||||
|
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: 分类
|
||||||
|
|
||||||
search:
|
search:
|
||||||
title:
|
title:
|
||||||
other: 搜索
|
other: 搜索
|
||||||
@@ -47,3 +51,10 @@ search:
|
|||||||
|
|
||||||
resultTitle:
|
resultTitle:
|
||||||
other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)"
|
other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
builtWith:
|
||||||
|
other: Built with {{ .Generator }}
|
||||||
|
|
||||||
|
designedBy:
|
||||||
|
other: 主题 {{ .Theme }} 由 {{ .DesignedBy }} 设计
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
toggleMenu:
|
||||||
|
other: 切換選單
|
||||||
|
|
||||||
|
darkMode:
|
||||||
|
other: 深色模式
|
||||||
|
|
||||||
|
list:
|
||||||
|
page:
|
||||||
|
one: "第 {{ .Count }} 頁"
|
||||||
|
other: "第 {{ .Count }} 頁"
|
||||||
|
|
||||||
|
section:
|
||||||
|
other: Section
|
||||||
|
|
||||||
|
subsection:
|
||||||
|
one: Subsection
|
||||||
|
other: Subsections
|
||||||
|
|
||||||
|
article:
|
||||||
|
back:
|
||||||
|
other: 返回
|
||||||
|
|
||||||
|
tableOfContents:
|
||||||
|
other: 目錄
|
||||||
|
|
||||||
|
relatedContent:
|
||||||
|
other: 相關內容
|
||||||
|
|
||||||
|
lastUpdatedOn:
|
||||||
|
other: 上次改過於
|
||||||
|
|
||||||
|
readingTime:
|
||||||
|
one: "需要 {{ .Count }} 分鐘閱讀"
|
||||||
|
other: "需要 {{ .Count }} 分鐘閱讀"
|
||||||
|
|
||||||
|
notFound:
|
||||||
|
title:
|
||||||
|
other: Not Found
|
||||||
|
|
||||||
|
subtitle:
|
||||||
|
other: 頁面不存在
|
||||||
|
|
||||||
|
widget:
|
||||||
|
archives:
|
||||||
|
title:
|
||||||
|
other: Archives
|
||||||
|
|
||||||
|
more:
|
||||||
|
other: 更多
|
||||||
|
|
||||||
|
tagCloud:
|
||||||
|
title:
|
||||||
|
other: Tags
|
||||||
|
categoriesCloud:
|
||||||
|
title:
|
||||||
|
other: Categories
|
||||||
|
|
||||||
|
search:
|
||||||
|
title:
|
||||||
|
other: 搜尋
|
||||||
|
|
||||||
|
placeholder:
|
||||||
|
other: Type 關鍵字...
|
||||||
|
|
||||||
|
resultTitle:
|
||||||
|
other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
builtWith:
|
||||||
|
other: Built with {{ .Generator }}
|
||||||
|
|
||||||
|
designedBy:
|
||||||
|
other: 主題 {{ .Theme }} 由 {{ .DesignedBy }} 設計
|
||||||
@@ -11,7 +11,7 @@ article:
|
|||||||
tableOfContents:
|
tableOfContents:
|
||||||
other: 目錄
|
other: 目錄
|
||||||
|
|
||||||
relatedContents:
|
relatedContent:
|
||||||
other: 相關文章
|
other: 相關文章
|
||||||
|
|
||||||
lastUpdatedOn:
|
lastUpdatedOn:
|
||||||
@@ -6,7 +6,14 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="{{ block `body-class` . }}{{ end }}">
|
<body class="{{ block `body-class` . }}{{ end }}">
|
||||||
{{- partial "head/colorScheme" . -}}
|
{{- partial "head/colorScheme" . -}}
|
||||||
{{- $hasWidget := default (gt (len .Site.Params.widgets.homepage) 0) (.Scratch.Get "hasWidget") -}}
|
|
||||||
|
{{/* The container is wider when there's any activated widget */}}
|
||||||
|
{{- $hasWidget := false -}}
|
||||||
|
{{- range .Site.Params.widgets -}}
|
||||||
|
{{- if gt (len .) 0 -}}
|
||||||
|
{{- $hasWidget = true -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
<div class="container main-container flex on-phone--column {{ if $hasWidget }}extended{{ else }}compact{{ end }}">
|
<div class="container main-container flex on-phone--column {{ if $hasWidget }}extended{{ else }}compact{{ end }}">
|
||||||
{{- block "left-sidebar" . -}}
|
{{- block "left-sidebar" . -}}
|
||||||
{{ partial "sidebar/left.html" . }}
|
{{ partial "sidebar/left.html" . }}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
{{ partial "article/components/links" . }}
|
{{ partial "article/components/links" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "article/components/related-contents" . }}
|
{{ partial "article/components/related-content" . }}
|
||||||
|
|
||||||
{{ if not (eq .Params.comments false) }}
|
{{ if not (eq .Params.comments false) }}
|
||||||
{{ partial "comments/include" . }}
|
{{ partial "comments/include" . }}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
{{- $Width := $imageRaw.Width -}}
|
{{- $Width := $imageRaw.Width -}}
|
||||||
{{- $Height := $imageRaw.Height -}}
|
{{- $Height := $imageRaw.Height -}}
|
||||||
|
|
||||||
{{- if (default true .Page.Site.Params.imageProcessing.cover.enabled) -}}
|
{{- if .context.Site.Params.imageProcessing.cover.enabled -}}
|
||||||
{{- $thumbnail := $imageRaw.Fill .size -}}
|
{{- $thumbnail := $imageRaw.Fill .size -}}
|
||||||
{{- $Permalink = $thumbnail.RelPermalink -}}
|
{{- $Permalink = $thumbnail.RelPermalink -}}
|
||||||
{{- $Width = $thumbnail.Width -}}
|
{{- $Width = $thumbnail.Width -}}
|
||||||
|
|||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
|
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
|
||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
<aside class="related-contents--wrapper">
|
<aside class="related-content--wrapper">
|
||||||
<h2 class="section-title">{{ T "article.relatedContents" }}</h2>
|
<h2 class="section-title">{{ T "article.relatedContent" }}</h2>
|
||||||
<div class="related-contents">
|
<div class="related-content">
|
||||||
<div class="flex article-list--tile">
|
<div class="flex article-list--tile">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}
|
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('onColorSchemeChange', (e) => {
|
window.addEventListener('onColorSchemeChange', (e) => {
|
||||||
if (DISQUS) {
|
if (typeof DISQUS == 'object') {
|
||||||
DISQUS.reset({
|
DISQUS.reset({
|
||||||
reload: true
|
reload: true
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -6,8 +6,10 @@
|
|||||||
data-category="{{- .category -}}"
|
data-category="{{- .category -}}"
|
||||||
data-category-id="{{- .categoryID -}}"
|
data-category-id="{{- .categoryID -}}"
|
||||||
data-mapping="{{- default `title` .mapping -}}"
|
data-mapping="{{- default `title` .mapping -}}"
|
||||||
|
data-strict="{{- default 0 .strict -}}"
|
||||||
data-reactions-enabled="{{- default 1 .reactionsEnabled -}}"
|
data-reactions-enabled="{{- default 1 .reactionsEnabled -}}"
|
||||||
data-emit-metadata="{{- default 0 .emitMetadata -}}"
|
data-emit-metadata="{{- default 0 .emitMetadata -}}"
|
||||||
|
data-input-position="{{- default `top` .inputPosition -}}"
|
||||||
data-theme="{{- default `light` .lightTheme -}}"
|
data-theme="{{- default `light` .lightTheme -}}"
|
||||||
data-lang="{{- default `en` .lang -}}"
|
data-lang="{{- default `en` .lang -}}"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script src="//cdn.jsdelivr.net/npm/twikoo@1.4.18/dist/twikoo.all.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/twikoo@1.5.11/dist/twikoo.all.min.js"></script>
|
||||||
<div id="tcomment"></div>
|
<div id="tcomment"></div>
|
||||||
<style>
|
<style>
|
||||||
.twikoo {
|
.twikoo {
|
||||||
@@ -28,6 +28,10 @@
|
|||||||
.twikoo .el-button{
|
.twikoo .el-button{
|
||||||
color: var(--twikoo-body-text-color)!important;
|
color: var(--twikoo-body-text-color)!important;
|
||||||
}
|
}
|
||||||
|
.OwO .OwO-body {
|
||||||
|
background-color: var(--body-background) !important;
|
||||||
|
color: var(--body-text-color) !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{{- with .Site.Params.comments.twikoo -}}
|
{{- with .Site.Params.comments.twikoo -}}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<div id="vssue"></div>
|
<div id="vssue"></div>
|
||||||
|
|
||||||
<script src="https://unpkg.com/vue/dist/vue.runtime.min.js"></script>
|
<script src="https://unpkg.com/vue@2/dist/vue.runtime.min.js"></script>
|
||||||
<script src="https://unpkg.com/vssue/dist/vssue.{{ .platform }}.min.js"></script>
|
<script src="https://unpkg.com/vssue/dist/vssue.{{ .platform }}.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<script src='//cdn.jsdelivr.net/npm/@waline/client/dist/Waline.min.js'></script>
|
<script src='//unpkg.com/@waline/client@v2/dist/waline.js'></script>
|
||||||
|
<link href='//unpkg.com/@waline/client@v2/dist/waline.css' rel='stylesheet'/>
|
||||||
<div id="waline" class="waline-container"></div>
|
<div id="waline" class="waline-container"></div>
|
||||||
<style>
|
<style>
|
||||||
.waline-container {
|
.waline-container {
|
||||||
@@ -6,15 +7,16 @@
|
|||||||
border-radius: var(--card-border-radius);
|
border-radius: var(--card-border-radius);
|
||||||
box-shadow: var(--shadow-l1);
|
box-shadow: var(--shadow-l1);
|
||||||
padding: var(--card-padding);
|
padding: var(--card-padding);
|
||||||
|
--waline-font-size: var(--article-font-size);
|
||||||
}
|
}
|
||||||
.waline-container .vcount {
|
.waline-container .wl-count {
|
||||||
color: var(--card-text-color-main);
|
color: var(--card-text-color-main);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{{- with .Site.Params.comments.waline -}}
|
{{- with .Site.Params.comments.waline -}}
|
||||||
{{- $config := dict "el" "#waline" "dark" `html[data-scheme="dark"]` -}}
|
{{- $config := dict "el" "#waline" "dark" `html[data-scheme="dark"]` -}}
|
||||||
{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "avatarcdn" "avatarCDN" "avatarforce" "avatarForce" -}}
|
{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" -}}
|
||||||
|
|
||||||
{{- range $key, $val := . -}}
|
{{- range $key, $val := . -}}
|
||||||
{{- if $val -}}
|
{{- if $val -}}
|
||||||
@@ -27,6 +29,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
/// Waline client configuration see: https://waline.js.org/en/reference/client.html
|
/// Waline client configuration see: https://waline.js.org/en/reference/client.html
|
||||||
new Waline({{ $config | jsonify | safeJS }});
|
Waline.init({{ $config | jsonify | safeJS }});
|
||||||
</script>
|
</script>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{{- $ThemeVersion := "3.9.0" -}}
|
{{- $ThemeVersion := "3.13.0" -}}
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<section class="copyright">
|
<section class="copyright">
|
||||||
©
|
©
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<script
|
||||||
|
type="application/javascript"
|
||||||
|
src="https://gitlab.com/-/snippets/{{ index .Params 0 }}.js"
|
||||||
|
></script>
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<blockquote>
|
||||||
|
<p>{{ .Inner | markdownify }}</p>
|
||||||
|
{{- if or (.Get "author") (.Get "source") -}}
|
||||||
|
<span class="cite"><span>― </span>
|
||||||
|
{{- if .Get "author" -}}
|
||||||
|
<span>
|
||||||
|
{{- .Get "author" -}}{{- if .Get "source" -}}, {{ end -}}
|
||||||
|
</span>
|
||||||
|
{{- end -}}
|
||||||
|
{{- with .Get "url" -}}<a href="{{ . }}">{{- end -}}
|
||||||
|
<cite>{{ .Get "source" }}</cite>
|
||||||
|
{{- if .Get "url" -}}</a>{{- end -}}
|
||||||
|
</span>
|
||||||
|
{{- end -}}
|
||||||
|
</blockquote>
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.87.0"
|
HUGO_VERSION = "0.100.2"
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
|
|
||||||
[context.production]
|
[context.production]
|
||||||
|
|||||||
Reference in New Issue
Block a user