mirror of
https://github.com/imfing/hextra.git
synced 2025-07-13 05:01:38 -04:00
Compare commits
6 Commits
v0.8.1
...
ccfe49729c
Author | SHA1 | Date | |
---|---|---|---|
ccfe49729c | |||
7848a42a29 | |||
d5a336c156 | |||
1bb432f02d | |||
368c20e935 | |||
9e684fa313 |
@ -3,7 +3,7 @@
|
|||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/hugo:1": {
|
"ghcr.io/devcontainers/features/hugo:1": {
|
||||||
"extended": true,
|
"extended": true,
|
||||||
"version": "0.131.0"
|
"version": "0.124.1"
|
||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/node:1": {}
|
"ghcr.io/devcontainers/features/node:1": {}
|
||||||
},
|
},
|
||||||
|
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@ -57,7 +57,7 @@ We recommend that you search existing [issues][issues] or discussions before ope
|
|||||||
|
|
||||||
### Local development setup
|
### Local development setup
|
||||||
|
|
||||||
- [Hugo][hugo] >= v0.124.0 (extended version)
|
- [Hugo][hugo] >= v0.115.0 (extended version)
|
||||||
- [Node.js][nodejs]
|
- [Node.js][nodejs]
|
||||||
- [Go][go]
|
- [Go][go]
|
||||||
|
|
||||||
|
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.131.0
|
HUGO_VERSION: 0.124.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
/* CommentPreprocFile */ .chroma .cpf { color: #8b949e; font-weight: bold; font-style: italic }
|
/* CommentPreprocFile */ .chroma .cpf { color: #8b949e; font-weight: bold; font-style: italic }
|
||||||
/* Generic */ .chroma .g { }
|
/* Generic */ .chroma .g { }
|
||||||
/* GenericDeleted */ .chroma .gd { color: #ffa198; background-color: #490202 }
|
/* GenericDeleted */ .chroma .gd { color: #ffa198; background-color: #490202 }
|
||||||
/* GenericEmph */ .chroma .ge { color: inherit; font-style: italic }
|
/* GenericEmph */ .chroma .ge { font-style: italic }
|
||||||
/* GenericError */ .chroma .gr { color: #ffa198 }
|
/* GenericError */ .chroma .gr { color: #ffa198 }
|
||||||
/* GenericHeading */ .chroma .gh { color: #79c0ff; font-weight: bold }
|
/* GenericHeading */ .chroma .gh { color: #79c0ff; font-weight: bold }
|
||||||
/* GenericInserted */ .chroma .gi { color: #56d364; background-color: #0f5323 }
|
/* GenericInserted */ .chroma .gi { color: #56d364; background-color: #0f5323 }
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
! tailwindcss v3.4.9 | MIT License | https://tailwindcss.com
|
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
|
||||||
*//*
|
*//*
|
||||||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
||||||
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
||||||
@ -596,6 +596,10 @@ video {
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
.hx-my-1 {
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
.hx-my-1\.5 {
|
.hx-my-1\.5 {
|
||||||
margin-top: 0.375rem;
|
margin-top: 0.375rem;
|
||||||
margin-bottom: 0.375rem;
|
margin-bottom: 0.375rem;
|
||||||
@ -604,6 +608,9 @@ video {
|
|||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
.-hx-mb-0 {
|
||||||
|
margin-bottom: -0px;
|
||||||
|
}
|
||||||
.-hx-mb-0\.5 {
|
.-hx-mb-0\.5 {
|
||||||
margin-bottom: -0.125rem;
|
margin-bottom: -0.125rem;
|
||||||
}
|
}
|
||||||
@ -712,6 +719,9 @@ video {
|
|||||||
.hx-h-2 {
|
.hx-h-2 {
|
||||||
height: 0.5rem;
|
height: 0.5rem;
|
||||||
}
|
}
|
||||||
|
.hx-h-3 {
|
||||||
|
height: 0.75rem;
|
||||||
|
}
|
||||||
.hx-h-3\.5 {
|
.hx-h-3\.5 {
|
||||||
height: 0.875rem;
|
height: 0.875rem;
|
||||||
}
|
}
|
||||||
@ -748,6 +758,9 @@ video {
|
|||||||
.hx-w-2 {
|
.hx-w-2 {
|
||||||
width: 0.5rem;
|
width: 0.5rem;
|
||||||
}
|
}
|
||||||
|
.hx-w-3 {
|
||||||
|
width: 0.75rem;
|
||||||
|
}
|
||||||
.hx-w-3\.5 {
|
.hx-w-3\.5 {
|
||||||
width: 0.875rem;
|
width: 0.875rem;
|
||||||
}
|
}
|
||||||
@ -875,6 +888,10 @@ video {
|
|||||||
.hx-gap-4 {
|
.hx-gap-4 {
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
.hx-gap-x-1 {
|
||||||
|
-moz-column-gap: 0.25rem;
|
||||||
|
column-gap: 0.25rem;
|
||||||
|
}
|
||||||
.hx-gap-x-1\.5 {
|
.hx-gap-x-1\.5 {
|
||||||
-moz-column-gap: 0.375rem;
|
-moz-column-gap: 0.375rem;
|
||||||
column-gap: 0.375rem;
|
column-gap: 0.375rem;
|
||||||
@ -897,15 +914,9 @@ video {
|
|||||||
.hx-overflow-x-hidden {
|
.hx-overflow-x-hidden {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
.hx-overflow-y-hidden {
|
|
||||||
overflow-y: hidden;
|
|
||||||
}
|
|
||||||
.hx-overscroll-contain {
|
.hx-overscroll-contain {
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
.hx-overscroll-x-contain {
|
|
||||||
overscroll-behavior-x: contain;
|
|
||||||
}
|
|
||||||
.hx-text-ellipsis {
|
.hx-text-ellipsis {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
@ -1049,6 +1060,9 @@ video {
|
|||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
}
|
}
|
||||||
|
.hx-p-0 {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
.hx-p-0\.5 {
|
.hx-p-0\.5 {
|
||||||
padding: 0.125rem;
|
padding: 0.125rem;
|
||||||
}
|
}
|
||||||
@ -1067,6 +1081,10 @@ video {
|
|||||||
.hx-p-6 {
|
.hx-p-6 {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
}
|
}
|
||||||
|
.hx-px-1 {
|
||||||
|
padding-left: 0.25rem;
|
||||||
|
padding-right: 0.25rem;
|
||||||
|
}
|
||||||
.hx-px-1\.5 {
|
.hx-px-1\.5 {
|
||||||
padding-left: 0.375rem;
|
padding-left: 0.375rem;
|
||||||
padding-right: 0.375rem;
|
padding-right: 0.375rem;
|
||||||
@ -1075,10 +1093,6 @@ video {
|
|||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
}
|
}
|
||||||
.hx-px-2\.5 {
|
|
||||||
padding-left: 0.625rem;
|
|
||||||
padding-right: 0.625rem;
|
|
||||||
}
|
|
||||||
.hx-px-3 {
|
.hx-px-3 {
|
||||||
padding-left: 0.75rem;
|
padding-left: 0.75rem;
|
||||||
padding-right: 0.75rem;
|
padding-right: 0.75rem;
|
||||||
@ -2105,7 +2119,7 @@ article details > summary::before {
|
|||||||
/* GenericDeleted */
|
/* GenericDeleted */
|
||||||
.dark .highlight .chroma .gd { color: #ffa198; background-color: #490202 }
|
.dark .highlight .chroma .gd { color: #ffa198; background-color: #490202 }
|
||||||
/* GenericEmph */
|
/* GenericEmph */
|
||||||
.dark .highlight .chroma .ge { color: inherit; font-style: italic }
|
.dark .highlight .chroma .ge { font-style: italic }
|
||||||
/* GenericError */
|
/* GenericError */
|
||||||
.dark .highlight .chroma .gr { color: #ffa198 }
|
.dark .highlight .chroma .gr { color: #ffa198 }
|
||||||
/* GenericHeading */
|
/* GenericHeading */
|
||||||
@ -2238,9 +2252,6 @@ article details > summary::before {
|
|||||||
.hextra-cards {
|
.hextra-cards {
|
||||||
grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - 1rem * 2) / var(--hextra-cards-grid-cols))), 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - 1rem * 2) / var(--hextra-cards-grid-cols))), 1fr));
|
||||||
}
|
}
|
||||||
.hextra-card {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.hextra-card img {
|
.hextra-card img {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
@ -2256,7 +2267,6 @@ article details > summary::before {
|
|||||||
}
|
}
|
||||||
.hextra-card p {
|
.hextra-card p {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
.dark .hextra-card svg {
|
.dark .hextra-card svg {
|
||||||
color: #ffffff66;
|
color: #ffffff66;
|
||||||
@ -2264,13 +2274,6 @@ article details > summary::before {
|
|||||||
.dark .hextra-card:hover svg {
|
.dark .hextra-card:hover svg {
|
||||||
color: currentColor;
|
color: currentColor;
|
||||||
}
|
}
|
||||||
.hextra-card-tag {
|
|
||||||
position: absolute;
|
|
||||||
top: 5px;
|
|
||||||
right: 5px;
|
|
||||||
z-index: 10;
|
|
||||||
font-size: .65rem;
|
|
||||||
}
|
|
||||||
.steps h3 {
|
.steps h3 {
|
||||||
counter-increment: step;
|
counter-increment: step;
|
||||||
}
|
}
|
||||||
@ -2795,27 +2798,27 @@ body:is(html[class~="dark"] *) {
|
|||||||
.hx-group\/copybtn.copied .group-\[\.copied\]\/copybtn\:hx-hidden {
|
.hx-group\/copybtn.copied .group-\[\.copied\]\/copybtn\:hx-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.data-\[state\=selected\]\:hx-block[data-state="selected"] {
|
.data-\[state\=selected\]\:hx-block[data-state=selected] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.data-\[state\=closed\]\:hx-hidden[data-state="closed"] {
|
.data-\[state\=closed\]\:hx-hidden[data-state=closed] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.data-\[state\=open\]\:hx-hidden[data-state="open"] {
|
.data-\[state\=open\]\:hx-hidden[data-state=open] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.data-\[state\=selected\]\:hx-border-primary-500[data-state="selected"] {
|
.data-\[state\=selected\]\:hx-border-primary-500[data-state=selected] {
|
||||||
--tw-border-opacity: 1;
|
--tw-border-opacity: 1;
|
||||||
border-color: hsl(var(--primary-hue) var(--primary-saturation) 50% / var(--tw-border-opacity));
|
border-color: hsl(var(--primary-hue) var(--primary-saturation) 50% / var(--tw-border-opacity));
|
||||||
}
|
}
|
||||||
.data-\[state\=selected\]\:hx-text-primary-600[data-state="selected"] {
|
.data-\[state\=selected\]\:hx-text-primary-600[data-state=selected] {
|
||||||
--tw-text-opacity: 1;
|
--tw-text-opacity: 1;
|
||||||
color: hsl(var(--primary-hue) var(--primary-saturation) 45% / var(--tw-text-opacity));
|
color: hsl(var(--primary-hue) var(--primary-saturation) 45% / var(--tw-text-opacity));
|
||||||
}
|
}
|
||||||
.hx-group[data-theme="dark"] .group-data-\[theme\=dark\]\:hx-hidden {
|
.hx-group[data-theme=dark] .group-data-\[theme\=dark\]\:hx-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.hx-group[data-theme="light"] .group-data-\[theme\=light\]\:hx-hidden {
|
.hx-group[data-theme=light] .group-data-\[theme\=light\]\:hx-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@media (prefers-contrast: more) {
|
@media (prefers-contrast: more) {
|
||||||
@ -3360,6 +3363,9 @@ body:is(html[class~="dark"] *) {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ltr\:hx-right-1:where([dir="ltr"], [dir="ltr"] *) {
|
||||||
|
right: 0.25rem;
|
||||||
|
}
|
||||||
.ltr\:hx-right-1\.5:where([dir="ltr"], [dir="ltr"] *) {
|
.ltr\:hx-right-1\.5:where([dir="ltr"], [dir="ltr"] *) {
|
||||||
right: 0.375rem;
|
right: 0.375rem;
|
||||||
}
|
}
|
||||||
@ -3434,6 +3440,9 @@ body:is(html[class~="dark"] *) {
|
|||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.rtl\:hx-left-1:where([dir="rtl"], [dir="rtl"] *) {
|
||||||
|
left: 0.25rem;
|
||||||
|
}
|
||||||
.rtl\:hx-left-1\.5:where([dir="rtl"], [dir="rtl"] *) {
|
.rtl\:hx-left-1\.5:where([dir="rtl"], [dir="rtl"] *) {
|
||||||
left: 0.375rem;
|
left: 0.375rem;
|
||||||
}
|
}
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - 1rem * 2) / var(--hextra-cards-grid-cols))), 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - 1rem * 2) / var(--hextra-cards-grid-cols))), 1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
.hextra-card {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hextra-card img {
|
.hextra-card img {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
@ -22,7 +18,6 @@
|
|||||||
|
|
||||||
.hextra-card p {
|
.hextra-card p {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .hextra-card svg {
|
.dark .hextra-card svg {
|
||||||
@ -32,11 +27,3 @@
|
|||||||
.dark .hextra-card:hover svg {
|
.dark .hextra-card:hover svg {
|
||||||
color: currentColor;
|
color: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hextra-card-tag {
|
|
||||||
position: absolute;
|
|
||||||
top: 5px;
|
|
||||||
right: 5px;
|
|
||||||
z-index: 10;
|
|
||||||
font-size: .65rem;
|
|
||||||
}
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
document.querySelectorAll('.hextra-tabs-toggle').forEach(function (button) {
|
document.querySelectorAll('.tabs-toggle').forEach(function (button) {
|
||||||
button.addEventListener('click', function (e) {
|
button.addEventListener('click', function (e) {
|
||||||
// set parent tabs to unselected
|
// set parent tabs to unselected
|
||||||
const tabs = Array.from(e.target.parentElement.querySelectorAll('.hextra-tabs-toggle'));
|
const tabs = Array.from(e.target.parentElement.querySelectorAll('.tabs-toggle'));
|
||||||
tabs.map(tab => tab.dataset.state = '');
|
tabs.map(tab => tab.dataset.state = '');
|
||||||
|
|
||||||
// set current tab to selected
|
// set current tab to selected
|
||||||
e.target.dataset.state = 'selected';
|
e.target.dataset.state = 'selected';
|
||||||
|
|
||||||
// set all panels to unselected
|
// set all panels to unselected
|
||||||
const panelsContainer = e.target.parentElement.parentElement.nextElementSibling;
|
const panelsContainer = e.target.parentElement.nextElementSibling;
|
||||||
Array.from(panelsContainer.children).forEach(function (panel) {
|
Array.from(panelsContainer.children).forEach(function (panel) {
|
||||||
panel.dataset.state = '';
|
panel.dataset.state = '';
|
||||||
});
|
});
|
||||||
|
@ -251,23 +251,6 @@ Options for `flexsearch.index`:
|
|||||||
- `heading` - level 1 and level 2 headings
|
- `heading` - level 1 and level 2 headings
|
||||||
- `title` - only include the page title
|
- `title` - only include the page title
|
||||||
|
|
||||||
To customize the search tokenize, set the `params.search.flexsearch.tokenize` parameter in the config file:
|
|
||||||
|
|
||||||
```yaml {filename="hugo.yaml"}
|
|
||||||
params:
|
|
||||||
# ...
|
|
||||||
flexsearch:
|
|
||||||
# full | forward | reverse | strict
|
|
||||||
tokenize: forward
|
|
||||||
```
|
|
||||||
|
|
||||||
Options for [`flexsearch.tokenize`](https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search):
|
|
||||||
|
|
||||||
- `strict` - index whole words
|
|
||||||
- `forward` - incrementally index words in forward direction
|
|
||||||
- `reverse` - incrementally index words in both directions
|
|
||||||
- `full` - index every possible combination
|
|
||||||
|
|
||||||
To exclude a page from the search index, set the `excludeSearch: true` in the front matter of the page:
|
To exclude a page from the search index, set the `excludeSearch: true` in the front matter of the page:
|
||||||
|
|
||||||
```yaml {filename="content/docs/guide/configuration.md"}
|
```yaml {filename="content/docs/guide/configuration.md"}
|
||||||
|
@ -219,25 +219,6 @@ params:
|
|||||||
- `heading` - 一级和二级标题
|
- `heading` - 一级和二级标题
|
||||||
- `title` - 仅搜索标题
|
- `title` - 仅搜索标题
|
||||||
|
|
||||||
要自定义检索分词,请在配置文件中设置`params.search.flexsearch.tokenize`:
|
|
||||||
|
|
||||||
```hugo.yaml
|
|
||||||
params:
|
|
||||||
# ...
|
|
||||||
flexsearch:
|
|
||||||
# full | forward | reverse | strict
|
|
||||||
tokenize: forward
|
|
||||||
```
|
|
||||||
|
|
||||||
[`flexsearch.tokenize`](https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search)的可选项:
|
|
||||||
|
|
||||||
- `strict` - 严格单词匹配
|
|
||||||
- `forward` - 单词前缀匹配
|
|
||||||
- `reverse` - 单词前后缀匹配
|
|
||||||
- `full` - 单词子串匹配。
|
|
||||||
|
|
||||||
> 在默认的分词逻辑下,中文一句话就是一个“单词”
|
|
||||||
|
|
||||||
要从搜索索引中排除页面,更改 front matter 中的 `excludeSearch: true`:
|
要从搜索索引中排除页面,更改 front matter 中的 `excludeSearch: true`:
|
||||||
|
|
||||||
```yaml {filename="content/docs/guide/configuration.md"}
|
```yaml {filename="content/docs/guide/configuration.md"}
|
||||||
|
@ -28,28 +28,14 @@ Hugo از سینتکس [مارکداون](https://en.wikipedia.org/wiki/Markd
|
|||||||
|
|
||||||
[^1]: نقلقول بالا گزیدهای از [سخنرانی](https://www.youtube.com/watch?v=PAAkCSZUG1c) راب پایک در Gopherfest، در تاریخ ۲۷ آبان ۱۳۹۴ است.
|
[^1]: نقلقول بالا گزیدهای از [سخنرانی](https://www.youtube.com/watch?v=PAAkCSZUG1c) راب پایک در Gopherfest، در تاریخ ۲۷ آبان ۱۳۹۴ است.
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
> با اشتراکگذاری حافظه ارتباط برقرار نکنید، حافظه را با برقراری ارتباط به اشتراک بگذارید.<br>
|
|
||||||
> — <cite>راب پایک[^1]</cite>
|
|
||||||
|
|
||||||
[^1]: نقلقول بالا گزیدهای از [سخنرانی](https://www.youtube.com/watch?v=PAAkCSZUG1c) راب پایک در Gopherfest، در تاریخ ۲۷ آبان ۱۳۹۴ است.
|
|
||||||
```
|
|
||||||
|
|
||||||
### جدولها
|
### جدولها
|
||||||
|
|
||||||
جدولها بخشی از مشخصات اصلی مارکداون نیستند، اما Hugo از آنها در خارج از جعبه پشتیبانی میکند.
|
جدولها بخشی از مشخصات اصلی مارکداون نیستند، اما Hugo از آنها در خارج از جعبه پشتیبانی میکند.
|
||||||
|
|
||||||
| نام | سن |
|
نام | سن
|
||||||
|--------|------|
|
--------|------
|
||||||
| گودرز | ۳۰|
|
گودرز | ۳۰
|
||||||
| آصف | ۳۴ |
|
آصف | ۳۴
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
| نام | سن |
|
|
||||||
|--------|------|
|
|
||||||
| گودرز | ۳۰|
|
|
||||||
| آصف | ۳۴ |
|
|
||||||
```
|
|
||||||
|
|
||||||
#### مارکداون درونخطی درون جدولها
|
#### مارکداون درونخطی درون جدولها
|
||||||
|
|
||||||
@ -57,12 +43,6 @@ Hugo از سینتکس [مارکداون](https://en.wikipedia.org/wiki/Markd
|
|||||||
| -------- | -------- | ------ |
|
| -------- | -------- | ------ |
|
||||||
| *کج* | **توپر** | `کد` |
|
| *کج* | **توپر** | `کد` |
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
| کج | توپر | کد |
|
|
||||||
| -------- | -------- | ------ |
|
|
||||||
| *کج* | **توپر** | `کد` |
|
|
||||||
```
|
|
||||||
|
|
||||||
### بلوکهای کد
|
### بلوکهای کد
|
||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
@ -77,24 +57,12 @@ Hugo از سینتکس [مارکداون](https://en.wikipedia.org/wiki/Markd
|
|||||||
2. دومین آیتم
|
2. دومین آیتم
|
||||||
3. سومین آیتم
|
3. سومین آیتم
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
1. اولین آیتم
|
|
||||||
2. دومین آیتم
|
|
||||||
3. سومین آیتم
|
|
||||||
```
|
|
||||||
|
|
||||||
#### فهرست مرتبنشده
|
#### فهرست مرتبنشده
|
||||||
|
|
||||||
* فهرست آیتم
|
* فهرست آیتم
|
||||||
* یک آیتم دیگه
|
* یک آیتم دیگه
|
||||||
* و یک آیتم دیگه
|
* و یک آیتم دیگه
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
* فهرست آیتم
|
|
||||||
* یک آیتم دیگه
|
|
||||||
* و یک آیتم دیگه
|
|
||||||
```
|
|
||||||
|
|
||||||
#### فهرست تو در تو
|
#### فهرست تو در تو
|
||||||
|
|
||||||
* میوه
|
* میوه
|
||||||
@ -105,31 +73,13 @@ Hugo از سینتکس [مارکداون](https://en.wikipedia.org/wiki/Markd
|
|||||||
* شیر
|
* شیر
|
||||||
* پنیر
|
* پنیر
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
* میوه
|
|
||||||
* سیب
|
|
||||||
* پرتقال
|
|
||||||
* موز
|
|
||||||
* لبنیات
|
|
||||||
* شیر
|
|
||||||
* پنیر
|
|
||||||
```
|
|
||||||
|
|
||||||
### عکسها
|
### عکسها
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||

|
|
||||||
```
|
|
||||||
|
|
||||||
با توضیحات:
|
با توضیحات:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||

|
|
||||||
```
|
|
||||||
|
|
||||||
## پیکربندی
|
## پیکربندی
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Hugo supports [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax for form
|
|||||||
| Style | Syntax | Example | Output |
|
| Style | Syntax | Example | Output |
|
||||||
| -------- | -------- | ------ | ------ |
|
| -------- | -------- | ------ | ------ |
|
||||||
| Bold | `**bold text**` | `**bold text**` | **bold text** |
|
| Bold | `**bold text**` | `**bold text**` | **bold text** |
|
||||||
| Italic | `*italicized text*` | `*italicized text*` | *italicized text* |
|
| Italic | `*italicized text*` | `*italicized text* | *italicized text* |
|
||||||
| Strikethrough | `~~strikethrough text~~` | `~~strikethrough text~~` | ~~strikethrough text~~ |
|
| Strikethrough | `~~strikethrough text~~` | `~~strikethrough text~~` | ~~strikethrough text~~ |
|
||||||
| Subscript | `<sub></sub>` | `This is a <sub>subscript</sub> text` | This is a <sub>subscript</sub> text |
|
| Subscript | `<sub></sub>` | `This is a <sub>subscript</sub> text` | This is a <sub>subscript</sub> text |
|
||||||
| Superscript | `<sup></sup>` | `This is a <sup>superscript</sup> text` | This is a <sup>superscript</sup> text |
|
| Superscript | `<sup></sup>` | `This is a <sup>superscript</sup> text` | This is a <sup>superscript</sup> text |
|
||||||
@ -28,28 +28,14 @@ Blockquote with attribution
|
|||||||
|
|
||||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
> Don't communicate by sharing memory, share memory by communicating.<br>
|
|
||||||
> — <cite>Rob Pike[^1]</cite>
|
|
||||||
|
|
||||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
|
||||||
```
|
|
||||||
|
|
||||||
### Tables
|
### Tables
|
||||||
|
|
||||||
Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.
|
Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.
|
||||||
|
|
||||||
| Name | Age |
|
Name | Age
|
||||||
|--------|------|
|
--------|------
|
||||||
| Bob | 27 |
|
Bob | 27
|
||||||
| Alice | 23 |
|
Alice | 23
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
| Name | Age |
|
|
||||||
|--------|------|
|
|
||||||
| Bob | 27 |
|
|
||||||
| Alice | 23 |
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Inline Markdown within tables
|
#### Inline Markdown within tables
|
||||||
|
|
||||||
@ -57,12 +43,6 @@ Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-
|
|||||||
| -------- | -------- | ------ |
|
| -------- | -------- | ------ |
|
||||||
| *italics* | **bold** | `code` |
|
| *italics* | **bold** | `code` |
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
| Italics | Bold | Code |
|
|
||||||
| -------- | -------- | ------ |
|
|
||||||
| *italics* | **bold** | `code` |
|
|
||||||
```
|
|
||||||
|
|
||||||
### Code Blocks
|
### Code Blocks
|
||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
@ -77,24 +57,12 @@ Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-
|
|||||||
2. Second item
|
2. Second item
|
||||||
3. Third item
|
3. Third item
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
1. First item
|
|
||||||
2. Second item
|
|
||||||
3. Third item
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Unordered List
|
#### Unordered List
|
||||||
|
|
||||||
* List item
|
* List item
|
||||||
* Another item
|
* Another item
|
||||||
* And another item
|
* And another item
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
* List item
|
|
||||||
* Another item
|
|
||||||
* And another item
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Nested list
|
#### Nested list
|
||||||
|
|
||||||
* Fruit
|
* Fruit
|
||||||
@ -105,31 +73,13 @@ Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-
|
|||||||
* Milk
|
* Milk
|
||||||
* Cheese
|
* Cheese
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
* Fruit
|
|
||||||
* Apple
|
|
||||||
* Orange
|
|
||||||
* Banana
|
|
||||||
* Dairy
|
|
||||||
* Milk
|
|
||||||
* Cheese
|
|
||||||
```
|
|
||||||
|
|
||||||
### Images
|
### Images
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||

|
|
||||||
```
|
|
||||||
|
|
||||||
With caption:
|
With caption:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||

|
|
||||||
```
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@ -28,28 +28,14 @@ Hugo 支持 [Markdown](https://en.wikipedia.org/wiki/Markdown) 来书写内容
|
|||||||
|
|
||||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
> Don't communicate by sharing memory, share memory by communicating.<br>
|
|
||||||
> — <cite>Rob Pike[^1]</cite>
|
|
||||||
|
|
||||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 表格
|
### 表格
|
||||||
|
|
||||||
表格并非核心 Markdown 规范,但 Hugo 支持开箱即用的表格:
|
表格并非核心 Markdown 规范,但 Hugo 支持开箱即用的表格:
|
||||||
|
|
||||||
| Name | Age |
|
Name | Age
|
||||||
|--------|------|
|
--------|------
|
||||||
| Bob | 27 |
|
Bob | 27
|
||||||
| Alice | 23 |
|
Alice | 23
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
| Name | Age |
|
|
||||||
|--------|------|
|
|
||||||
| Bob | 27 |
|
|
||||||
| Alice | 23 |
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Markdown 表格中的内联
|
#### Markdown 表格中的内联
|
||||||
|
|
||||||
@ -57,12 +43,6 @@ Hugo 支持 [Markdown](https://en.wikipedia.org/wiki/Markdown) 来书写内容
|
|||||||
| -------- | -------- | ------ |
|
| -------- | -------- | ------ |
|
||||||
| *italics* | **bold** | `code` |
|
| *italics* | **bold** | `code` |
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
| Italics | Bold | Code |
|
|
||||||
| -------- | -------- | ------ |
|
|
||||||
| *italics* | **bold** | `code` |
|
|
||||||
```
|
|
||||||
|
|
||||||
### 代码块
|
### 代码块
|
||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
@ -77,24 +57,12 @@ Hugo 支持 [Markdown](https://en.wikipedia.org/wiki/Markdown) 来书写内容
|
|||||||
2. Second item
|
2. Second item
|
||||||
3. Third item
|
3. Third item
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
1. First item
|
|
||||||
2. Second item
|
|
||||||
3. Third item
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 无序列表
|
#### 无序列表
|
||||||
|
|
||||||
* List item
|
* List item
|
||||||
* Another item
|
* Another item
|
||||||
* And another item
|
* And another item
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
* List item
|
|
||||||
* Another item
|
|
||||||
* And another item
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 嵌套列表
|
#### 嵌套列表
|
||||||
|
|
||||||
* Fruit
|
* Fruit
|
||||||
@ -105,31 +73,13 @@ Hugo 支持 [Markdown](https://en.wikipedia.org/wiki/Markdown) 来书写内容
|
|||||||
* Milk
|
* Milk
|
||||||
* Cheese
|
* Cheese
|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||
* Fruit
|
|
||||||
* Apple
|
|
||||||
* Orange
|
|
||||||
* Banana
|
|
||||||
* Dairy
|
|
||||||
* Milk
|
|
||||||
* Cheese
|
|
||||||
```
|
|
||||||
|
|
||||||
### 图片
|
### 图片
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||

|
|
||||||
```
|
|
||||||
|
|
||||||
带有标题:
|
带有标题:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```markdown {filename=Markdown}
|
|
||||||

|
|
||||||
```
|
|
||||||
|
|
||||||
## 配置
|
## 配置
|
||||||
|
|
||||||
|
@ -82,45 +82,6 @@ weight: 2
|
|||||||
It is recommended to keep the sidebar not too deep. If you have a lot of content, consider **splitting them into multiple sections**.
|
It is recommended to keep the sidebar not too deep. If you have a lot of content, consider **splitting them into multiple sections**.
|
||||||
{{< /callout >}}
|
{{< /callout >}}
|
||||||
|
|
||||||
## Breadcrumb Navigation
|
|
||||||
|
|
||||||
Breadcrumbs are auto-generated based on the directory structure of `/content`.
|
|
||||||
|
|
||||||
For example, consider the file structure [demonstrated above](#directory-structure). Given that structure, the breadcrumbs atop the page at `/docs/guide/organize-files/` would appear automatically as follows:
|
|
||||||
|
|
||||||
```
|
|
||||||
Documentation > Guide > Organize Files
|
|
||||||
```
|
|
||||||
|
|
||||||
### Customizing Breadcrumb Link Titles
|
|
||||||
|
|
||||||
By default, each breadcrumb link is generated based on that page's `title` parameter. You can customize this by specifying a `linkTitle`.
|
|
||||||
|
|
||||||
For example, if instead of `Organize Files` we wanted the breadcrumb to be `Foo Bar`:
|
|
||||||
|
|
||||||
```yaml {filename="content/docs/guide/organize-files.md"}
|
|
||||||
---
|
|
||||||
linkTitle: Foo Bar
|
|
||||||
title: Organize Files
|
|
||||||
---
|
|
||||||
```
|
|
||||||
|
|
||||||
This would now generate the following breadcrumbs:
|
|
||||||
```
|
|
||||||
Documentation > Guide > Foo Bar
|
|
||||||
```
|
|
||||||
|
|
||||||
### Hiding Breadcrumbs
|
|
||||||
|
|
||||||
You can hide breadcrumbs completely from a page by specfying `breadcrumbs: false` in its front matter:
|
|
||||||
|
|
||||||
```yaml {filename="content/docs/guide/organize-files.md"}
|
|
||||||
---
|
|
||||||
breadcrumbs: false
|
|
||||||
title: Organize Files
|
|
||||||
---
|
|
||||||
```
|
|
||||||
|
|
||||||
## Configure Content Directory
|
## Configure Content Directory
|
||||||
|
|
||||||
By default, the root `content/` directory is used by Hugo to build the site.
|
By default, the root `content/` directory is used by Hugo to build the site.
|
||||||
|
@ -6,7 +6,7 @@ prev: /docs/guide
|
|||||||
|
|
||||||
## 目录结构
|
## 目录结构
|
||||||
|
|
||||||
默认情况下,Hugo 在 `content` 目录中搜索 Markdown 文件,目录的结构决定了网站的最终输出结构。
|
默认情况下,Hugo 在 `context` 目录中搜索 Markdown 文件,目录的结构决定了网站的最终输出结构。
|
||||||
以示例网站为例:
|
以示例网站为例:
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
@ -7,12 +7,11 @@ linkTitle: Cards
|
|||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
{{< card link="../callout" title="Callout" icon="warning" >}}
|
{{< card link="../callout" title="Callout" icon="warning" >}}
|
||||||
{{< card link="../callout" title="Card with tag" icon="tag" tag="custom tag">}}
|
|
||||||
{{< card link="/" title="No Icon" >}}
|
{{< card link="/" title="No Icon" >}}
|
||||||
{{< /cards >}}
|
{{< /cards >}}
|
||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
{{< card link="/" title="Image Card" image="https://github.com/user-attachments/assets/71b7e3ec-1a8d-4582-b600-5425c6cc0407" subtitle="Internet Image" >}}
|
{{< card link="/" title="Image Card" image="https://source.unsplash.com/featured/800x600?landscape" subtitle="Unsplash Landscape" >}}
|
||||||
{{< card link="/" title="Local Image" image="/images/card-image-unprocessed.jpg" subtitle="Raw image under static directory." >}}
|
{{< card link="/" title="Local Image" image="/images/card-image-unprocessed.jpg" subtitle="Raw image under static directory." >}}
|
||||||
{{< card link="/" title="Local Image" image="images/space.jpg" subtitle="Image under assets directory, processed by Hugo." method="Resize" options="600x q80 webp" >}}
|
{{< card link="/" title="Local Image" image="images/space.jpg" subtitle="Image under assets directory, processed by Hugo." method="Resize" options="600x q80 webp" >}}
|
||||||
{{< /cards >}}
|
{{< /cards >}}
|
||||||
@ -22,7 +21,6 @@ linkTitle: Cards
|
|||||||
```
|
```
|
||||||
{{</* cards */>}}
|
{{</* cards */>}}
|
||||||
{{</* card link="../callout" title="Callout" icon="warning" */>}}
|
{{</* card link="../callout" title="Callout" icon="warning" */>}}
|
||||||
{{</* card link="../callout" title="Card with tag" icon="warning" tag= "A custom tag" */>}}
|
|
||||||
{{</* card link="/" title="No Icon" */>}}
|
{{</* card link="/" title="No Icon" */>}}
|
||||||
{{</* /cards */>}}
|
{{</* /cards */>}}
|
||||||
```
|
```
|
||||||
@ -38,13 +36,11 @@ linkTitle: Cards
|
|||||||
## Card Parameters
|
## Card Parameters
|
||||||
|
|
||||||
| Parameter | Description |
|
| Parameter | Description |
|
||||||
|----------- |-----------------------------------------------------------------|
|
|----------- |---------------------------------------|
|
||||||
| `link` | URL (internal or external). |
|
| `link` | URL (internal or external). |
|
||||||
| `title` | Title heading for the card. |
|
| `title` | Title heading for the card. |
|
||||||
| `subtitle` | Subtitle heading (supports Markdown). |
|
| `subtitle` | Subtitle heading (supports Markdown). |
|
||||||
| `icon` | Name of the icon. |
|
| `icon` | Name of the icon. |
|
||||||
| `tag` | Text in tag. |
|
|
||||||
| `tagColor` | Color of the tag: `gray` (default), `yellow`, `red` and `blue`. |
|
|
||||||
|
|
||||||
## Image Card
|
## Image Card
|
||||||
|
|
||||||
@ -66,24 +62,3 @@ Hextra auto-detects if image processing is needed during build and applies the `
|
|||||||
It currently supports these `method`: `Resize`, `Fit`, `Fill` and `Crop`.
|
It currently supports these `method`: `Resize`, `Fit`, `Fill` and `Crop`.
|
||||||
|
|
||||||
For more on Hugo's built in image processing commands, methods, and options see their [Image Processing Documentation](https://gohugo.io/content-management/image-processing/).
|
For more on Hugo's built in image processing commands, methods, and options see their [Image Processing Documentation](https://gohugo.io/content-management/image-processing/).
|
||||||
|
|
||||||
## Tags
|
|
||||||
|
|
||||||
Card supports adding tags which could be useful to show extra status information.
|
|
||||||
|
|
||||||
{{< cards >}}
|
|
||||||
{{< card link="../callout" title="Card with default tag" tag="tag text" >}}
|
|
||||||
{{< card link="../callout" title="Card with error tag" tag="tag text" tagType="error" >}}
|
|
||||||
{{< card link="../callout" title="Card with info tag" tag="tag text" tagType="info" >}}
|
|
||||||
{{< card link="../callout" title="Card with warning tag" tag="tag text" tagType="warning" >}}
|
|
||||||
{{< card link="/" title="Image Card" image="https://github.com/user-attachments/assets/71b7e3ec-1a8d-4582-b600-5425c6cc0407" subtitle="Internet Image" tag="tag text" tagType="error" >}}
|
|
||||||
{{< /cards >}}
|
|
||||||
|
|
||||||
```
|
|
||||||
{{</* cards */>}}
|
|
||||||
{{</* card link="../callout" title="Card with default tag color" tag="tag text" */>}}
|
|
||||||
{{</* card link="../callout" title="Card with default red tag" tag="tag text" tagType="error" */>}}
|
|
||||||
{{</* card link="../callout" title="Card with blue tag" tag="tag text" tagType="info" */>}}
|
|
||||||
{{</* card link="../callout" title="Card with yellow tag" tag="tag text" tagType="warning" */>}}
|
|
||||||
{{</* /cards */>}}
|
|
||||||
```
|
|
||||||
|
@ -78,18 +78,11 @@ def main():
|
|||||||
say_hello()
|
say_hello()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Copy Button
|
### Copy Button
|
||||||
|
|
||||||
By default, copy button is enabled for code blocks. Its behavior can changed by modifying the site configuration file:
|
By default, copy button is enabled for code blocks.
|
||||||
|
|
||||||
```yaml {linenos=table,linenostart=42,filename="hugo.yaml"}
|
|
||||||
params:
|
|
||||||
highlight:
|
|
||||||
copy:
|
|
||||||
enable: true
|
|
||||||
# hover | always
|
|
||||||
display: hover
|
|
||||||
```
|
|
||||||
|
|
||||||
## Supported Languages
|
## Supported Languages
|
||||||
|
|
||||||
|
@ -13,13 +13,6 @@ Open source projects powered by Hextra
|
|||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
|
|
||||||
{{< card
|
|
||||||
link="https://github.com/axivo/website"
|
|
||||||
title="AXIVO Docs"
|
|
||||||
image="https://github.com/imfing/hextra/assets/19806136/f22f0710-23a0-430b-8bad-616283b8a3e5"
|
|
||||||
imageStyle="object-fit:cover; aspect-ratio:16/9;"
|
|
||||||
>}}
|
|
||||||
|
|
||||||
{{< card
|
{{< card
|
||||||
link="https://github.com/infracourse/web"
|
link="https://github.com/infracourse/web"
|
||||||
title="Stanford CS 40"
|
title="Stanford CS 40"
|
||||||
|
@ -13,13 +13,6 @@ layout: wide
|
|||||||
|
|
||||||
{{< cards >}}
|
{{< cards >}}
|
||||||
|
|
||||||
{{< card
|
|
||||||
link="https://github.com/axivo/website"
|
|
||||||
title="AXIVO Docs"
|
|
||||||
image="https://github.com/imfing/hextra/assets/19806136/f22f0710-23a0-430b-8bad-616283b8a3e5"
|
|
||||||
imageStyle="object-fit:cover; aspect-ratio:16/9;"
|
|
||||||
>}}
|
|
||||||
|
|
||||||
{{< card
|
{{< card
|
||||||
link="https://github.com/infracourse/web"
|
link="https://github.com/infracourse/web"
|
||||||
title="Stanford CS 40"
|
title="Stanford CS 40"
|
||||||
|
@ -151,12 +151,6 @@ params:
|
|||||||
sortBy: date
|
sortBy: date
|
||||||
sortOrder: desc # or "asc"
|
sortOrder: desc # or "asc"
|
||||||
|
|
||||||
highlight:
|
|
||||||
copy:
|
|
||||||
enable: true
|
|
||||||
# hover | always
|
|
||||||
display: hover
|
|
||||||
|
|
||||||
comments:
|
comments:
|
||||||
enable: false
|
enable: false
|
||||||
type: giscus
|
type: giscus
|
||||||
|
@ -211,7 +211,6 @@
|
|||||||
"hextra-card-icon",
|
"hextra-card-icon",
|
||||||
"hextra-card-image",
|
"hextra-card-image",
|
||||||
"hextra-card-subtitle",
|
"hextra-card-subtitle",
|
||||||
"hextra-card-tag",
|
|
||||||
"hextra-cards",
|
"hextra-cards",
|
||||||
"hextra-code-block",
|
"hextra-code-block",
|
||||||
"hextra-code-copy-btn",
|
"hextra-code-copy-btn",
|
||||||
@ -223,8 +222,6 @@
|
|||||||
"hextra-footer",
|
"hextra-footer",
|
||||||
"hextra-scrollbar",
|
"hextra-scrollbar",
|
||||||
"hextra-sidebar-collapsible-button",
|
"hextra-sidebar-collapsible-button",
|
||||||
"hextra-tabs-panel",
|
|
||||||
"hextra-tabs-toggle",
|
|
||||||
"hextra-toc",
|
"hextra-toc",
|
||||||
"highlight",
|
"highlight",
|
||||||
"hover:dark:hx-bg-primary-500/10",
|
"hover:dark:hx-bg-primary-500/10",
|
||||||
@ -395,9 +392,7 @@
|
|||||||
"hx-overflow-x-auto",
|
"hx-overflow-x-auto",
|
||||||
"hx-overflow-x-hidden",
|
"hx-overflow-x-hidden",
|
||||||
"hx-overflow-y-auto",
|
"hx-overflow-y-auto",
|
||||||
"hx-overflow-y-hidden",
|
|
||||||
"hx-overscroll-contain",
|
"hx-overscroll-contain",
|
||||||
"hx-overscroll-x-contain",
|
|
||||||
"hx-p-0.5",
|
"hx-p-0.5",
|
||||||
"hx-p-1",
|
"hx-p-1",
|
||||||
"hx-p-1.5",
|
"hx-p-1.5",
|
||||||
@ -419,7 +414,6 @@
|
|||||||
"hx-pt-8",
|
"hx-pt-8",
|
||||||
"hx-px-1.5",
|
"hx-px-1.5",
|
||||||
"hx-px-2",
|
"hx-px-2",
|
||||||
"hx-px-2.5",
|
|
||||||
"hx-px-3",
|
"hx-px-3",
|
||||||
"hx-px-4",
|
"hx-px-4",
|
||||||
"hx-px-6",
|
"hx-px-6",
|
||||||
@ -482,7 +476,6 @@
|
|||||||
"hx-text-white",
|
"hx-text-white",
|
||||||
"hx-text-xl",
|
"hx-text-xl",
|
||||||
"hx-text-xs",
|
"hx-text-xs",
|
||||||
"hx-text-xxs",
|
|
||||||
"hx-text-yellow-900",
|
"hx-text-yellow-900",
|
||||||
"hx-to-gray-600",
|
"hx-to-gray-600",
|
||||||
"hx-top-0",
|
"hx-top-0",
|
||||||
@ -610,6 +603,8 @@
|
|||||||
"steps",
|
"steps",
|
||||||
"subheading-anchor",
|
"subheading-anchor",
|
||||||
"success-icon",
|
"success-icon",
|
||||||
|
"tabs-panel",
|
||||||
|
"tabs-toggle",
|
||||||
"theme-toggle",
|
"theme-toggle",
|
||||||
"xl:hx-block"
|
"xl:hx-block"
|
||||||
],
|
],
|
||||||
|
14
i18n/he.yaml
14
i18n/he.yaml
@ -1,14 +0,0 @@
|
|||||||
backToTop: "גלול למעלה"
|
|
||||||
changeLanguage: "שנה שפה"
|
|
||||||
changeTheme: "שנה ערכת צבעים"
|
|
||||||
copyCode: "העתק קוד"
|
|
||||||
copyright: "© 2024 פרוייקט Hextra"
|
|
||||||
dark: "כהה"
|
|
||||||
editThisPage: "← ערוך עמוד זה בגיטהאב"
|
|
||||||
lastUpdated: "עודכן לאחרונה ב"
|
|
||||||
light: "בהיר"
|
|
||||||
noResultsFound: "לא נמצאו תוצאות."
|
|
||||||
onThisPage: "בעמוד זה"
|
|
||||||
poweredBy: "Hextra מופעל על-ידי"
|
|
||||||
readMore: "← קרא עוד"
|
|
||||||
searchPlaceholder: "חיפוש..."
|
|
14
i18n/uk.yaml
14
i18n/uk.yaml
@ -1,14 +0,0 @@
|
|||||||
backToTop: "Прокрутити до початку"
|
|
||||||
changeLanguage: "Змінити мову"
|
|
||||||
changeTheme: "Змінити тему"
|
|
||||||
copyCode: "Скопіювати код"
|
|
||||||
copyright: "2024 Проєкт Hextra."
|
|
||||||
dark: "Темна"
|
|
||||||
editThisPage: "Редагувати цю сторінку на Github →"
|
|
||||||
lastUpdated: "Востаннє оновлено"
|
|
||||||
light: "Світла"
|
|
||||||
noResultsFound: "Не знайдено результатів"
|
|
||||||
onThisPage: "На цій сторінці"
|
|
||||||
poweredBy: "Працює завдяки Hextra"
|
|
||||||
readMore: "Читати більше →"
|
|
||||||
searchPlaceholder: "Пошук..."
|
|
@ -1,9 +1,8 @@
|
|||||||
{{- if (default true .Params.breadcrumbs) }}
|
|
||||||
<div class="hx-mt-1.5 hx-flex hx-items-center hx-gap-1 hx-overflow-hidden hx-text-sm hx-text-gray-500 dark:hx-text-gray-400 contrast-more:hx-text-current">
|
<div class="hx-mt-1.5 hx-flex hx-items-center hx-gap-1 hx-overflow-hidden hx-text-sm hx-text-gray-500 dark:hx-text-gray-400 contrast-more:hx-text-current">
|
||||||
{{- range .Ancestors.Reverse }}
|
{{- range .Ancestors.Reverse }}
|
||||||
{{- if not .IsHome }}
|
{{- if not .IsHome }}
|
||||||
<div class="hx-whitespace-nowrap hx-transition-colors hx-min-w-[24px] hx-overflow-hidden hx-text-ellipsis hover:hx-text-gray-900 dark:hover:hx-text-gray-100">
|
<div class="hx-whitespace-nowrap hx-transition-colors hx-min-w-[24px] hx-overflow-hidden hx-text-ellipsis hover:hx-text-gray-900 dark:hover:hx-text-gray-100">
|
||||||
<a href="{{ .RelPermalink }}">{{- partial "utils/title" . -}}</a>
|
<a href="{{ .Permalink }}">{{- partial "utils/title" . -}}</a>
|
||||||
</div>
|
</div>
|
||||||
{{- partial "utils/icon.html" (dict "name" "chevron-right" "attributes" "class=\"hx-w-3.5 hx-shrink-0 rtl:-hx-rotate-180\"") -}}
|
{{- partial "utils/icon.html" (dict "name" "chevron-right" "attributes" "class=\"hx-w-3.5 hx-shrink-0 rtl:-hx-rotate-180\"") -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
@ -12,4 +11,3 @@
|
|||||||
{{- partial "utils/title" . -}}
|
{{- partial "utils/title" . -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end -}}
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
{{- partial "language-switch.html" (dict "context" .) -}}
|
{{- partial "language-switch.html" (dict "context" .) -}}
|
||||||
{{- with $displayThemeToggle }}{{ partial "theme-toggle.html" }}{{ end -}}
|
{{- with $displayThemeToggle }}{{ partial "theme-toggle.html" }}{{ end -}}
|
||||||
</div>
|
</div>
|
||||||
{{- if or hugo.IsMultilingual $displayThemeToggle -}}
|
{{- if or site.IsMultiLingual $displayThemeToggle -}}
|
||||||
<hr class="dark:hx-border-neutral-800" />
|
<hr class="dark:hx-border-neutral-800" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{{- $changeLanguage := (T "changeLanguage") | default "Change language" -}}
|
{{- $changeLanguage := (T "changeLanguage") | default "Change language" -}}
|
||||||
|
|
||||||
{{- if hugo.IsMultilingual -}}
|
{{- if site.IsMultiLingual -}}
|
||||||
<div class="hx-flex hx-justify-items-start {{ if $grow }}hx-grow{{ end }}">
|
<div class="hx-flex hx-justify-items-start {{ if $grow }}hx-grow{{ end }}">
|
||||||
<button
|
<button
|
||||||
title="{{ $changeLanguage }}"
|
title="{{ $changeLanguage }}"
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
{{- $width := .width -}}
|
{{- $width := .width -}}
|
||||||
{{- $height := .height -}}
|
{{- $height := .height -}}
|
||||||
{{- $imageStyle := .imageStyle -}}
|
{{- $imageStyle := .imageStyle -}}
|
||||||
{{- $tag := .tag -}}
|
|
||||||
{{- $tagType := .tagType -}}
|
|
||||||
|
|
||||||
{{ $linkClass := "hover:hx-border-gray-300 hx-bg-transparent hx-shadow-sm dark:hx-border-neutral-800 hover:hx-bg-slate-50 hover:hx-shadow-md dark:hover:hx-border-neutral-700 dark:hover:hx-bg-neutral-900" }}
|
{{ $linkClass := "hover:hx-border-gray-300 hx-bg-transparent hx-shadow-sm dark:hx-border-neutral-800 hover:hx-bg-slate-50 hover:hx-shadow-md dark:hover:hx-border-neutral-700 dark:hover:hx-bg-neutral-900" }}
|
||||||
{{- with $image -}}
|
{{- with $image -}}
|
||||||
@ -52,17 +50,5 @@
|
|||||||
{{- with $subtitle -}}
|
{{- with $subtitle -}}
|
||||||
<div class="hextra-card-subtitle hx-line-clamp-3 hx-text-sm hx-font-normal hx-text-gray-500 dark:hx-text-gray-400 hx-px-4 hx-mb-4 hx-mt-2">{{- $subtitle | markdownify -}}</div>
|
<div class="hextra-card-subtitle hx-line-clamp-3 hx-text-sm hx-font-normal hx-text-gray-500 dark:hx-text-gray-400 hx-px-4 hx-mb-4 hx-mt-2">{{- $subtitle | markdownify -}}</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if $tag }}
|
|
||||||
{{ $defaultClass := "hx-text-gray-600 hx-text-xxs hx-bg-gray-100 dark:hx-bg-neutral-800 dark:hx-text-neutral-200" }}
|
|
||||||
{{ $warningClass := "hx-border-yellow-100 hx-bg-yellow-50 hx-text-yellow-900 dark:hx-border-yellow-200/30 dark:hx-bg-yellow-700/30 dark:hx-text-yellow-200" }}
|
|
||||||
{{ $infoClass := "hx-border-blue-200 hx-bg-blue-100 hx-text-blue-900 dark:hx-border-blue-200/30 dark:hx-bg-blue-900/30 dark:hx-text-blue-200" }}
|
|
||||||
{{ $errorClass := "hx-border-red-200 hx-bg-red-100 hx-text-red-900 dark:hx-border-red-200/30 dark:hx-bg-red-900/30 dark:hx-text-red-200" }}
|
|
||||||
|
|
||||||
{{ $tagClass := cond (eq $tagType "info") $infoClass (cond (eq $tagType "warning") $warningClass (cond (eq $tagType "error") $errorClass $defaultClass)) }}
|
|
||||||
<div class="hextra-card-tag">
|
|
||||||
<span class="hx-inline-block hx-rounded-full hx-px-2.5 hx-leading-6 {{ $tagClass }}">{{ $tag }}</span>
|
|
||||||
</div>
|
|
||||||
{{- end -}}
|
|
||||||
</a>
|
</a>
|
||||||
{{- /* Strip trailing newline. */ -}}
|
{{- /* Strip trailing newline. */ -}}
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
{{ $switchesClass := cond $disableSidebar "md:hx-hidden" "" -}}
|
{{ $switchesClass := cond $disableSidebar "md:hx-hidden" "" -}}
|
||||||
{{ $displayThemeToggle := (site.Params.theme.displayToggle | default true) -}}
|
{{ $displayThemeToggle := (site.Params.theme.displayToggle | default true) -}}
|
||||||
|
|
||||||
{{ if or hugo.IsMultilingual $displayThemeToggle }}
|
{{ if or site.IsMultiLingual $displayThemeToggle }}
|
||||||
<div class="{{ $switchesClass }} {{ with hugo.IsMultilingual }}hx-justify-end{{ end }} hx-sticky hx-bottom-0 hx-bg-white dark:hx-bg-dark hx-mx-4 hx-py-4 hx-shadow-[0_-12px_16px_#fff] hx-flex hx-items-center hx-gap-2 dark:hx-border-neutral-800 dark:hx-shadow-[0_-12px_16px_#111] contrast-more:hx-border-neutral-400 contrast-more:hx-shadow-none contrast-more:dark:hx-shadow-none hx-border-t" data-toggle-animation="show">
|
<div class="{{ $switchesClass }} {{ with site.IsMultiLingual }}hx-justify-end{{ end }} hx-sticky hx-bottom-0 hx-bg-white dark:hx-bg-dark hx-mx-4 hx-py-4 hx-shadow-[0_-12px_16px_#fff] hx-flex hx-items-center hx-gap-2 dark:hx-border-neutral-800 dark:hx-shadow-[0_-12px_16px_#111] contrast-more:hx-border-neutral-400 contrast-more:hx-shadow-none contrast-more:dark:hx-shadow-none hx-border-t" data-toggle-animation="show">
|
||||||
{{- with hugo.IsMultilingual -}}
|
{{- with site.IsMultiLingual -}}
|
||||||
{{- partial "language-switch" (dict "context" $context "grow" true) -}}
|
{{- partial "language-switch" (dict "context" $context "grow" true) -}}
|
||||||
{{- with $displayThemeToggle }}{{ partial "theme-toggle" (dict "hideLabel" true) }}{{ end -}}
|
{{- with $displayThemeToggle }}{{ partial "theme-toggle" (dict "hideLabel" true) }}{{ end -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
{{- $width := 0 -}}
|
{{- $width := 0 -}}
|
||||||
{{- $height := 0 -}}
|
{{- $height := 0 -}}
|
||||||
{{- $imageStyle := .Get "imageStyle" -}}
|
{{- $imageStyle := .Get "imageStyle" -}}
|
||||||
{{- $tag := .Get "tag" -}}
|
|
||||||
{{- $tagType := .Get "tagType" -}}
|
|
||||||
|
|
||||||
{{/* Image processing options */}}
|
{{/* Image processing options */}}
|
||||||
{{- $method := .Get "method" | default "Resize" | humanize -}}
|
{{- $method := .Get "method" | default "Resize" | humanize -}}
|
||||||
@ -50,7 +48,5 @@
|
|||||||
"width" $width
|
"width" $width
|
||||||
"height" $height
|
"height" $height
|
||||||
"imageStyle" $imageStyle
|
"imageStyle" $imageStyle
|
||||||
"tag" $tag
|
|
||||||
"tagType" $tagType
|
|
||||||
)
|
)
|
||||||
-}}
|
-}}
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
{{- $class := .Get "class" -}}
|
|
||||||
{{- $cols := .Get "cols" | default 2 -}}
|
|
||||||
{{- $image := .Get "image" -}}
|
|
||||||
{{- $imageCard := .Get "imageCard" | default false -}}
|
|
||||||
{{- $imageClass := .Get "imageClass" -}}
|
|
||||||
{{- $imageLink := .Get "imageLink" -}}
|
|
||||||
{{- $imageLinkExternal := hasPrefix $imageLink "http" -}}
|
|
||||||
{{- $imageStyle := .Get "imageStyle" -}}
|
|
||||||
{{- $imageTitle := .Get "imageTitle" -}}
|
|
||||||
{{- $imageWidth := .Get "imageWidth" | default 350 -}}
|
|
||||||
{{- $imageHeight := .Get "imageHeight" | default 350 -}}
|
|
||||||
{{- $style := .Get "style" -}}
|
|
||||||
|
|
||||||
{{- $css := printf "--hextra-feature-grid-cols: %v; %s" $cols $style -}}
|
|
||||||
{{- $href := cond (hasPrefix $imageLink "/") ($imageLink | relURL) $imageLink -}}
|
|
||||||
{{- if hasPrefix $image "/" -}}
|
|
||||||
{{- $image = relURL (strings.TrimPrefix "/" $image) -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
<div
|
|
||||||
class="{{ $class }} hextra-feature-grid hx-grid sm:max-lg:hx-grid-cols-2 max-sm:hx-grid-cols-1 hx-gap-4 hx-w-full not-prose"
|
|
||||||
{{ with $css }}style="{{ . | safeCSS }}"{{ end }}
|
|
||||||
>
|
|
||||||
<div class="hx-w-full">
|
|
||||||
{{ .Inner }}
|
|
||||||
</div>
|
|
||||||
{{- with $image }}
|
|
||||||
<div class="hx-mx-auto">
|
|
||||||
<a
|
|
||||||
{{ with $imageLink }}href="{{ $href }}" {{ with $imageLinkExternal }} target="_blank" rel="noreferrer"{{ end }}{{ end }}
|
|
||||||
{{ with $imageStyle }}style="{{ . | safeCSS }}"{{ end }}
|
|
||||||
class="{{ $imageClass }} {{ if $imageCard }}hextra-feature-card not-prose hx-block hx-relative hx-p-6 hx-overflow-hidden hx-rounded-3xl hx-border hx-border-gray-200 hover:hx-border-gray-300 dark:hx-border-neutral-800 dark:hover:hx-border-neutral-700 before:hx-pointer-events-none before:hx-absolute before:hx-inset-0 before:hx-bg-glass-gradient{{ end }}"
|
|
||||||
>
|
|
||||||
<img src="{{ $image }}" width="{{ $imageWidth }}" height="{{ $imageHeight }}" {{ with $imageTitle }}alt="{{ $imageTitle }}"{{ end }}/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{{ end -}}
|
|
||||||
</div>
|
|
10
layouts/shortcodes/hextra/hero-section.html
Normal file
10
layouts/shortcodes/hextra/hero-section.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{{- $style := .Get "style" -}}
|
||||||
|
{{- $heading := int (strings.TrimPrefix "h" (.Get "heading" | default "h2")) -}}
|
||||||
|
{{- $size := cond (ge $heading 4) "xl" (cond (eq $heading 3) "2xl" "4xl") -}}
|
||||||
|
|
||||||
|
<h{{ $heading }}
|
||||||
|
class="not-prose hx-text-{{ $size }} hx-font-bold hx-leading-none hx-tracking-tighter md:hx-text-3xl hx-py-2 hx-bg-clip-text hx-text-transparent hx-bg-gradient-to-r hx-from-gray-900 hx-to-gray-600 dark:hx-from-gray-100 dark:hx-to-gray-400"
|
||||||
|
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
|
||||||
|
>
|
||||||
|
{{ .Inner | markdownify }}
|
||||||
|
</h{{ $heading }}>
|
@ -1,7 +1,7 @@
|
|||||||
{{- $defaultIndex := int ((.Parent.Get "defaultIndex") | default "0") -}}
|
{{- $defaultIndex := int ((.Parent.Get "defaultIndex") | default "0") -}}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="hextra-tabs-panel hx-rounded hx-pt-6 hx-hidden data-[state=selected]:hx-block"
|
class="tabs-panel hx-rounded hx-pt-6 hx-hidden data-[state=selected]:hx-block"
|
||||||
id="tabs-panel-{{ .Ordinal }}"
|
id="tabs-panel-{{ .Ordinal }}"
|
||||||
role="tabpanel"
|
role="tabpanel"
|
||||||
{{ if eq .Ordinal $defaultIndex }}tabindex="0"{{ end }}
|
{{ if eq .Ordinal $defaultIndex }}tabindex="0"{{ end }}
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
{{ errorf "no items provided" }}
|
{{ errorf "no items provided" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<div class="hextra-scrollbar hx-overflow-x-auto hx-overflow-y-hidden hx-overscroll-x-contain">
|
|
||||||
<div class="hx-mt-4 hx-flex hx-w-max hx-min-w-full hx-border-b hx-border-gray-200 hx-pb-px dark:hx-border-neutral-800">
|
<div class="hx-mt-4 hx-flex hx-w-max hx-min-w-full hx-border-b hx-border-gray-200 hx-pb-px dark:hx-border-neutral-800">
|
||||||
{{- range $i, $item := $items -}}
|
{{- range $i, $item := $items -}}
|
||||||
<button
|
<button
|
||||||
class="hextra-tabs-toggle data-[state=selected]:hx-border-primary-500 data-[state=selected]:hx-text-primary-600 hx-mr-2 hx-rounded-t hx-p-2 hx-font-medium hx-leading-5 hx-transition-colors -hx-mb-0.5 hx-select-none hx-border-b-2 hx-border-transparent hx-text-gray-600 hover:hx-border-gray-200 hover:hx-text-black dark:hx-text-gray-200 dark:hover:hx-border-neutral-800 dark:hover:hx-text-white"
|
class="tabs-toggle data-[state=selected]:hx-border-primary-500 data-[state=selected]:hx-text-primary-600 hx-mr-2 hx-rounded-t hx-p-2 hx-font-medium hx-leading-5 hx-transition-colors -hx-mb-0.5 hx-select-none hx-border-b-2 hx-border-transparent hx-text-gray-600 hover:hx-border-gray-200 hover:hx-text-black dark:hx-text-gray-200 dark:hover:hx-border-neutral-800 dark:hover:hx-text-white"
|
||||||
role="tab"
|
role="tab"
|
||||||
type="button"
|
type="button"
|
||||||
aria-controls="tabs-panel-{{ $i }}"
|
aria-controls="tabs-panel-{{ $i }}"
|
||||||
@ -21,7 +21,6 @@
|
|||||||
</button>
|
</button>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
{{ .Inner }}
|
{{ .Inner }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,6 +7,4 @@ command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b ${DEPLOY_PR
|
|||||||
ignore = "false"
|
ignore = "false"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.117.0"
|
||||||
GO_VERSION = "1.22.3"
|
|
||||||
NODE_VERSION = "22.2.0"
|
|
||||||
|
1254
package-lock.json
generated
1254
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@ homepage = "https://github.com/imfing/hextra/"
|
|||||||
demosite = "https://imfing.github.io/hextra/"
|
demosite = "https://imfing.github.io/hextra/"
|
||||||
tags = ["Modern", "Elegant", "Blog", "Documentation", "Responsive", "Clean", "Light", "Dark", "Minimal"]
|
tags = ["Modern", "Elegant", "Blog", "Documentation", "Responsive", "Clean", "Light", "Dark", "Minimal"]
|
||||||
features = ["Responsive", "Dark Mode", "Search", "Syntax Highlighting", "Multilingual", "Social", "Blog", "RSS", "Customization"]
|
features = ["Responsive", "Dark Mode", "Search", "Syntax Highlighting", "Multilingual", "Social", "Blog", "RSS", "Customization"]
|
||||||
min_version = "0.124.0"
|
min_version = "0.111.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Xin"
|
name = "Xin"
|
||||||
|
Reference in New Issue
Block a user