Commit Graph

35 Commits

Author SHA1 Message Date
Alex Shpak
60dfd9aa4b Set BookTranslatedOnly to false for example site 2021-01-29 10:54:35 +01:00
Alex Ivanov
c828c6660f
Add OnlyTranslated property (#303)
* Add OnlyTranslated property

Signed-off-by: Alex Ivanov <ai@contributor.pw>

* Add newlines

Signed-off-by: Alex Ivanov <ai@contributor.pw>

* rename property

Signed-off-by: Alex Ivanov <ai@contributor.pw>
2021-01-21 11:42:26 +01:00
Alex Shpak
4e34988b5d #151, move SCSS vars to CSS vars, implement dark and light modes by browser preference 2020-09-14 00:02:55 +02:00
Alex Shpak
615400b3b7 Revert example site title 2020-07-07 23:07:28 +02:00
Alex Shpak
bf93dafdfa Improve accessibility and keyboard navigation 2020-07-07 23:06:21 +02:00
Alex Shpak
821203777d Rename 'cn' locale to 'zh', cn code is unassigned 2020-04-21 23:38:30 +02:00
tyler71
b88d5f6b12
Edit this page content dir lang independent (#202)
#200
2020-04-16 17:40:17 +02:00
Alex Shpak
9719692512 Introduce serviceWorker, disabled by default 2020-04-12 20:50:03 +02:00
Alex Shpak
d61558462f Revert config.toml sectin config 2020-04-11 14:37:47 +02:00
Alex Shpak
15339ab6a6 #157, Refactor side menu, simpler and renders all pages at root 2020-04-11 14:35:29 +02:00
Alex Shpak
289a3f456e Add portable links, requires hugo 0.62 2020-03-07 18:47:16 +01:00
Alex Shpak
2088c9a0cb Add support for hugo menus 2020-02-12 22:12:41 +01:00
Alex Shpak
c0bd5b5bb8 #90, Move inline scripts to file in assets to allow overwrite 2020-02-04 22:24:36 +01:00
Alex Shpak
ba5d38ad44 Rework of main template, adds options for more fine customisation 2020-01-24 00:07:56 +01:00
Alex Shpak
4b641b0f9a #133, move disqus to separate template to allow override, rename BookDisqus to BookComments 2020-01-17 21:44:25 +01:00
Alex Shpak
ec53e2733f Update disqus support, add global site config BookDisqus 2020-01-13 17:55:34 +01:00
Alex Shpak
d6290dcf50 #66, add taxonomy support 2019-12-19 17:22:12 +01:00
Alex Shpak
3f463aeb0c Set toc starting level to 1 2019-12-09 11:24:31 +01:00
Alex Shpak
5af2b92f00 #106, Upgrade to hugo 0.60 2019-12-01 14:54:47 +01:00
Alex Shpak
e3dc5c5723 #99, Move translations to separate content folders 2019-11-19 23:56:45 +01:00
Alex Shpak
13584878c2 Polish multilang mode, update docs 2019-11-16 20:35:23 +01:00
Alex Shpak
7b52bf4232 #87, Add support for multilang search index generation 2019-11-16 20:35:23 +01:00
Alex Shpak
05c3b8fac9 Add language switch at bottom of page 2019-11-16 20:35:23 +01:00
Alex Ivanov
9cd378a2d2 Multilang (#93)
* Add i18n langs trans example
* partials
* Update sample site
* cc of variables of config
* Clean PR
* revert master data
2019-11-16 20:34:46 +01:00
Alex Shpak
a5788d71fa #80, Add search index configuration 2019-10-27 11:58:58 +01:00
Alex Shpak
e2188136e1 #51, Add experimental bookCollapseSection page param to hide nested sections 2019-10-09 01:00:40 +02:00
Alex Shpak
00988ceee1 Remove BookMenuBundleActiveLinkColor parameter 2019-10-08 23:17:30 +02:00
Alex Shpak
1f8d34168f #77, Introduce hint shortcode 2019-10-03 18:15:24 +02:00
Alex Shpak
ae3c5017c4 Small adjustments for logo span and css 2019-09-05 23:01:40 +02:00
Paul Twohey
6004c7edc3 Optional brand logo in the menu controlled by .Site.Params.BookLogo
- documentation in README.md and exampleSite/config.{toml,yaml}
2019-09-05 22:22:14 +02:00
Alex Shpak
1f3addcca5 Implement search, loading on demand 2019-08-06 11:33:42 +02:00
Alex Shpak
dda0a0eab1 Start work on search feature with lunr 2019-08-06 11:33:42 +02:00
Alex Shpak
e452a7beda #52, Allow to set max showed levels of ToC. e.g. BookToC=3 2019-05-27 16:48:23 +02:00
Alex Shpak
c80bd79dcd #39, Add multi-column shortcode 2019-05-22 16:17:55 +02:00
Alex Shpak
ddfb4bafb7 #50, Keep both yaml and toml examples in exampleSite 2019-05-22 10:23:34 +02:00