mirror of https://github.com/jpanther/congo.git
Compare commits
No commits in common. "1e90d7f077fef41fddc45628cb4802337d2c561f" and "e5c5767b29d95c15980eefb0192b2bce5b3d0e6a" have entirely different histories.
1e90d7f077
...
e5c5767b29
|
@ -8,7 +8,7 @@ jobs:
|
||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: "${{ github.head_ref }}"
|
ref: "${{ github.head_ref }}"
|
||||||
- name: Install dependencies and Build Theme
|
- name: Install dependencies and Build Theme
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
|
@ -12,8 +12,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@v8
|
||||||
with:
|
with:
|
||||||
days-before-stale: 120
|
days-before-stale: 30
|
||||||
days-before-close: 30
|
days-before-close: 14
|
||||||
stale-issue-label: "stale"
|
stale-issue-label: "stale"
|
||||||
exempt-issue-labels: "wip"
|
exempt-issue-labels: "wip"
|
||||||
stale-pr-label: "stale"
|
stale-pr-label: "stale"
|
||||||
|
@ -23,10 +23,10 @@ jobs:
|
||||||
|
|
||||||
If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open.
|
If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open.
|
||||||
|
|
||||||
This issue will automatically close in 30 days if no further activity occurs.
|
This issue will automatically close in 14 days if no further activity occurs.
|
||||||
stale-pr-message: >
|
stale-pr-message: >
|
||||||
This pull request has been automatically marked as stale because it has not had any recent activity.
|
This pull request has been automatically marked as stale because it has not had any recent activity.
|
||||||
|
|
||||||
Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the [contributing guidelines](https://github.com/jpanther/congo/blob/dev/CONTRIBUTING.md). If this is in error, please add a reply with further details.
|
Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the [contributing guidelines](https://github.com/jpanther/congo/blob/dev/CONTRIBUTING.md). If this is in error, please add a reply with further details.
|
||||||
|
|
||||||
This PR will automatically close in 30 days if no further activity occurs.
|
This PR will automatically close in 14 days if no further activity occurs.
|
||||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -11,23 +11,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Plausible Analytics support ([#584](https://github.com/jpanther/congo/pull/584))
|
- Plausible Analytics support ([#584](https://github.com/jpanther/congo/pull/584))
|
||||||
- Spanish translation of example site samples ([#606](https://github.com/jpanther/congo/pull/606))
|
- Spanish translation of example site samples ([#606](https://github.com/jpanther/congo/pull/606))
|
||||||
- Japanese translation of docs and example site ([#618](https://github.com/jpanther/congo/pull/618))
|
- Japanese translation of docs and example site ([#618](https://github.com/jpanther/congo/pull/618))
|
||||||
- German translation of example site ([#631](https://github.com/jpanther/congo/pull/631))
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Upgrade to Mermaid v10.4.0 ([#577](https://github.com/jpanther/congo/pull/577), [#582](https://github.com/jpanther/congo/pull/582), [#626](https://github.com/jpanther/congo/pull/626), [#638](https://github.com/jpanther/congo/pull/638))
|
- Upgrade to Mermaid v10.3.1 ([#577](https://github.com/jpanther/congo/pull/577), [#582](https://github.com/jpanther/congo/pull/582), [#626](https://github.com/jpanther/congo/pull/626))
|
||||||
- Upgrade to KaTeX v0.16.8 ([#590](https://github.com/jpanther/congo/pull/590))
|
- Upgrade to KaTeX v0.16.8 ([#590](https://github.com/jpanther/congo/pull/590))
|
||||||
- Upgrade to Tailwind v3.3.3 ([#602](https://github.com/jpanther/congo/pull/602))
|
- Upgrade to Tailwind v3.3.3 ([#602](https://github.com/jpanther/congo/pull/602))
|
||||||
- Upgrade to ChartJS v4.3.3 ([#616](https://github.com/jpanther/congo/pull/616), [#627](https://github.com/jpanther/congo/pull/627), [#635](https://github.com/jpanther/congo/pull/635))
|
- Upgrade to ChartJS v4.3.3 ([#616](https://github.com/jpanther/congo/pull/616), [#627](https://github.com/jpanther/congo/pull/627))
|
||||||
- Upgrade to Typography v0.5.10 ([#641](https://github.com/jpanther/congo/pull/641))
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Prominent images in content and site layout are lazy loaded ([#591](https://github.com/jpanther/congo/issues/591))
|
- URL to Congo project in footer used deprecated git.io short link ([#605](https://github.com/jpanther/congo/pull/605))
|
||||||
- TypeError is output to console when viewing leaf pages ([#596](https://github.com/jpanther/congo/issues/596))
|
|
||||||
- URL to Congo project in footer used deprecated git.io short link ([#605](https://github.com/jpanther/congo/issues/605))
|
|
||||||
- Various typos in the docs and example site ([#608](https://github.com/jpanther/congo/pull/608), [#609](https://github.com/jpanther/congo/pull/609), [#613](https://github.com/jpanther/congo/pull/613))
|
- Various typos in the docs and example site ([#608](https://github.com/jpanther/congo/pull/608), [#609](https://github.com/jpanther/congo/pull/609), [#613](https://github.com/jpanther/congo/pull/613))
|
||||||
- Incorrect `render` value is used in the 'external' archetype ([#630](https://github.com/jpanther/congo/pull/630))
|
|
||||||
|
|
||||||
## [2.6.1] - 2023-06-04
|
## [2.6.1] - 2023-06-04
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,6 @@ externalUrl: ""
|
||||||
summary: ""
|
summary: ""
|
||||||
showReadingTime: false
|
showReadingTime: false
|
||||||
_build:
|
_build:
|
||||||
render: "never"
|
render: "false"
|
||||||
|
list: "local"
|
||||||
---
|
---
|
||||||
|
|
|
@ -539,12 +539,12 @@ video {
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(p):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-lead);
|
color: var(--tw-prose-lead);
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
|
@ -552,110 +552,104 @@ video {
|
||||||
margin-bottom: 1.2em;
|
margin-bottom: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(a):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-links);
|
color: var(--tw-prose-links);
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-decoration-color: rgba(var(--color-primary-300), 1);
|
text-decoration-color: rgba(var(--color-primary-300), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)):hover {
|
.prose :where(a):not(:where([class~="not-prose"] *)):hover {
|
||||||
color: rgba(var(--color-neutral), 1);
|
color: rgba(var(--color-neutral), 1);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: rgba(var(--color-primary-600), 1);
|
background-color: rgba(var(--color-primary-600), 1);
|
||||||
border-radius: 0.09rem;
|
border-radius: 0.09rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(strong):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-bold);
|
color: var(--tw-prose-bold);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(a strong):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(blockquote strong):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(thead th strong):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: decimal;
|
list-style-type: decimal;
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
padding-left: 1.625em;
|
padding-left: 1.625em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: upper-alpha;
|
list-style-type: upper-alpha;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: lower-alpha;
|
list-style-type: lower-alpha;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: upper-alpha;
|
list-style-type: upper-alpha;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: lower-alpha;
|
list-style-type: lower-alpha;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: upper-roman;
|
list-style-type: upper-roman;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: lower-roman;
|
list-style-type: lower-roman;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: upper-roman;
|
list-style-type: upper-roman;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: lower-roman;
|
list-style-type: lower-roman;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: decimal;
|
list-style-type: decimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ul):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: disc;
|
list-style-type: disc;
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
padding-left: 1.625em;
|
padding-left: 1.625em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
|
.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: var(--tw-prose-counters);
|
color: var(--tw-prose-counters);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
|
.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker {
|
||||||
color: var(--tw-prose-bullets);
|
color: var(--tw-prose-bullets);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(hr):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-headings);
|
|
||||||
font-weight: 600;
|
|
||||||
margin-top: 1.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
border-color: var(--tw-prose-hr);
|
border-color: var(--tw-prose-hr);
|
||||||
border-top-width: 1px;
|
border-top-width: 1px;
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
margin-bottom: 3em;
|
margin-bottom: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(blockquote):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: var(--tw-prose-quotes);
|
color: var(--tw-prose-quotes);
|
||||||
|
@ -667,15 +661,15 @@ video {
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *))::before {
|
||||||
content: open-quote;
|
content: open-quote;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *))::after {
|
||||||
content: close-quote;
|
content: close-quote;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h1):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-headings);
|
color: var(--tw-prose-headings);
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-size: 2.25em;
|
font-size: 2.25em;
|
||||||
|
@ -684,12 +678,12 @@ video {
|
||||||
line-height: 1.1111111;
|
line-height: 1.1111111;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h1 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h2):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-headings);
|
color: var(--tw-prose-headings);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
@ -698,12 +692,12 @@ video {
|
||||||
line-height: 1.3333333;
|
line-height: 1.3333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h2 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h3):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-headings);
|
color: var(--tw-prose-headings);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
|
@ -712,12 +706,12 @@ video {
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h3 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h4):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-headings);
|
color: var(--tw-prose-headings);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin-top: 1.5em;
|
margin-top: 1.5em;
|
||||||
|
@ -725,82 +719,73 @@ video {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h4 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(img):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(figure > *):not(:where([class~="not-prose"] *)) {
|
||||||
display: block;
|
margin-top: 0;
|
||||||
margin-top: 2em;
|
margin-bottom: 0;
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(figcaption):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 600;
|
color: var(--tw-prose-captions);
|
||||||
font-family: inherit;
|
font-size: 0.875em;
|
||||||
color: var(--tw-prose-kbd);
|
line-height: 1.4285714;
|
||||||
box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
|
margin-top: 0.8571429em;
|
||||||
font-size: 0.9rem;
|
|
||||||
border-radius: 0.25rem;
|
|
||||||
padding-top: 0.1875em;
|
|
||||||
padding-right: 0.375em;
|
|
||||||
padding-bottom: 0.1875em;
|
|
||||||
padding-left: 0.375em;
|
|
||||||
background-color: rgba(var(--color-neutral-200), 1);
|
|
||||||
padding: 0.1rem 0.4rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(code):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-code);
|
color: var(--tw-prose-code);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
.prose :where(code):not(:where([class~="not-prose"] *))::before {
|
||||||
content: "`";
|
content: "`";
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
.prose :where(code):not(:where([class~="not-prose"] *))::after {
|
||||||
content: "`";
|
content: "`";
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(a code):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-code);
|
color: var(--tw-prose-code);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h1 code):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h2 code):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h3 code):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h4 code):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(blockquote code):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(thead th code):not(:where([class~="not-prose"] *)) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(pre):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-pre-code);
|
color: var(--tw-prose-pre-code);
|
||||||
background-color: var(--tw-prose-pre-bg);
|
background-color: var(--tw-prose-pre-bg);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
@ -816,7 +801,7 @@ video {
|
||||||
padding-left: 1.1428571em;
|
padding-left: 1.1428571em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(pre code):not(:where([class~="not-prose"] *)) {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
@ -828,15 +813,15 @@ video {
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
.prose :where(pre code):not(:where([class~="not-prose"] *))::before {
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
.prose :where(pre code):not(:where([class~="not-prose"] *))::after {
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(table):not(:where([class~="not-prose"] *)) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
table-layout: auto;
|
table-layout: auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -846,12 +831,12 @@ video {
|
||||||
line-height: 1.7142857;
|
line-height: 1.7142857;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(thead):not(:where([class~="not-prose"] *)) {
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-bottom-color: var(--tw-prose-th-borders);
|
border-bottom-color: var(--tw-prose-th-borders);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(thead th):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-headings);
|
color: var(--tw-prose-headings);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
@ -860,40 +845,28 @@ video {
|
||||||
padding-left: 0.5714286em;
|
padding-left: 0.5714286em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tbody tr):not(:where([class~="not-prose"] *)) {
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-bottom-color: var(--tw-prose-td-borders);
|
border-bottom-color: var(--tw-prose-td-borders);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tbody td):not(:where([class~="not-prose"] *)) {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tfoot):not(:where([class~="not-prose"] *)) {
|
||||||
border-top-width: 1px;
|
border-top-width: 1px;
|
||||||
border-top-color: var(--tw-prose-th-borders);
|
border-top-color: var(--tw-prose-th-borders);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tfoot td):not(:where([class~="not-prose"] *)) {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
color: var(--tw-prose-captions);
|
|
||||||
font-size: 0.875em;
|
|
||||||
line-height: 1.4285714;
|
|
||||||
margin-top: 0.8571429em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose {
|
.prose {
|
||||||
--tw-prose-body: rgba(var(--color-neutral-700), 1);
|
--tw-prose-body: rgba(var(--color-neutral-700), 1);
|
||||||
--tw-prose-headings: rgba(var(--color-neutral-800), 1);
|
--tw-prose-headings: rgba(var(--color-neutral-800), 1);
|
||||||
|
@ -906,8 +879,6 @@ video {
|
||||||
--tw-prose-quotes: rgba(var(--color-neutral-700), 1);
|
--tw-prose-quotes: rgba(var(--color-neutral-700), 1);
|
||||||
--tw-prose-quote-borders: rgba(var(--color-primary-200), 1);
|
--tw-prose-quote-borders: rgba(var(--color-primary-200), 1);
|
||||||
--tw-prose-captions: rgba(var(--color-neutral-500), 1);
|
--tw-prose-captions: rgba(var(--color-neutral-500), 1);
|
||||||
--tw-prose-kbd: #111827;
|
|
||||||
--tw-prose-kbd-shadows: 17 24 39;
|
|
||||||
--tw-prose-code: rgba(var(--color-secondary-700), 1);
|
--tw-prose-code: rgba(var(--color-secondary-700), 1);
|
||||||
--tw-prose-pre-code: rgba(var(--color-neutral-700), 1);
|
--tw-prose-pre-code: rgba(var(--color-neutral-700), 1);
|
||||||
--tw-prose-pre-bg: rgba(var(--color-neutral-50), 1);
|
--tw-prose-pre-bg: rgba(var(--color-neutral-50), 1);
|
||||||
|
@ -924,8 +895,6 @@ video {
|
||||||
--tw-prose-invert-quotes: rgba(var(--color-neutral-200), 1);
|
--tw-prose-invert-quotes: rgba(var(--color-neutral-200), 1);
|
||||||
--tw-prose-invert-quote-borders: rgba(var(--color-primary-900), 1);
|
--tw-prose-invert-quote-borders: rgba(var(--color-primary-900), 1);
|
||||||
--tw-prose-invert-captions: rgba(var(--color-neutral-400), 1);
|
--tw-prose-invert-captions: rgba(var(--color-neutral-400), 1);
|
||||||
--tw-prose-invert-kbd: #fff;
|
|
||||||
--tw-prose-invert-kbd-shadows: 255 255 255;
|
|
||||||
--tw-prose-invert-code: rgba(var(--color-secondary-400), 1);
|
--tw-prose-invert-code: rgba(var(--color-secondary-400), 1);
|
||||||
--tw-prose-invert-pre-code: rgba(var(--color-neutral-200), 1);
|
--tw-prose-invert-pre-code: rgba(var(--color-neutral-200), 1);
|
||||||
--tw-prose-invert-pre-bg: rgba(var(--color-neutral-700), 1);
|
--tw-prose-invert-pre-bg: rgba(var(--color-neutral-700), 1);
|
||||||
|
@ -935,118 +904,111 @@ video {
|
||||||
line-height: 1.75;
|
line-height: 1.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(video):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(figure):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(li):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ol > li):not(:where([class~="not-prose"] *)) {
|
||||||
padding-left: 0.375em;
|
padding-left: 0.375em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ul > li):not(:where([class~="not-prose"] *)) {
|
||||||
padding-left: 0.375em;
|
padding-left: 0.375em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0.75em;
|
margin-top: 0.75em;
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0.75em;
|
margin-top: 0.75em;
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(hr + *):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 1.25em;
|
|
||||||
margin-bottom: 1.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
margin-top: 0.5em;
|
|
||||||
padding-left: 1.625em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h2 + *):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h3 + *):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(h4 + *):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(thead th:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"] *)) {
|
||||||
padding-top: 0.5714286em;
|
padding-top: 0.5714286em;
|
||||||
padding-right: 0.5714286em;
|
padding-right: 0.5714286em;
|
||||||
padding-bottom: 0.5714286em;
|
padding-bottom: 0.5714286em;
|
||||||
padding-left: 0.5714286em;
|
padding-left: 0.5714286em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 2em;
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
.prose :where(kbd):not(:where([class~="not-prose"] *)) {
|
||||||
|
background-color: rgba(var(--color-neutral-200), 1);
|
||||||
|
padding: 0.1rem 0.4rem;
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(mark):not(:where([class~="not-prose"] *)) {
|
||||||
color: rgba(var(--color-neutral-800), 1);
|
color: rgba(var(--color-neutral-800), 1);
|
||||||
background-color: rgba(var(--color-secondary-200), 1);
|
background-color: rgba(var(--color-secondary-200), 1);
|
||||||
padding: 0.1rem 0.2rem;
|
padding: 0.1rem 0.2rem;
|
||||||
|
@ -2593,8 +2555,6 @@ body:has(#menu-controller:checked) {
|
||||||
--tw-prose-quotes: var(--tw-prose-invert-quotes);
|
--tw-prose-quotes: var(--tw-prose-invert-quotes);
|
||||||
--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
|
--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
|
||||||
--tw-prose-captions: var(--tw-prose-invert-captions);
|
--tw-prose-captions: var(--tw-prose-invert-captions);
|
||||||
--tw-prose-kbd: var(--tw-prose-invert-kbd);
|
|
||||||
--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);
|
|
||||||
--tw-prose-code: var(--tw-prose-invert-code);
|
--tw-prose-code: var(--tw-prose-invert-code);
|
||||||
--tw-prose-pre-code: var(--tw-prose-invert-pre-code);
|
--tw-prose-pre-code: var(--tw-prose-invert-pre-code);
|
||||||
--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
|
--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
|
||||||
|
@ -2602,16 +2562,16 @@ body:has(#menu-controller:checked) {
|
||||||
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
|
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
|
||||||
}
|
}
|
||||||
|
|
||||||
:is(.dark .dark\:prose-invert) :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
:is(.dark .dark\:prose-invert) :where(a):not(:where([class~="not-prose"] *)) {
|
||||||
text-decoration-color: rgba(var(--color-neutral-600), 1);
|
text-decoration-color: rgba(var(--color-neutral-600), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
:is(.dark .dark\:prose-invert) :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
:is(.dark .dark\:prose-invert) :where(kbd):not(:where([class~="not-prose"] *)) {
|
||||||
color: rgba(var(--color-neutral-200), 1);
|
color: rgba(var(--color-neutral-200), 1);
|
||||||
background-color: rgba(var(--color-neutral-700), 1);
|
background-color: rgba(var(--color-neutral-700), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
:is(.dark .dark\:prose-invert) :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
:is(.dark .dark\:prose-invert) :where(mark):not(:where([class~="not-prose"] *)) {
|
||||||
background-color: rgba(var(--color-secondary-400), 1);
|
background-color: rgba(var(--color-secondary-400), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,28 +0,0 @@
|
||||||
languageCode = "de-de"
|
|
||||||
languageName = "Deutsch (Deutschland)"
|
|
||||||
weight = 4
|
|
||||||
|
|
||||||
title = "Congo"
|
|
||||||
copyright = "© 2023 Congo contributors"
|
|
||||||
|
|
||||||
[params]
|
|
||||||
isoCode = "de-de"
|
|
||||||
displayName = ":de:"
|
|
||||||
rtl = false
|
|
||||||
|
|
||||||
dateFormat = "2. January 2006"
|
|
||||||
|
|
||||||
mainSections = ["samples"]
|
|
||||||
description = "Ein leistungsstarkes, leichtgewichtiges Theme für Hugo, das mit Tailwind CSS erstellt wurde."
|
|
||||||
|
|
||||||
[author]
|
|
||||||
name = "Congo"
|
|
||||||
image = "img/author.jpg"
|
|
||||||
headline = "Nicht dein Durschnitts-Theme!"
|
|
||||||
bio = "Dies ist ein Beispiel für eine Autorenbiografie, und obwohl hier ein Stockfoto eines Hundes zu sehen ist, wurde dieser Artikel tatsächlich von einem Menschen verfasst. :dog:"
|
|
||||||
links = [
|
|
||||||
{ twitter = "https://twitter.com/" },
|
|
||||||
{ facebook = "https://facebook.com/" },
|
|
||||||
{ linkedin = "https://linkedin.com/" },
|
|
||||||
{ youtube = "https://youtube.com/" },
|
|
||||||
]
|
|
|
@ -1,50 +0,0 @@
|
||||||
# -- Main Menu --
|
|
||||||
# The main menu is displayed in the header at the top of the page.
|
|
||||||
# Acceptable parameters are name, pageRef, page, url, title, weight.
|
|
||||||
#
|
|
||||||
# The simplest menu configuration is to provide:
|
|
||||||
# name = The name to be displayed for this menu link
|
|
||||||
# pageRef = The identifier of the page or section to link to
|
|
||||||
#
|
|
||||||
# By default the menu is ordered alphabetically. This can be
|
|
||||||
# overridden by providing a weight value. The menu will then be
|
|
||||||
# ordered by weight from lowest to highest.
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "Dokumentation"
|
|
||||||
pageRef = "docs"
|
|
||||||
weight = 10
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "Beispiele"
|
|
||||||
pageRef = "samples"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "Genutzt von"
|
|
||||||
pageRef = "users"
|
|
||||||
weight = 30
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = "GitHub"
|
|
||||||
url = "https://github.com/jpanther/congo"
|
|
||||||
weight = 40
|
|
||||||
[main.params]
|
|
||||||
icon = "github"
|
|
||||||
showName = false
|
|
||||||
target = "_blank"
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
identifier = "search"
|
|
||||||
weight = 99
|
|
||||||
[main.params]
|
|
||||||
action = "search"
|
|
||||||
|
|
||||||
# -- Footer Menu --
|
|
||||||
# The footer menu is displayed at the bottom of the page, just before
|
|
||||||
# the copyright notice. Configure as per the main menu above.
|
|
||||||
|
|
||||||
# [[footer]]
|
|
||||||
# name = "Tags"
|
|
||||||
# pageRef = "tags"
|
|
||||||
# weight = 10
|
|
|
@ -1,29 +0,0 @@
|
||||||
---
|
|
||||||
title: "Willkommen bei Congo! :tada:"
|
|
||||||
description: "Dies ist eine Demo des Congo-Themes für Hugo."
|
|
||||||
---
|
|
||||||
|
|
||||||
{{< lead >}}
|
|
||||||
Ein mächtiges und gleichzeitig leichtes Theme für Hugo, das mit Tailwind CSS erstellt wurde.
|
|
||||||
{{< /lead >}}
|
|
||||||
|
|
||||||
Dies ist eine Demo-Site, die vollständig mit Congo erstellt wurde. Sie enthält auch eine vollständige [Theme-Dokumentation]({{< ref path="docs" lang="en" >}}). Congo ist flexibel und eignet sich sowohl für statische seitenbasierte Inhalte (wie diese Demo) als auch für einen traditionellen Blog mit einem Feed der letzten Beiträge.
|
|
||||||
|
|
||||||
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
|
||||||
<span class="flex items-center pe-3 text-primary-400">
|
|
||||||
{{< icon "triangle-exclamation" >}}
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
|
||||||
<span class="prose dark:prose-invert">Dies ist eine Demo des <code id="layout">page</code>-Layouts.</span>
|
|
||||||
<button
|
|
||||||
id="switch-layout-button"
|
|
||||||
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
|
||||||
>
|
|
||||||
Layout ändern ↻
|
|
||||||
</button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{< figure src="festivities.svg" class="m-auto mt-6 max-w-prose" >}}
|
|
||||||
|
|
||||||
Schau dir die [Beispielseiten]({{< ref "samples" >}}) an, um ein Gefühl für die Möglichkeiten von Congo zu bekommen. Wenn dir gefällt, was du siehst, dann schau dir sich das Projekt auf [Github](https://github.com/jpanther/congo) an oder lies die [Installationsanleitung]({{< ref path="docs/installation" lang="en">}}), um loszulegen.
|
|
|
@ -95,13 +95,16 @@ jobs:
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.118.2"
|
|
||||||
NODE_ENV = "production"
|
NODE_ENV = "production"
|
||||||
GO_VERSION = "1.20"
|
GO_VERSION = "1.20"
|
||||||
TZ = "UTC" # Set to preferred timezone
|
TZ = "UTC" # Set to preferred timezone
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
|
[context.deploy-preview.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
```
|
```
|
||||||
|
|
||||||
上の例は、CongoをHugoモジュールとしてデプロイすることを想定しています。別の方法でテーマをインストールした場合は、ビルドコマンドを `hugo --gc --minify -b $URL` に変更してください。
|
上の例は、CongoをHugoモジュールとしてデプロイすることを想定しています。別の方法でテーマをインストールした場合は、ビルドコマンドを `hugo --gc --minify -b $URL` に変更してください。
|
||||||
|
|
|
@ -95,13 +95,16 @@ Then in the root of your site repository, create a `netlify.toml` file:
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.118.2"
|
|
||||||
NODE_ENV = "production"
|
NODE_ENV = "production"
|
||||||
GO_VERSION = "1.20"
|
GO_VERSION = "1.20"
|
||||||
TZ = "UTC" # Set to preferred timezone
|
TZ = "UTC" # Set to preferred timezone
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
|
[context.deploy-preview.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
```
|
```
|
||||||
|
|
||||||
This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`.
|
This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`.
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
title: "Beispiele für Inhalte"
|
|
||||||
description: "Sieh dir an, was mit Congo möglich ist."
|
|
||||||
|
|
||||||
cascade:
|
|
||||||
showEdit: false
|
|
||||||
showSummary: true
|
|
||||||
---
|
|
||||||
|
|
||||||
{{< lead >}}
|
|
||||||
Congo erweckt deinen Inhalt zum Leben. :heart_eyes:
|
|
||||||
{{< /lead >}}
|
|
||||||
|
|
||||||
Dieser Abschnitt enthält einige Demoseiten, die zeigen, wie Congo verschiedene Arten von Inhalten wiedergibt. Sie können auch eine Beispielseite für ein [Taxonomieverzeichnis]({{< ref "tags" >}}) sehen.
|
|
||||||
|
|
||||||
_**Hinweis:** Diese Seite ist nur eine standardmäßige Congo-Artikelauflistung und Hugo wurde so konfiguriert, dass er einen Inhaltstyp "Beispiele" generiert und Artikelzusammenfassungen anzeigt._
|
|
||||||
|
|
||||||
---
|
|
|
@ -1,85 +0,0 @@
|
||||||
---
|
|
||||||
title: "Charts"
|
|
||||||
date: 2019-03-06
|
|
||||||
description: "Leitfaden zur Verwendung von Chart.js mit Congo"
|
|
||||||
summary: "Congo enthält Chart.js für leistungsstarke Charts und Datenvisualisierungen."
|
|
||||||
tags: ["Chart", "Beispiele", "Graph", "Shortcodes"]
|
|
||||||
---
|
|
||||||
|
|
||||||
Congo bietet Unterstützung für Chart.js unter Verwendung des Shortcodes `chart`. Füge einfach das Chart-Markup in den Shortcode ein. Congo gestaltet die Charts automatisch so, dass sie der Konfiguration des Parameters `colorScheme` entsprechen. Die Farben können jedoch mit der normalen Chart.js-Syntax angepasst werden.
|
|
||||||
|
|
||||||
Weitere Details findest du in der [Chart-Shortcode-Dokumentation]({{< ref path="docs/shortcodes#chart" lang="en" >}}).
|
|
||||||
|
|
||||||
Die folgenden Beispiele sind eine kleine Auswahl aus der [offiziellen Chart.js-Dokumentation](https://www.chartjs.org/docs/latest/samples). Du kannst auch [die Quelle der Seite](https://raw.githubusercontent.com/jpanther/congo/dev/exampleSite/content/samples/charts/index.de.md) auf GitHub aufrufen, um das Markup zu sehen.
|
|
||||||
|
|
||||||
## Säulendiagramm
|
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
|
||||||
{{< chart >}}
|
|
||||||
type: 'bar',
|
|
||||||
data: {
|
|
||||||
labels: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli'],
|
|
||||||
datasets: [{
|
|
||||||
label: 'Mein erster Datensatz',
|
|
||||||
data: [65, 59, 80, 81, 56, 55, 40],
|
|
||||||
backgroundColor: [
|
|
||||||
'rgba(255, 99, 132, 0.2)',
|
|
||||||
'rgba(255, 159, 64, 0.2)',
|
|
||||||
'rgba(255, 205, 86, 0.2)',
|
|
||||||
'rgba(75, 192, 192, 0.2)',
|
|
||||||
'rgba(54, 162, 235, 0.2)',
|
|
||||||
'rgba(153, 102, 255, 0.2)',
|
|
||||||
'rgba(201, 203, 207, 0.2)'
|
|
||||||
],
|
|
||||||
borderColor: [
|
|
||||||
'rgb(255, 99, 132)',
|
|
||||||
'rgb(255, 159, 64)',
|
|
||||||
'rgb(255, 205, 86)',
|
|
||||||
'rgb(75, 192, 192)',
|
|
||||||
'rgb(54, 162, 235)',
|
|
||||||
'rgb(153, 102, 255)',
|
|
||||||
'rgb(201, 203, 207)'
|
|
||||||
],
|
|
||||||
borderWidth: 1
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
{{< /chart >}}
|
|
||||||
<!-- prettier-ignore-end -->
|
|
||||||
|
|
||||||
## Linien-Diagramm
|
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
|
||||||
{{< chart >}}
|
|
||||||
type: 'line',
|
|
||||||
data: {
|
|
||||||
labels: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli'],
|
|
||||||
datasets: [{
|
|
||||||
label: 'Mein erster Datensatz',
|
|
||||||
data: [65, 59, 80, 81, 56, 55, 40],
|
|
||||||
tension: 0.2
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
{{< /chart >}}
|
|
||||||
<!-- prettier-ignore-end -->
|
|
||||||
|
|
||||||
## Doughnut-Chart
|
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
|
||||||
{{< chart >}}
|
|
||||||
type: 'doughnut',
|
|
||||||
data: {
|
|
||||||
labels: ['Rot', 'Blau', 'Gelb'],
|
|
||||||
datasets: [{
|
|
||||||
label: 'Mein erster Datensatz',
|
|
||||||
data: [300, 50, 100],
|
|
||||||
backgroundColor: [
|
|
||||||
'rgba(255, 99, 132, 0.7)',
|
|
||||||
'rgba(54, 162, 235, 0.7)',
|
|
||||||
'rgba(255, 205, 86, 0.7)'
|
|
||||||
],
|
|
||||||
borderWidth: 0,
|
|
||||||
hoverOffset: 4
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
{{< /chart >}}
|
|
||||||
<!-- prettier-ignore-end -->
|
|
|
@ -1,92 +0,0 @@
|
||||||
---
|
|
||||||
title: "Diagramme und Flussdiagramme"
|
|
||||||
date: 2019-03-06
|
|
||||||
description: "Leitfaden zur Verwendung von Mermaid in Congo"
|
|
||||||
summary: "Mit Mermaid ist es einfach, Diagramme und Flussdiagramme zu Artikeln hinzuzufügen."
|
|
||||||
tags: ["Mermaid", "Beispiele", "Diagramm", "Shortcodes"]
|
|
||||||
---
|
|
||||||
|
|
||||||
Mermaid-Diagramme werden in Congo mit dem Shortcode `mermaid` unterstützt. Füge einfach das Diagramm-Markup in den Shortcode ein. Congo gestaltet Mermaid-Diagramme automatisch so, dass sie der Konfiguration des Parameters `colorScheme` entsprechen.
|
|
||||||
|
|
||||||
Weitere Details findest du in der [Mermaid-Shortcode-Dokumentation]({{< ref path="docs/shortcodes#mermaid" lang="en">}}).
|
|
||||||
|
|
||||||
Die folgenden Beispiele sind eine kleine Auswahl aus der [offiziellen Mermaid-Dokumentation](https://mermaid-js.github.io/mermaid/). Du kannst auch [die Quelle der Seite](https://raw.githubusercontent.com/jpanther/congo/dev/exampleSite/content/samples/diagrams-flowcharts/index.de.md) auf GitHub aufrufen, um das Markup zu sehen.
|
|
||||||
|
|
||||||
## Flussdiagramm
|
|
||||||
|
|
||||||
{{< mermaid >}}
|
|
||||||
graph TD
|
|
||||||
A[Weihnachten] -->|Erhalte Geld| B(Geh einkaufen)
|
|
||||||
B --> C{Lass mich nachdenken}
|
|
||||||
B --> G[/Sonstiges/]
|
|
||||||
C ==>|Eins| D[Laptop]
|
|
||||||
C -->|Zwei| E[iPhone]
|
|
||||||
C -->|Drei| F[Auto]
|
|
||||||
subgraph Section
|
|
||||||
C
|
|
||||||
D
|
|
||||||
E
|
|
||||||
F
|
|
||||||
G
|
|
||||||
end
|
|
||||||
{{< /mermaid >}}
|
|
||||||
|
|
||||||
## Sequenzdiagramm
|
|
||||||
|
|
||||||
{{< mermaid >}}
|
|
||||||
sequenceDiagram
|
|
||||||
autonumber
|
|
||||||
par Action 1
|
|
||||||
Alice->>John: Hallo John, wie geht es dir?
|
|
||||||
and Action 2
|
|
||||||
Alice->>Bob: Hallo Bob, wie geht es dir?
|
|
||||||
end
|
|
||||||
Alice->>+John: Hallo John, wie geht es dir?
|
|
||||||
Alice->>+John: John, kannst du mich hören?
|
|
||||||
John-->>-Alice: Hi Alice, ich kann dich hören!
|
|
||||||
Note right of John: John ist aufmerksam
|
|
||||||
John-->>-Alice: Mir geht es gut!
|
|
||||||
loop Jede Minute
|
|
||||||
John-->Alice: Super!
|
|
||||||
end
|
|
||||||
{{< /mermaid >}}
|
|
||||||
|
|
||||||
## Klassendiagramm
|
|
||||||
|
|
||||||
{{< mermaid >}}
|
|
||||||
classDiagram
|
|
||||||
Tier "1" <|-- Ente
|
|
||||||
Tier <|-- Fisch
|
|
||||||
Tier <--o Zebra
|
|
||||||
Tier : +int alter
|
|
||||||
Tier : +String geschlecht
|
|
||||||
Tier: +istSaeugetier()
|
|
||||||
Tier: +paaren()
|
|
||||||
class Ente{
|
|
||||||
+String schnabelFarbe
|
|
||||||
+schwimmen()
|
|
||||||
+quaken()
|
|
||||||
}
|
|
||||||
class Fisch{
|
|
||||||
-int groesseInFuss
|
|
||||||
-canFressen()
|
|
||||||
}
|
|
||||||
class Zebra{
|
|
||||||
+bool ist_wild
|
|
||||||
+rennen()
|
|
||||||
}
|
|
||||||
{{< /mermaid >}}
|
|
||||||
|
|
||||||
## Entitäts-Beziehungs-Diagramm
|
|
||||||
|
|
||||||
{{< mermaid >}}
|
|
||||||
erDiagram
|
|
||||||
KUNDE }|..|{ LIEFER-ADRESSE : hat
|
|
||||||
KUNDE ||--o{ BESTELLUNG : platziert
|
|
||||||
KUNDE ||--o{ RECHNUNG : "zustaendig fuer"
|
|
||||||
LIEFER-ADRESSE ||--o{ BESTELLUNG : erhaelt
|
|
||||||
RECHNUNG ||--|{ BESTELLUNG : "deckt ab"
|
|
||||||
BESTELLUNG ||--|{ BESTELLTES-PRODUKT : enthaelt
|
|
||||||
PRODUKT-KATEGORIE ||--|{ PRODUKT : enthaelt
|
|
||||||
PRODUKT ||--o{ BESTELLTES-PRODUKT : "bestellt in"
|
|
||||||
{{< /mermaid >}}
|
|
|
@ -1,19 +0,0 @@
|
||||||
---
|
|
||||||
title: "Emoji :parachute:"
|
|
||||||
date: 2019-03-05
|
|
||||||
description: "Leitfaden zur Benutzung von Emoji in Congo"
|
|
||||||
summary: "📖🏞️🧗🏽🐉🧙🏽♂️🧚🏽👸"
|
|
||||||
tags: ["Emoji", "Beispiele"]
|
|
||||||
---
|
|
||||||
|
|
||||||
Congo unterstützt standardmäßig Emoji. Emoji können in Titeln, Menüpunkten und Artikelinhalten verwendet werden.
|
|
||||||
|
|
||||||
{{< alert >}}
|
|
||||||
**Hinweis:** Das Rendering dieser Glyphen hängt vom Browser und von der Plattform ab. Um die Emoji zu gestalten, kannst du entweder eine Emoji-Schriftart eines Drittanbieters oder einen Font Stack verwenden.
|
|
||||||
{{< /alert >}}
|
|
||||||
|
|
||||||
Die Ersetzung von Emoji erfolgt in Congo automatisch, so dass du in deinen Inhalten und im Front Matter Kurzzeichen verwenden können, die zum Zeitpunkt der Erstellung in die entsprechenden Symbole umgewandelt werden.
|
|
||||||
|
|
||||||
**Beispiele für Kurzzeichen:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.
|
|
||||||
|
|
||||||
[Emojipedia](https://emojipedia.org/) ist eine nützliche Referenz für Emoji-Kurzzeichen.
|
|
|
@ -16,4 +16,4 @@ El reemplazo de emojis es automático en Congo, por lo que puedes usar las forma
|
||||||
|
|
||||||
**Ejemplo:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.
|
**Ejemplo:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.
|
||||||
|
|
||||||
[Emojipedia](https://emojipedia.org/) es una referencia útil para los códigos abreviados de los emojis.
|
La [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) es una referencia útil para los códigos abreviados de los emojis.
|
||||||
|
|
|
@ -16,4 +16,4 @@ Congo全体で絵文字(Emoji)をサポートしています。絵文字は
|
||||||
|
|
||||||
**例:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:
|
**例:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:
|
||||||
|
|
||||||
[Emojipedia](https://emojipedia.org/)は、絵文字を探すための便利なリファレンスです。
|
[Emoji cheat sheet](http://www.emoji-cheat-sheet.com/)は、絵文字を探すための便利なリファレンスです。
|
||||||
|
|
|
@ -16,4 +16,4 @@ Emoji replacements are automatic throughout Congo, so you can use shorthand code
|
||||||
|
|
||||||
**Example:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.
|
**Example:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.
|
||||||
|
|
||||||
[Emojipedia](https://emojipedia.org/) is a useful reference for emoji shorthand codes.
|
The [Emoji cheat sheet](https://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
---
|
|
||||||
title: "Externer Artikel - Why I switched to Fathom Analytics"
|
|
||||||
date: 2019-01-24
|
|
||||||
externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/"
|
|
||||||
summary: "Der Parameter `externalUrl` im Front Matter kann zu jeder URL verlinken. Der Artikel sieht aus wie jeder andere, aber verlinkt zu einem Post außerhalb des Hugo-Projekts."
|
|
||||||
showReadingTime: false
|
|
||||||
_build:
|
|
||||||
render: "never"
|
|
||||||
list: "local"
|
|
||||||
---
|
|
||||||
|
|
||||||
Diese Seite verwendet den Parameter `externalUrl`, um auf einen Artikel außerhalb dieser Hugo-Website zu verlinken.
|
|
||||||
|
|
||||||
Es ist ideal für Dinge wie die Verlinkung zu Beiträgen auf Medium oder zu wissenschaftlichen Arbeiten, die Sie auf Websites von Dritten gehostet haben.
|
|
|
@ -1,77 +0,0 @@
|
||||||
---
|
|
||||||
title: "Icons"
|
|
||||||
date: 2020-08-14
|
|
||||||
lastmod: 2023-01-23
|
|
||||||
draft: false
|
|
||||||
description: "Icon-Unterstützung in Congo."
|
|
||||||
slug: "icons"
|
|
||||||
tags: ["Icons", "Beispiele", "Shortcodes"]
|
|
||||||
showDateUpdated: true
|
|
||||||
---
|
|
||||||
|
|
||||||
Congo hat integrierte Unterstützung für eine Reihe von Icons von [FontAwesome 6](https://fontawesome.com/icons). Diese können entweder über den Partial [icon]({{< ref path="docs/partials#icon" lang="en" >}}) oder Shortcode [icon]({{< ref path="docs/shortcodes#icon" lang="en">}}) in deine Website eingebunden werden.
|
|
||||||
|
|
||||||
Darüber hinaus werden auch benutzerdefinierte Icons vollständig unterstützt. Du kannst deine eigenen SVG-Icon-Assets im Ordner `assets/icons/` im Stammverzeichnis deines Projekts ablegen. Alle Icons in diesem Verzeichnis stehen dann im gesamten Theme zur Verfügung.
|
|
||||||
|
|
||||||
Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen findest du unten.
|
|
||||||
|
|
||||||
| Icon-Name | Vorschau |
|
|
||||||
| -------------------- | --------------------------------- |
|
|
||||||
| amazon | {{< icon amazon >}} |
|
|
||||||
| apple | {{< icon apple >}} |
|
|
||||||
| bars | {{< icon bars >}} |
|
|
||||||
| blogger | {{< icon blogger >}} |
|
|
||||||
| bug | {{< icon bug >}} |
|
|
||||||
| check | {{< icon check >}} |
|
|
||||||
| circle-info | {{< icon circle-info >}} |
|
|
||||||
| codepen | {{< icon codepen >}} |
|
|
||||||
| comment | {{< icon comment >}} |
|
|
||||||
| dev | {{< icon dev >}} |
|
|
||||||
| dribbble | {{< icon dribbble >}} |
|
|
||||||
| edit | {{< icon edit >}} |
|
|
||||||
| email | {{< icon email >}} |
|
|
||||||
| facebook | {{< icon facebook >}} |
|
|
||||||
| flickr | {{< icon flickr >}} |
|
|
||||||
| foursquare | {{< icon foursquare >}} |
|
|
||||||
| github | {{< icon github >}} |
|
|
||||||
| gitlab | {{< icon gitlab >}} |
|
|
||||||
| google | {{< icon google >}} |
|
|
||||||
| hashnode | {{< icon hashnode >}} |
|
|
||||||
| instagram | {{< icon instagram >}} |
|
|
||||||
| keybase | {{< icon keybase >}} |
|
|
||||||
| kickstarter | {{< icon kickstarter >}} |
|
|
||||||
| lastfm | {{< icon lastfm >}} |
|
|
||||||
| lightbulb | {{< icon lightbulb >}} |
|
|
||||||
| link | {{< icon link >}} |
|
|
||||||
| linkedin | {{< icon linkedin >}} |
|
|
||||||
| list | {{< icon list >}} |
|
|
||||||
| mastodon | {{< icon mastodon >}} |
|
|
||||||
| medium | {{< icon medium >}} |
|
|
||||||
| microsoft | {{< icon microsoft >}} |
|
|
||||||
| mobile | {{< icon mobile >}} |
|
|
||||||
| moon | {{< icon moon >}} |
|
|
||||||
| orcid | {{< icon orcid >}} |
|
|
||||||
| patreon | {{< icon patreon >}} |
|
|
||||||
| pencil | {{< icon pencil >}} |
|
|
||||||
| phone | {{< icon phone >}} |
|
|
||||||
| pinterest | {{< icon pinterest >}} |
|
|
||||||
| reddit | {{< icon reddit >}} |
|
|
||||||
| researchgate | {{< icon researchgate >}} |
|
|
||||||
| search | {{< icon search >}} |
|
|
||||||
| skull-crossbones | {{< icon skull-crossbones >}} |
|
|
||||||
| slack | {{< icon slack >}} |
|
|
||||||
| snapchat | {{< icon snapchat >}} |
|
|
||||||
| soundcloud | {{< icon soundcloud >}} |
|
|
||||||
| stack-overflow | {{< icon stack-overflow >}} |
|
|
||||||
| steam | {{< icon steam >}} |
|
|
||||||
| sun | {{< icon sun >}} |
|
|
||||||
| tag | {{< icon tag >}} |
|
|
||||||
| telegram | {{< icon telegram >}} |
|
|
||||||
| tiktok | {{< icon tiktok >}} |
|
|
||||||
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
|
||||||
| tumblr | {{< icon tumblr >}} |
|
|
||||||
| twitch | {{< icon twitch >}} |
|
|
||||||
| twitter | {{< icon twitter >}} |
|
|
||||||
| whatsapp | {{< icon whatsapp >}} |
|
|
||||||
| xmark | {{< icon xmark >}} |
|
|
||||||
| youtube | {{< icon youtube >}} |
|
|
|
@ -1,145 +0,0 @@
|
||||||
---
|
|
||||||
title: "Markdown"
|
|
||||||
date: 2019-03-11
|
|
||||||
description: "Beispielartikel, der die grundlegende Markdown-Syntax und die Formatierung von HTML-Elementen zeigt."
|
|
||||||
tags: ["Markdown", "CSS", "HTML", "Beispiele"]
|
|
||||||
---
|
|
||||||
|
|
||||||
Dieser Artikel bietet ein Beispiel für die grundlegende Markdown-Formatierung, die in Congo verwendet werden kann, und zeigt auch, wie einige grundlegende HTML-Elemente genutzt werden können.
|
|
||||||
|
|
||||||
<!--more-->
|
|
||||||
|
|
||||||
## Überschriften
|
|
||||||
|
|
||||||
Die folgenden HTML-Elemente `<h1>`-`<h6>` stellen sechs Ebenen von Abschnittsüberschriften dar. `<h1>` ist die höchste Abschnittsebene, während `<h6>` die niedrigste ist.
|
|
||||||
|
|
||||||
# H1
|
|
||||||
|
|
||||||
## H2
|
|
||||||
|
|
||||||
### H3
|
|
||||||
|
|
||||||
#### H4
|
|
||||||
|
|
||||||
##### H5
|
|
||||||
|
|
||||||
###### H6
|
|
||||||
|
|
||||||
## Absatz
|
|
||||||
|
|
||||||
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
|
||||||
|
|
||||||
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
|
||||||
|
|
||||||
## Zitate als Block
|
|
||||||
|
|
||||||
Das blockquote-Element stellt Inhalte dar, die aus einer anderen Quelle zitiert werden, optional mit einem Zitat, das sich innerhalb eines `footer`- oder `cite`-Elements befinden muss, und optional mit Inline-Änderungen wie Anmerkungen und Abkürzungen.
|
|
||||||
|
|
||||||
### Zitat als Block ohne Quellenangabe
|
|
||||||
|
|
||||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
|
||||||
> **Hinweis**: _Markdown-Syntax_ kann innerhalb eines Zitat-Blocks verwendet werden.
|
|
||||||
|
|
||||||
### Zitat als Block ohne Quellenangabe
|
|
||||||
|
|
||||||
> Kommunizieren Sie nicht, indem Sie Erinnerungen teilen, sondern teilen Sie Erinnerungen, indem Sie kommunizieren.<br>
|
|
||||||
> — <cite>Rob Pike[^1]</cite>
|
|
||||||
|
|
||||||
[^1]: Das obige Zitat ist ein Auszug aus Rob Pikes [talk `about` nothing] (https://www.youtube.com/watch?v=PAAkCSZUG1c) während des Gopherfestes am 18. November 2015.
|
|
||||||
|
|
||||||
## Tabellen
|
|
||||||
|
|
||||||
Tabellen sind nicht Teil der Markdown-Kernspezifikation, aber Hugo unterstützt sie standardmäßig.
|
|
||||||
|
|
||||||
| Name | Alter |
|
|
||||||
| ----- | ----- |
|
|
||||||
| Bob | 27 |
|
|
||||||
| Alice | 23 |
|
|
||||||
|
|
||||||
### Inline-Markdown innerhalb von Tabellen
|
|
||||||
|
|
||||||
| Kursiv | Fett | Code |
|
|
||||||
| -------- | -------- | ------ |
|
|
||||||
| _kursiv_ | **fett** | `code` |
|
|
||||||
|
|
||||||
## Code-Blöcke
|
|
||||||
|
|
||||||
### Code-Block mit backticks
|
|
||||||
|
|
||||||
```html
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<title>Example HTML5 Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p>Test</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Code-Block eingerückt mit vier Leerzeichen
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Example HTML5 Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p>Test</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
### Code-Block mit Hugos internem highlight-Shortcode
|
|
||||||
|
|
||||||
{{< highlight html "linenos=table,hl_lines=4 7-9" >}}
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Example HTML5 Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p>Test</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
{{< /highlight >}}
|
|
||||||
|
|
||||||
## Arten von Listen
|
|
||||||
|
|
||||||
### Geordnete Liste
|
|
||||||
|
|
||||||
1. Erster Eintrag
|
|
||||||
2. Zweiter Eintrag
|
|
||||||
3. Dritter Eintrag
|
|
||||||
|
|
||||||
### Ungeordnete Liste
|
|
||||||
|
|
||||||
- Listen-Eintrag
|
|
||||||
- weiterer Eintrag
|
|
||||||
- noch ein weiterer Eintrag
|
|
||||||
|
|
||||||
### Geschachtelte Liste
|
|
||||||
|
|
||||||
- Obst
|
|
||||||
- Apfel
|
|
||||||
- Orange
|
|
||||||
- Banane
|
|
||||||
- Milchprodukte
|
|
||||||
- Milch
|
|
||||||
- Käse
|
|
||||||
|
|
||||||
## Andere Elemente — abbr, sub, sup, kbd, mark
|
|
||||||
|
|
||||||
<abbr title="Graphics Interchange Format">GIF</abbr> ist ein Bitmap-Bildformat.
|
|
||||||
|
|
||||||
H<sub>2</sub>O
|
|
||||||
|
|
||||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
|
||||||
|
|
||||||
Drücke <kbd>STRG</kbd>+<kbd>ALT</kbd>+<kbd>Entf</kbd>, um die Sitzung zu beenden.
|
|
||||||
|
|
||||||
Die meisten <mark>Salamander</mark> sind nachtaktiv und jagen nach Insekten, Würmern und anderen kleinen Lebewesen.
|
|
|
@ -1,46 +0,0 @@
|
||||||
---
|
|
||||||
title: Mathematische Notation
|
|
||||||
date: 2019-03-08
|
|
||||||
description: Ein kurzes Beispiel für die mathematische Notation in Congo.
|
|
||||||
tags: ["Beispiele", "KaTeX", "Mathematik", "Shortcodes"]
|
|
||||||
---
|
|
||||||
|
|
||||||
KaTeX kann verwendet werden, um mathematische Notationen in Artikeln darzustellen.
|
|
||||||
|
|
||||||
<!--more-->
|
|
||||||
|
|
||||||
{{< katex >}}
|
|
||||||
|
|
||||||
Congo bindet die KaTeX-Assets nur dann in das Projekt ein, wenn die mathematische Notation verwendet wird. Damit dies funktioniert, kann einfach der Shortcode [`katex`]({{< ref path="docs/shortcodes#katex" lang="en" >}}) in den Artikel eingefügt werden. Jede KaTeX-Syntax auf dieser Seite wird dann automatisch gerendert.
|
|
||||||
|
|
||||||
Die Online-Referenz der [unterstützten TeX-Funktionen](https://katex.org/docs/supported.html) zeigt Syntax-Beispiele.
|
|
||||||
|
|
||||||
## Inline-Schreibweise
|
|
||||||
|
|
||||||
Die Inline-Schreibweise kann erzeugt werden, indem der Ausdruck in die Trennzeichen `\(` und `\)` eingeschlossen wird.
|
|
||||||
|
|
||||||
**Beispiel:**
|
|
||||||
|
|
||||||
```tex
|
|
||||||
% KaTeX Inline-Schreibweise
|
|
||||||
Inline-Schreibweise: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
|
||||||
```
|
|
||||||
|
|
||||||
Inline-Schreibweise: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
|
||||||
|
|
||||||
## Schreibweise als Block
|
|
||||||
|
|
||||||
Alternativ kann die Blockschreibweise mit Hilfe von `$$`-Trennzeichen erzeugt werden. Dadurch wird der Ausdruck in einem eigenen HTML-Block ausgegeben.
|
|
||||||
|
|
||||||
**Beispiel:**
|
|
||||||
|
|
||||||
```tex
|
|
||||||
% KaTeX mit Block-Schreibweise
|
|
||||||
$$
|
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
|
||||||
$$
|
|
||||||
```
|
|
||||||
|
|
||||||
$$
|
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
|
||||||
$$
|
|
|
@ -1,39 +0,0 @@
|
||||||
---
|
|
||||||
title: "Platzhalter-Text"
|
|
||||||
date: "2019-03-09"
|
|
||||||
lastmod: "2022-01-24"
|
|
||||||
draft: true
|
|
||||||
description: "Lorem Ipsum Dolor Si Amet"
|
|
||||||
tags: ["markdown", "text", "sample", "latin"]
|
|
||||||
showDateUpdated: true
|
|
||||||
xml: false
|
|
||||||
---
|
|
||||||
|
|
||||||
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
|
|
||||||
|
|
||||||
1. Exierant elisi ambit vivere dedere
|
|
||||||
2. Duce pollice
|
|
||||||
3. Eris modo
|
|
||||||
4. Spargitque ferrea quos palude
|
|
||||||
|
|
||||||
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
|
|
||||||
|
|
||||||
1. Comas hunc haec pietate fetum procerum dixit
|
|
||||||
2. Post torum vates letum Tiresia
|
|
||||||
3. Flumen querellas
|
|
||||||
4. Arcanaque montibus omnes
|
|
||||||
5. Quidem et
|
|
||||||
|
|
||||||
## Vagus elidunt
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="186" width="248"><g fill="none"><path stroke="#000" stroke-width="2" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width="2" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width="2" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx="2" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx="2" ry="1.25"></ellipse></g></svg>
|
|
||||||
|
|
||||||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
|
||||||
|
|
||||||
### Mane refeci capiebant unda mulcebat
|
|
||||||
|
|
||||||
Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
|
|
||||||
|
|
||||||
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
|
|
||||||
|
|
||||||
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
|
|
|
@ -1,37 +0,0 @@
|
||||||
---
|
|
||||||
title: "Reichhaltiger Inhalt"
|
|
||||||
date: 2019-03-10
|
|
||||||
description: "Eine kurze Beschreibung von Hugo-Shortcodes"
|
|
||||||
summary: "Dies hier ist ein _Beispiel_ einer **reichhaltigen** Inhaltsübersicht."
|
|
||||||
coverAlt: "Ein Beispiel für ein Titelbild, das die Icons einiger bekannter Medienorganisationen zeigt."
|
|
||||||
coverCaption: "Dies ist ein Beispiel für ein Titelbild mit einer Bildunterschrift."
|
|
||||||
tags: ["Shortcodes", "Privatsphäre", "Beispiele", "Gist", "Twitter", "YouTube", "Vimeo"]
|
|
||||||
---
|
|
||||||
|
|
||||||
Hugo wird mit mehreren [eingebauten Shortcodes] (https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) für reichhaltige Inhalte geliefert, zusammen mit einer [Datenschutzkonfiguration] (https://gohugo.io/about/hugo-and-gdpr/) und einer Reihe von _einfachen Shortcodes_, die statische und No-JS-Versionen von Einbettungen verschiedener sozialer Medien ermöglichen.
|
|
||||||
|
|
||||||
## YouTube
|
|
||||||
|
|
||||||
Hier ist ein Beispiel des mitgelieferten `youtube`-Shortcodes.
|
|
||||||
|
|
||||||
{{< youtube ZJthWmvUzzc >}}
|
|
||||||
|
|
||||||
## Twitter
|
|
||||||
|
|
||||||
Dieses Beispiel verwendet den Shortcode `twitter_simple`, um einen Tweet anzuzeigen. Er benötigt zwei benannte Parameter `user` und `id`.
|
|
||||||
|
|
||||||
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
|
|
||||||
|
|
||||||
Alternativ kann der Shortcode `tweet` verwendet werden, um eine vollständig formatierte Twitter-Kachel einzubetten.
|
|
||||||
|
|
||||||
## Gist
|
|
||||||
|
|
||||||
Der Shortcode `gist` kann verwendet werden, um einen Gist von GitHub einzubetten. Er erfordert zwei unbenannte Parameter: den Benutzernamen und die ID des Gist.
|
|
||||||
|
|
||||||
{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}}
|
|
||||||
|
|
||||||
## Vimeo
|
|
||||||
|
|
||||||
Der Shortcode `vimeo_simple` bettet ein Video von Vimeo ein.
|
|
||||||
|
|
||||||
{{< vimeo_simple 48912912 >}}
|
|
|
@ -31,6 +31,9 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
alt="{{ $.Params.featureAlt | default $.Params.coverAlt | default "" }}"
|
alt="{{ $.Params.featureAlt | default $.Params.coverAlt | default "" }}"
|
||||||
|
{{ if $.Site.Params.enableImageLazyLoading | default true }}
|
||||||
|
loading="lazy"
|
||||||
|
{{ end }}
|
||||||
/>
|
/>
|
||||||
{{ with $.Params.coverCaption }}
|
{{ with $.Params.coverCaption }}
|
||||||
<figcaption class="mb-6 -mt-3 text-center">{{ . | markdownify }}</figcaption>
|
<figcaption class="mb-6 -mt-3 text-center">{{ . | markdownify }}</figcaption>
|
||||||
|
|
|
@ -3,17 +3,20 @@
|
||||||
h-full
|
h-full
|
||||||
{{ end }} flex flex-col items-center justify-center text-center"
|
{{ end }} flex flex-col items-center justify-center text-center"
|
||||||
>
|
>
|
||||||
<header class="mb-3 flex flex-col items-center">
|
<header class="flex flex-col items-center mb-3">
|
||||||
{{ with .Site.Author.image }}
|
{{ with .Site.Author.image }}
|
||||||
{{ $authorImage := resources.Get . }}
|
{{ $authorImage := resources.Get . }}
|
||||||
{{ if $authorImage }}
|
{{ if $authorImage }}
|
||||||
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
||||||
<img
|
<img
|
||||||
class="mb-2 h-36 w-36 rounded-full"
|
class="mb-2 rounded-full h-36 w-36"
|
||||||
width="144"
|
width="144"
|
||||||
height="144"
|
height="144"
|
||||||
alt="{{ $.Site.Author.name | default "Author" }}"
|
alt="{{ $.Site.Author.name | default "Author" }}"
|
||||||
src="{{ $authorImage.RelPermalink }}"
|
src="{{ $authorImage.RelPermalink }}"
|
||||||
|
{{ if $.Site.Params.enableImageLazyLoading | default true }}
|
||||||
|
loading="lazy"
|
||||||
|
{{ end }}
|
||||||
/>
|
/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
height="{{ div $logo.Height 2 }}"
|
height="{{ div $logo.Height 2 }}"
|
||||||
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left{{ if $logo_dark }} hidden dark:flex{{ end }}"
|
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left{{ if $logo_dark }} hidden dark:flex{{ end }}"
|
||||||
alt="{{ .Site.Title }}"
|
alt="{{ .Site.Title }}"
|
||||||
|
{{ if .Site.Params.enableImageLazyLoading | default true }}
|
||||||
|
loading="lazy"
|
||||||
|
{{ end }}
|
||||||
/>
|
/>
|
||||||
{{- if $logo_dark }}
|
{{- if $logo_dark }}
|
||||||
<img
|
<img
|
||||||
|
@ -17,6 +20,9 @@
|
||||||
height="{{ div $logo_dark.Height 2 }}"
|
height="{{ div $logo_dark.Height 2 }}"
|
||||||
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left dark:hidden"
|
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left dark:hidden"
|
||||||
alt="{{ .Site.Title }}"
|
alt="{{ .Site.Title }}"
|
||||||
|
{{ if .Site.Params.enableImageLazyLoading | default true }}
|
||||||
|
loading="lazy"
|
||||||
|
{{ end }}
|
||||||
/>
|
/>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
{{ else if .IsPage }}
|
{{ else if .IsPage }}
|
||||||
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
|
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
[{
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "Article",
|
"@type": "Article",
|
||||||
"articleSection": "{{ (site.GetPage .Section).Title | safeJS }}",
|
"articleSection": "{{ (site.GetPage .Section).Title | safeJS }}",
|
||||||
|
@ -44,6 +44,6 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
"mainEntityOfPage": "true",
|
"mainEntityOfPage": "true",
|
||||||
"wordCount": "{{ .WordCount }}"
|
"wordCount": "{{ .WordCount }}"
|
||||||
}
|
}]
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -3,16 +3,22 @@
|
||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.118.2"
|
|
||||||
HUGO_THEMESDIR = "../.."
|
HUGO_THEMESDIR = "../.."
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
TZ = "Australia/Melbourne"
|
TZ = "Australia/Melbourne"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.deploy-preview.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.branch-deploy.environment]
|
||||||
|
HUGO_VERSION = "0.112.7"
|
||||||
|
|
|
@ -10,14 +10,14 @@
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"chart.js": "^4.4.0",
|
"chart.js": "^4.3.3",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"katex": "^0.16.8",
|
"katex": "^0.16.8",
|
||||||
"mermaid": "^10.4.0",
|
"mermaid": "^10.3.1",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.0.2",
|
||||||
"prettier-plugin-go-template": "^0.0.15",
|
"prettier-plugin-go-template": "^0.0.15",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.4",
|
"prettier-plugin-tailwindcss": "^0.5.3",
|
||||||
"rimraf": "^5.0.1",
|
"rimraf": "^5.0.1",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
"vendor-copy": "^3.0.1"
|
"vendor-copy": "^3.0.1"
|
||||||
|
@ -167,9 +167,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tailwindcss/typography": {
|
"node_modules/@tailwindcss/typography": {
|
||||||
"version": "0.5.10",
|
"version": "0.5.9",
|
||||||
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.9.tgz",
|
||||||
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
|
"integrity": "sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash.castarray": "^4.4.0",
|
"lodash.castarray": "^4.4.0",
|
||||||
|
@ -337,9 +337,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chart.js": {
|
"node_modules/chart.js": {
|
||||||
"version": "4.4.0",
|
"version": "4.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.3.3.tgz",
|
||||||
"integrity": "sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==",
|
"integrity": "sha512-aTk7pBw+x6sQYhon/NR3ikfUJuym/LdgpTlgZRe2PaEhjUMKBKyNaFCMVRAyTEWYFNO7qRu7iQVqOw/OqzxZxQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@kurkle/color": "^0.3.0"
|
"@kurkle/color": "^0.3.0"
|
||||||
|
@ -1489,9 +1489,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mermaid": {
|
"node_modules/mermaid": {
|
||||||
"version": "10.4.0",
|
"version": "10.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.3.1.tgz",
|
||||||
"integrity": "sha512-4QCQLp79lvz7UZxow5HUX7uWTPJOaQBVExduo91tliXC7v78i6kssZOPHxLL+Xs30KU72cpPn3g3imw/xm/gaw==",
|
"integrity": "sha512-hkenh7WkuRWPcob3oJtrN3W+yzrrIYuWF1OIfk/d0xGE8UWlvDhfexaHmDwwe8DKQgqMLI8DWEPwGprxkumjuw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@braintree/sanitize-url": "^6.0.1",
|
"@braintree/sanitize-url": "^6.0.1",
|
||||||
|
@ -2312,9 +2312,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/prettier": {
|
"node_modules/prettier": {
|
||||||
"version": "3.0.3",
|
"version": "3.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
|
||||||
"integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
|
"integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"prettier": "bin/prettier.cjs"
|
"prettier": "bin/prettier.cjs"
|
||||||
|
@ -2342,9 +2342,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier-plugin-tailwindcss": {
|
"node_modules/prettier-plugin-tailwindcss": {
|
||||||
"version": "0.5.4",
|
"version": "0.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.4.tgz",
|
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.3.tgz",
|
||||||
"integrity": "sha512-QZzzB1bID6qPsKHTeA9qPo1APmmxfFrA5DD3LQ+vbTmAnY40eJI7t9Q1ocqel2EKMWNPLJqdTDWZj1hKYgqSgg==",
|
"integrity": "sha512-M5K80V21yM+CTm/FEFYRv9/9LyInYbCSXpIoPAKMm8zy89IOwdiA2e4JVbcO7tvRtAQWz32zdj7/WKcsmFyAVg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.21.3"
|
"node": ">=14.21.3"
|
||||||
|
@ -3191,9 +3191,9 @@
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"@tailwindcss/typography": {
|
"@tailwindcss/typography": {
|
||||||
"version": "0.5.10",
|
"version": "0.5.9",
|
||||||
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
|
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.9.tgz",
|
||||||
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
|
"integrity": "sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"lodash.castarray": "^4.4.0",
|
"lodash.castarray": "^4.4.0",
|
||||||
|
@ -3330,9 +3330,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"chart.js": {
|
"chart.js": {
|
||||||
"version": "4.4.0",
|
"version": "4.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.3.3.tgz",
|
||||||
"integrity": "sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==",
|
"integrity": "sha512-aTk7pBw+x6sQYhon/NR3ikfUJuym/LdgpTlgZRe2PaEhjUMKBKyNaFCMVRAyTEWYFNO7qRu7iQVqOw/OqzxZxQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@kurkle/color": "^0.3.0"
|
"@kurkle/color": "^0.3.0"
|
||||||
|
@ -4221,9 +4221,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"mermaid": {
|
"mermaid": {
|
||||||
"version": "10.4.0",
|
"version": "10.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.3.1.tgz",
|
||||||
"integrity": "sha512-4QCQLp79lvz7UZxow5HUX7uWTPJOaQBVExduo91tliXC7v78i6kssZOPHxLL+Xs30KU72cpPn3g3imw/xm/gaw==",
|
"integrity": "sha512-hkenh7WkuRWPcob3oJtrN3W+yzrrIYuWF1OIfk/d0xGE8UWlvDhfexaHmDwwe8DKQgqMLI8DWEPwGprxkumjuw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@braintree/sanitize-url": "^6.0.1",
|
"@braintree/sanitize-url": "^6.0.1",
|
||||||
|
@ -4705,9 +4705,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"version": "3.0.3",
|
"version": "3.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
|
||||||
"integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
|
"integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"prettier-plugin-go-template": {
|
"prettier-plugin-go-template": {
|
||||||
|
@ -4720,9 +4720,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prettier-plugin-tailwindcss": {
|
"prettier-plugin-tailwindcss": {
|
||||||
"version": "0.5.4",
|
"version": "0.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.4.tgz",
|
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.3.tgz",
|
||||||
"integrity": "sha512-QZzzB1bID6qPsKHTeA9qPo1APmmxfFrA5DD3LQ+vbTmAnY40eJI7t9Q1ocqel2EKMWNPLJqdTDWZj1hKYgqSgg==",
|
"integrity": "sha512-M5K80V21yM+CTm/FEFYRv9/9LyInYbCSXpIoPAKMm8zy89IOwdiA2e4JVbcO7tvRtAQWz32zdj7/WKcsmFyAVg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
|
|
10
package.json
10
package.json
|
@ -29,14 +29,14 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/jpanther/congo#readme",
|
"homepage": "https://github.com/jpanther/congo#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"chart.js": "^4.4.0",
|
"chart.js": "^4.3.3",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"katex": "^0.16.8",
|
"katex": "^0.16.8",
|
||||||
"mermaid": "^10.4.0",
|
"mermaid": "^10.3.1",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.0.2",
|
||||||
"prettier-plugin-go-template": "^0.0.15",
|
"prettier-plugin-go-template": "^0.0.15",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.4",
|
"prettier-plugin-tailwindcss": "^0.5.3",
|
||||||
"rimraf": "^5.0.1",
|
"rimraf": "^5.0.1",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
"vendor-copy": "^3.0.1"
|
"vendor-copy": "^3.0.1"
|
||||||
|
|
Loading…
Reference in New Issue