Commit Graph

446 Commits

Author SHA1 Message Date
Gon Pombo
d94e72e18d
feat search box (#1)
* feat search box

* replace flexshearch with lunrjs cause fuzzy + highlight

* add svg search. Add infinity scroll to avoid creating a new page. Add some comments
2022-10-06 22:11:49 -03:00
menduz
132b7eb9e1
fix outline 2022-10-03 17:39:46 -03:00
menduz
609b93d014
fix links colors 2022-10-03 14:31:21 -03:00
menduz
4f6ab8b112
tabs 2022-10-03 14:30:13 -03:00
menduz
8056e9372f
fix paragraph margins 2022-10-03 14:19:41 -03:00
menduz
176b987dee
favicon and styles agreed with Mat 2022-10-03 13:57:29 -03:00
menduz
3e084a5ba7
fix abs path 2022-10-03 12:40:31 -03:00
menduz
996d877c64
deploy ghpages in master 2022-10-03 12:35:02 -03:00
menduz
5e8c452534
add serve command 2022-10-03 12:31:02 -03:00
menduz
43422fccfb
build 2022-10-03 12:29:39 -03:00
menduz
1b60f7f3ed
gh pages 2022-10-03 12:25:56 -03:00
menduz
3ee7afcb69
theme renderer 2022-10-03 12:14:02 -03:00
menduz
37b9ae824d
theme renderer 2022-10-03 11:56:09 -03:00
menduz
da7492ba2c
remove warn 2022-10-02 21:55:47 -03:00
menduz
1642ba8fcd
iosevka font 2022-10-02 21:45:43 -03:00
menduz
e24c28999f
initial styles 2022-10-02 21:33:22 -03: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
Jack Morgan
9d4916fcc2
Allow site title to be customised via parital (#384)
* Allow site title to be customised via parital
* Modify readme to highlight available partials
* Rename template for consistency
* Move title tags to head partial
2021-09-27 09:36:02 +02:00
xhdix
f2fb37b1ad
add color-scheme to head-html (#387) 2021-09-26 21:47:58 +02:00
Alex Shpak
d6087bd32d Add hugo init to install instructions 2021-09-11 21:27:19 +02:00
Alex Shpak
15ef744c94 Rollback flexsearch for now 2021-09-08 23:41:49 +02:00
Michael T Lombardi (He/Him)
6aef8ef1c7
(GH-375) Enable use as a hugo module (#376)
This commit does the minimal work to make the Book theme a functional
hugo module by adding the go.mod file and including instructions in
the project README for use.

Resolves #375
2021-09-07 22:05:33 +02:00
Alex Shpak
a656d711bf Upgrade flexsearch and mermaid 2021-08-30 14:47:27 +02:00
Alex Shpak
0cde2e461d #370: Allow markdown in details shortcode, also change markdownify to RenderString in other shortcodes 2021-08-30 14:32:11 +02:00
Alex Shpak
4c1de2b3de #374: set auto height for images in markdown 2021-08-30 14:15:57 +02:00
Alex Shpak
26de844a19 #343, #165: Move lang selector to left menu 2021-08-18 11:12:58 +02:00
Alex Shpak
50147be131
Update README.md 2021-07-25 22:44:14 +02:00
Alex Shpak
deb00bcad2
Update theme.toml 2021-07-25 22:41:58 +02:00
逊狼
92d97049cf
issues 362 (#364)
* 🐞 fix issues 352

Solve this problem:
https://github.com/alex-shpak/hugo-book/issues/352

The Reason:
https://github.com/gohugoio/hugo/issues/8688

* fix issues 362

https://github.com/alex-shpak/hugo-book/issues/362

* Revert "🐞 fix issues 352"

This reverts commit 58f8935d1e.

* Revert "Revert "🐞 fix issues 352""

This reverts commit fa0d46ccf5.

* fix issues 362

* Update columns.html

* Revert "Revert "Revert "🐞 fix issues 352"""

This reverts commit 79777a9e84.

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2021-07-20 16:20:43 +02:00
Marco Guerrini
c4d69635af
Added italian translation (#356) 2021-07-01 11:26:02 +02:00
xhdix
e939f40314
Add Farsi with support for search RTL texts (#350)
Farsi/Parsi/Persian
2021-06-21 21:11:36 +02:00
xhdix
0d2ed5586e
Change collapsed icon in menu for RTL pages (#354) 2021-06-21 20:18:14 +02:00
xhdix
379e311d7e
Fix menu not working in RTL menu (#349) 2021-06-08 10:08:46 +02:00
Nikolay Raspopov
4540d66e3b
Document removal of internal hugo templates (#345) 2021-05-27 09:11:13 +02:00
Alex Shpak
fde10f1319 #285, skip integrity attribute if site is built without hostname 2021-05-21 00:50:38 +02:00
Alex Shpak
f6e8d1b693 Add deprecation notice for menu bundle 2021-05-21 00:46:53 +02:00