Commit graph

82 commits

Author SHA1 Message Date
Alex Shpak
ec53e2733f Update disqus support, add global site config BookDisqus 2020-01-13 17:55:34 +01:00
Dave Kerr
36a8cf5169 feat: added support for Disqus (#120)
* feat: added support for Disqus
* feat: allow disqus to be disabled through frontmatter

Set:
    bookDisableComments: true

On a page to disable disqus for the content.
2020-01-13 17:46:19 +01:00
tyler71
e037b7c70f mobile toc menu (#121)
* Implement TOC for mobile
* Uses Page title as label
* Label entries so that tapping TOC will hide menu
* Switch to medium breakpoint
* Correct tos -> toc
* toc-menu-control -> toc-control
2020-01-13 17:44:24 +01:00
Alex Shpak
d6290dcf50 #66, add taxonomy support 2019-12-19 17:22:12 +01:00
Thomas M Porter II
f5a52e6ed1 replacing any backslashes with forward slashes for edit file url(#116)
Seems to be a Windows related thing. `.File.Path` returns a path with backslashes this adds a replace to make those forward slashes. This appears to fix #115
2019-12-17 23:24:15 +01:00
Alex Shpak
d934e0b12a Make icons white in dark mode 2019-12-09 11:24:31 +01:00
Alex Shpak
20c3faae4d Improve accessibility score 2019-11-16 22:00:50 +01:00
Alex Shpak
f1d4aeb69a Make GitInfo not required for 'edit this page' link 2019-11-16 21:49:48 +01:00
Alex Shpak
1addb8dca6 Refactor footer 2019-11-16 21:32:23 +01:00
Alex Shpak
aaf236410e Update README.md 2019-11-16 20:35:23 +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
4596f08e32 Rename ToC level styles, reorganize example content 2019-10-23 21:31:58 +02:00
Alex Shpak
e2188136e1 #51, Add experimental bookCollapseSection page param to hide nested sections 2019-10-09 01:00:40 +02:00
Alex Shpak
1db63cef5c Fix valign for git footer icons 2019-10-08 23:25:33 +02:00
Alex Shpak
00988ceee1 Remove BookMenuBundleActiveLinkColor parameter 2019-10-08 23:17:30 +02:00
Alex Shpak
007bc10c07 Introduce SCSS plugins: dark mode and numbered headings 2019-10-08 17:03:49 +02:00
Alex Shpak
77255304f3 #74, Remove readonly flag from search field 2019-10-03 14:18:34 +02:00
Alex Shpak
22ff783d86 #86, Add google analytics to readme, move GA and enable Open Graph in head 2019-10-03 14:10:03 +02:00
Alex Shpak
ae3c5017c4 Small adjustments for logo span and css 2019-09-05 23:01:40 +02:00
Paul Twohey
73e53768c9 always have <span> for title text and move spacing to logo 2019-09-05 22:22:14 +02:00
Paul Twohey
d94b4196ba support relative URLs for brand logos 2019-09-05 22:22:14 +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
Paul Twohey
7d0ee68c3b Fixes #69 Make file based menus behave as expected
- Fixes #69
- Section headings are listed once
- Sections and normal pages sort with the same weights amongst themselves
2019-09-04 16:09:55 +02:00
Paul Twohey
64dfdf39fb add sub resource integrity (SRI) to processed assets
- search javascript
- SCSS processed stylesheet
2019-09-02 09:59:50 +02:00
Alex Shpak
469d9d88cd Show progressbar while loading lunr and data 2019-08-06 11:33:42 +02:00
Alex Shpak
f56f2bf04d Block serach bar untill index is loaded 2019-08-06 11:33:42 +02:00
Alex Shpak
c78c67ffed Fix title partial, frontmatter title was ignored 2019-08-06 11:33:42 +02:00
Alex Shpak
625f202275 Make lunr to load on search interaction as well 2019-08-06 11:33:42 +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
f3796f43f3 Change edit and date icons 2019-05-23 16:43:54 +02:00
Alex Shpak
5437521798 #39, Finish columns shortcode, clean scss 2019-05-23 16:30:26 +02:00
V.H. Belvadi
e4a97bee27 Various changes to improve local loading of Oxygen. 2019-05-15 09:53:49 +02:00
V.H. Belvadi
2c8c47c210 Updated googleFonts parameter behaviour
Congif googlefonts parameter now loads (by default or discards by setting) locally loaded Oxygen from _fonts.scss based on the user's preference.
2019-05-15 09:53:49 +02:00
V.H. Belvadi
76f87feed6 Google Fonts deactivation improvements.
Changed the with block to an if block to enable turning off of Google Fonts from config.
2019-05-15 09:53:49 +02:00
V.H. Belvadi
8fe1725ff3 Added check for .Site.Params.googleFonts
Functionality to enable or disable Google Fonts.
2019-05-15 09:53:49 +02:00
Alex Shpak
ffd5e272a8 #43, Add bookHidden page param to hide page from side menu 2019-04-30 22:16:02 +02:00
Alex Shpak
5b963180ab Improve accessibility 2019-04-23 23:02:06 +02:00
Alex Shpak
b10d1e959c Improve logic in title template for less warnings 2019-04-22 22:19:08 +02:00
Alex Shpak
0b30289d9f #43, Update tree menu rendering to support multiple sections 2019-04-22 19:17:39 +02:00
Bjørn Erik Pedersen
5affd26bfb Adjust .File usage to get rid of WARNINGs
Note that this requires this fix in Hugo 0.55.2:

https://github.com/gohugoio/hugo/issues/5865
2019-04-16 11:53:36 +02:00
V.H. Belvadi
4054b1b520 Updated to-be-deprecated .RSSLink call 2019-04-15 20:29:47 +02:00
Alex Shpak
31a262451a Move from custom.css to custom.scss to be able to use variables 2019-04-09 22:59:29 +02:00
Alex Shpak
6ef4a4b69c Update favicon, update README, re-generate resources 2019-04-09 22:50:25 +02:00
Jordi Bares
aa07b876fe Remove copyright note and flags, fix bug with paths 2019-04-09 22:31:24 +02:00
Jordi Bares
629c4bb1d4 Various fixes responding to Alex notes 2019-04-09 22:31:24 +02:00