chore: bump hugo in ci to 0.104.3 (#518)

This commit is contained in:
Robert Kaussow 2022-10-14 12:21:12 +02:00 committed by GitHub
parent 3a651840a9
commit c1d8443eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 30 deletions

View File

@ -26,7 +26,7 @@ steps:
NPM_CONFIG_LOGLEVEL: error NPM_CONFIG_LOGLEVEL: error
- name: testbuild - name: testbuild
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.104.3
commands: commands:
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekdoc - mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekdoc
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ - hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/
@ -206,7 +206,7 @@ steps:
- refs/pull/** - refs/pull/**
- name: build - name: build
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.104.3
commands: commands:
- hugo --panicOnWarning -s exampleSite/ - hugo --panicOnWarning -s exampleSite/
@ -286,6 +286,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: e0710630d0e540bb93561e760d0c4cfa4a67d2ee715993e7bb29e03d79f83d53 hmac: 8a857bba8126ebb40acc7dfb24a86f1539d447df4ca3e4b3bdc8f78d21e2b51b
... ...

View File

@ -6,16 +6,12 @@ title: KaTeX
## Example ## Example
{{< columns >}}
```latex ```latex
{{</* katex [display] [class="text-center"] */>}} {{</* katex [display] [class="text-center"] */>}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{</* /katex */>}} {{</* /katex */>}}
``` ```
<--->
<!-- spellchecker-disable --> <!-- spellchecker-disable -->
<!-- prettier-ignore --> <!-- prettier-ignore -->
{{< katex display >}} {{< katex display >}}
@ -24,16 +20,4 @@ f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
<!-- spellchecker-enable --> <!-- spellchecker-enable -->
{{< /columns >}} KaTeX can be used inline, for example {{< katex >}}\pi(x){{< /katex >}} or used with the `display` parameter (see above).
KaTeX can also be used inline, for example {{< katex >}}\pi(x){{< /katex >}} or used with the `display` parameter (e.g. `display: block`):
<!-- spellchecker-disable -->
<!-- prettier-ignore -->
{{< katex display >}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{< /katex >}}
<!-- spellchecker-enable -->
Text continues here.

View File

@ -6,11 +6,9 @@ title: Mermaid
## Example ## Example
{{< columns >}}
<!-- prettier-ignore --> <!-- prettier-ignore -->
```tpl ```tpl
{{</* mermaid class="text-center"*/>}} {{</* mermaid class="text-center" */>}}
sequenceDiagram sequenceDiagram
Alice->>Bob: Hello Bob, how are you? Alice->>Bob: Hello Bob, how are you?
alt is sick alt is sick
@ -24,8 +22,6 @@ sequenceDiagram
{{</* /mermaid */>}} {{</* /mermaid */>}}
``` ```
<--->
<!-- spellchecker-disable --> <!-- spellchecker-disable -->
<!-- prettier-ignore --> <!-- prettier-ignore -->
{{< mermaid class="text-center" >}} {{< mermaid class="text-center" >}}
@ -43,8 +39,6 @@ sequenceDiagram
<!-- spellchecker-enable --> <!-- spellchecker-enable -->
{{< /columns >}}
As an alternative to shortcodes, code blocks can be used for markdown as well. As an alternative to shortcodes, code blocks can be used for markdown as well.
{{< columns >}} {{< columns >}}
@ -53,7 +47,6 @@ As an alternative to shortcodes, code blocks can be used for markdown as well.
````tpl ````tpl
```mermaid ```mermaid
flowchart LR flowchart LR
A[Hard] -->|Text| B(Round) A[Hard] -->|Text| B(Round)
B --> C{Decision} B --> C{Decision}
C -->|One| D[Result 1] C -->|One| D[Result 1]
@ -67,7 +60,6 @@ C -->|Two| E[Result 2]
<!-- prettier-ignore --> <!-- prettier-ignore -->
```mermaid ```mermaid
flowchart LR flowchart LR
A[Hard] -->|Text| B(Round) A[Hard] -->|Text| B(Round)
B --> C{Decision} B --> C{Decision}
C -->|One| D[Result 1] C -->|One| D[Result 1]

View File

@ -6,6 +6,6 @@
{{ end }} {{ end }}
<!-- prettier-ignore-end --> <!-- prettier-ignore-end -->
<pre class="gdoc-mermaid mermaid"> <pre class="gdoc-mermaid mermaid text-center">
{{- .Inner -}} {{- .Inner -}}
</pre> </pre>