mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-07-23 14:51:56 +00:00
Compare commits
5 Commits
6090fddebd
...
3d2bfec186
Author | SHA1 | Date | |
---|---|---|---|
|
3d2bfec186 | ||
|
412f140762 | ||
|
1318a717ed | ||
|
9013a1f457 | ||
|
6e1b44c4c4 |
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
hugo-version:
|
hugo-version:
|
||||||
- 'latest'
|
- 'latest'
|
||||||
- '0.68.0'
|
- '0.79.0'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Hugo Book Theme
|
# Hugo Book Theme
|
||||||
|
|
||||||
[](https://gohugo.io)
|
[](https://gohugo.io)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||

|

|
||||||
|
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Hugo 0.68 or higher
|
- Hugo 0.79 or higher
|
||||||
- Hugo extended version, read more [here](https://gohugo.io/news/0.48-relnotes/)
|
- Hugo extended version, read more [here](https://gohugo.io/news/0.48-relnotes/)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
@ -23,7 +23,7 @@ enableGitInfo = true
|
|||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = 'English'
|
languageName = 'English'
|
||||||
contentDir = 'content'
|
contentDir = 'content.en'
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[languages.ru]
|
[languages.ru]
|
||||||
|
@ -23,7 +23,7 @@ markup:
|
|||||||
languages:
|
languages:
|
||||||
en:
|
en:
|
||||||
languageName: English
|
languageName: English
|
||||||
contentDir: content
|
contentDir: content.en
|
||||||
weight: 1
|
weight: 1
|
||||||
ru:
|
ru:
|
||||||
languageName: Russian
|
languageName: Russian
|
||||||
|
@ -6,9 +6,9 @@ KaTeX shortcode let you render math typesetting in markdown document. See [KaTeX
|
|||||||
{{< columns >}}
|
{{< 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 */*/>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
<--->
|
<--->
|
@ -13,7 +13,7 @@ create a `mermaid.json` file in your `assets` folder!
|
|||||||
|
|
||||||
{{< columns >}}
|
{{< columns >}}
|
||||||
```tpl
|
```tpl
|
||||||
{{</* mermaid [class="text-center"]*/>}}
|
{{</*/* mermaid [class="text-center"]*/*/>}}
|
||||||
stateDiagram-v2
|
stateDiagram-v2
|
||||||
State1: The state with a note
|
State1: The state with a note
|
||||||
note right of State1
|
note right of State1
|
||||||
@ -22,7 +22,7 @@ stateDiagram-v2
|
|||||||
end note
|
end note
|
||||||
State1 --> State2
|
State1 --> State2
|
||||||
note left of State2 : This is the note to the left.
|
note left of State2 : This is the note to the left.
|
||||||
{{</* /mermaid */>}}
|
{{</*/* /mermaid */*/>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
<--->
|
<--->
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"Target":"book.min.82c5dbd23447cee0b4c2aa3ed08ce0961faa40e1fa370eee4f8c9f02e0d46b5f.css","MediaType":"text/css","Data":{"Integrity":"sha256-gsXb0jRHzuC0wqo+0Izglh+qQOH6Nw7uT4yfAuDUa18="}}
|
{"Target":"book.min.c58292d36b18b675680ab9baea2029204537b839ea72f258746ec0f32ce8d6c8.css","MediaType":"text/css","Data":{"Integrity":"sha256-xYKS02sYtnVoCrm66iApIEU3uDnqcvJYdG7A8yzo1sg="}}
|
@ -10,7 +10,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .URL }}" {{ if not .Page }}target="_blank" rel="noopener"{{ end }}>
|
<a href="{{ .URL }}" {{ with .Params.class }}class="{{ . }}"{{ end }} {{ if not .Page }}target="_blank" rel="noopener"{{ end }}>
|
||||||
{{- .Pre -}}
|
{{- .Pre -}}
|
||||||
{{ with .Page }}
|
{{ with .Page }}
|
||||||
{{ partial "docs/title" .Page }}
|
{{ partial "docs/title" .Page }}
|
||||||
|
1272
static/mermaid.min.js
vendored
1272
static/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user