Commit Graph

465 Commits

Author SHA1 Message Date
Alex Shpak
90eab4a917 #591, hide search field if JS is not enabled 2024-05-18 12:44:13 +02:00
Alex Shpak
ecbe879801 Set minimum hugo version to 0.124 2024-05-18 12:36:23 +02:00
Rajesh Duggal
eff55ecd56
Change "config.toml" to "hugo.toml" in the README.md documentation (#596) 2024-05-18 12:32:29 +02:00
Eitan Adler
1c78b920b0
replace .Site.IsMultiLingual with hugo.IsMultilingual (#609)
# Problem

The warning
```
INFO  deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0
and will be removed in a future release. Use hugo.IsMultilingual
instead.``

shows up

# Solution

Follow the deprecation warning
2024-05-18 12:31:58 +02:00
wenbingzhang
1c42a96572
Replace flexsearch with fusejs (#600)
Co-authored-by: 张文兵 <wenbing@mgtv.com>
2024-05-18 12:29:55 +02:00
Essa Alshammri
f8a0fc4e24
Add direction ltr to pre > code and highlight (#611)
* Add direction ltr to pre > code and highlight
* Add unicode-bidi: embed;
2024-04-13 11:19:59 +02:00
Leo Heitmann Ruiz
0baec34596
Use null alt text when icon is next to action (#610) 2024-04-13 11:18:14 +02:00
Leo Heitmann Ruiz
2dffe0bc7a
Make image path absolute (#593) 2024-03-11 14:12:18 +01:00
Leo Heitmann Ruiz
da22a41f60
Update link to hugo themes (#590) 2024-03-11 14:11:32 +01:00
Alex Shpak
a8b156250b #589, change hugo extended url 2024-03-11 13:42:39 +01:00
Alex Shpak
a111041867 #583, fix katex and mermaid examples with raw html 2024-02-17 18:57:02 +01:00
Alex Shpak
01645fc56d #521: add canonical url to the header 2024-02-17 18:04:57 +01:00
Alex Shpak
cba1eb611a Upgrade mermaidjs to 10.8.0 2024-02-17 17:36:33 +01:00
Andreas Deininger
5e15ddb4f4
Fix typos (#575) 2024-01-10 12:40:24 +01:00
Andreas Deininger
2d7ce27f77
Fix: make use of .Site.Params.BookFavicon (#576) 2024-01-10 12:39:18 +01:00
Alex Shpak
118997fa92 #524: Disable numbered plugin for non-article pages 2023-12-05 00:33:41 +01:00
李宗英
14e14f60ae
fix server worker is blocked (#565)
* fix server worker is blocked

* Also use relURL in manifest

---------

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2023-12-04 22:25:48 +01:00
Alex Shpak
3f1bcccbfb #543, Add summary param for section shortcode 2023-08-08 13:39:20 +02:00
auwsom
e7155b473a
Themes dir correction and peaceiris deploy to GitHub Pages (#506)
* commit

* commit

* remove push to /public

---------

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2023-08-08 13:08:03 +02:00
Alex Shpak
16f6203f90 #455, add BookFavicon parameter 2023-08-08 12:40:46 +02:00
nobu1308
1cebd589f6
Update meta theme-color in html-head.html (#527)
theme-color that works in both light and dark mode
2023-08-08 12:10:07 +02:00
Miguel Pimentel
36a7e32815
Update es.yaml (#547)
Added translation for 'Expand'.
Should be 'Expandir' instead.
2023-08-08 12:09:31 +02:00
Alex Shpak
d86d5e70c7 Reset generated CSS in example site 2023-04-24 15:41:11 +02:00
Alex Shpak
26fee5551f #528: hotfix for search, until we find a reason 2023-04-24 15:40:42 +02:00
Kanematsu Gaku
12de4671e3
Add "word-break" to list. (#534) 2023-04-24 13:07:08 +02:00
Kanematsu Gaku
9c8210d99b
Format CSS (#535) 2023-04-24 13:06:20 +02:00
Kenta Nakase
036e037a63
Update step for creating site from scratch to use content.en path (#508)
Co-authored-by: parroty <parroty@users.noreply.github.com>
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2023-02-13 23:05:05 +01:00
Alex Shpak
61bb57f32e #496, update content folder name in readme 2023-02-13 22:23:42 +01:00
Gerasimos (Makis) Maropoulos
d5b75f4fb3
README.md: fix link path to content.en (#497) 2022-11-11 11:08:54 +01:00
Alex Shpak
3d2bfec186 #445, Upgrade mermaid to 9.2.0 2022-11-03 00:28:15 +01:00
Alex Shpak
412f140762 Bump minimal hugo version to 0.79 2022-11-03 00:11:38 +01:00
Alex Shpak
1318a717ed #441, add menu.params.class support 2022-11-02 23:42:10 +01:00
Alex Shpak
9013a1f457 #352: move english content to content.en 2022-11-02 23:28:30 +01:00
Alex Shpak
6e1b44c4c4 #452: Put double comments on shortcodes 2022-11-02 23:09:40 +01:00
Mikey Lombardi (He/Him)
6090fddebd
(MAINT) Respect LinkTitle in page metadata (#483)
Prior to this commit, the partial for determining a page title used the
`Title` property of a page, if present, or humanized and titleized the
file name if not.

It did not use the `LinkTitle` property at all (defined in the
[front matter][01]). According to the [menu documentation][02]:

> The following order is used to determine an Identifier:
>
> `.Name > .LinkTitle > .Title`
>
> This means that `.Title` will be used unless `.LinkTitle is present,
> etc.

Similar, the documentation for [menu entry variables][03] states:

> The `name` key, if set for the menu entry, sets this value. If that
> key is not set, and if the menu entry is set in a page front-matter,
> this value defaults to the page's `.LinkTitle`.

Together, these imply that if `.LinkTitle` is specified, it should be
preferred over `.Title` for the generated nav menu.

[01]: https://gohugo.io/content-management/front-matter/
[02]: https://gohugo.io/content-management/menus/#nesting
[03]: https://gohugo.io/variables/menus/#menu-entry-variables
2022-10-05 10:01:03 +02:00
Dongliang Yin
317ccae23b
Remove left pagination spacing (#467) 2022-08-02 12:57:40 +02:00
Alexander Danilov
c024538604
Ignore code block clicks with active selection (#448) 2022-07-04 08:55:54 +02:00
Alex Shpak
4ef38f3bbf Add .hugo_build.lock to .gitignore 2022-04-26 13:43:10 +02:00
Alex Shpak
1852b16d93 #440L Adjust bookHref, check .Content again, add redirect 2022-04-26 13:14:22 +02:00
Horea Christian
c2014a08a5
Add BookHref, set explicit URL for the menu (#440) 2022-04-26 13:10:39 +02:00
Leone G
faede5e749
Add Amharic language translations (#444) 2022-04-26 11:35:50 +02:00
Giuseppe Masino
98d19b8e95
Make menu entries' link relative (#421)
This change allows hugo to build pages correcly when
`canonifyURLs = false` and `relativeURLs = true`.
Otherwise the links on the menu will be canonicalized regardless of
configuration.
This results in broken sites in a number of situations, such as sites
served behind a reverse-proxy that don't want to account for the prefix
they're served under.
2022-02-18 17:35:02 +01:00
Andreas Deininger
5581ec0845
REDAME: Katex to KaTeX (#416) 2022-02-14 15:44:11 +01:00
Alex Shpak
3a65df3a76 #408, #410: Use LanguageCode in templates if specified 2022-01-13 19:20:02 +01:00
shawn.ye
fb0863a27a
Prevent breaked-lines in <p> (#404) 2022-01-13 16:52:03 +01:00
Samuel Redai
2f60f0919f
Updating book to hugo-book in README (#394)
Looks like the path `/book/` in the readme should be `/hugo-book/`.
2021-12-01 10:43:39 +01:00
Alex Shpak
2e693816ae #385: Do not focus search field if current element has value 2021-11-19 14:24:28 +01:00
QIN2DIM
c47eb7388a
Rename theme in readmin to hugo-book (#386)
* Update README.md
* Update README.md

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2021-11-19 13:33:01 +01:00
Alex Shpak
8bb6d7ebec #369, switch to google_analytics.html internal template 2021-10-19 22:05:41 +02:00
Nikolay Raspopov
6c3d1e942a
Removed extra Google Analitics include (#389)
It's already included via "docs/html-head" partial.
2021-10-19 21:56:36 +02:00