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

This commit is contained in:
Robert Kaussow 2022-10-14 12:21:16 +02:00 committed by GitHub
parent 848d6c1736
commit 3c61ef8957
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 31 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-geekblog - mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekblog
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ -e ci - hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ -e ci
@ -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/
@ -287,6 +287,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: f04800844c631b0c9e17b7a7c015ca971754516f609248a380ee0db2ec2037c7 hmac: 7124323835f4329636bb5445e8018ad366e6cbab3caec54e30edd7939603cb1a
... ...

View File

@ -348,11 +348,9 @@ Boxes can be used to create a simple grid.
### 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
@ -363,11 +361,9 @@ sequenceDiagram
opt Extra response opt Extra response
Bob->>Alice: Thanks for asking Bob->>Alice: Thanks for asking
end end
{{</* /mermaid */>}} {{</*/* /mermaid */*/>}}
``` ```
<--->
<!-- spellchecker-disable --> <!-- spellchecker-disable -->
<!-- prettier-ignore --> <!-- prettier-ignore -->
{{< mermaid class="text-center" >}} {{< mermaid class="text-center" >}}
@ -383,10 +379,6 @@ sequenceDiagram
end end
{{< /mermaid >}} {{< /mermaid >}}
<!-- 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 >}}
@ -424,16 +416,12 @@ C -->|Two| E[Result 2]
### 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 >}}
@ -442,17 +430,7 @@ 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. Text continues here.

View File

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