Commit graph

205 commits

Author SHA1 Message Date
Alex Shpak
a5788d71fa #80, Add search index configuration 2019-10-27 11:58:58 +01:00
Alex Shpak
b4307e7c09 #80, Migrate to flexsearch 2019-10-23 21:32:15 +02:00
Alex Shpak
4596f08e32 Rename ToC level styles, reorganize example content 2019-10-23 21:31:58 +02:00
Alex Shpak
e03b9bccb1 Delete .DS_Store 2019-10-21 10:20:05 +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
071e069d92 Update readme 2019-10-09 00:05:30 +02:00
Alex Shpak
c7f93dc789 Update example file structure, give each shortcode own file 2019-10-08 23:55:34 +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
394b54f76b Upgrade hugo in github action 2019-10-08 17:15:16 +02:00
Alex Shpak
007bc10c07 Introduce SCSS plugins: dark mode and numbered headings 2019-10-08 17:03:49 +02:00
Peiling Jiang
1cd5040d84 Add Google Analytics setup (in configuration file) hint. (#88) 2019-10-04 09:52:51 +02:00
Alex Shpak
1f8d34168f #77, Introduce hint shortcode 2019-10-03 18:15:24 +02:00
Alex Shpak
3e3a3346e1 #59, Allow customize SASS vars, add example of dark theme 2019-10-03 15:07:56 +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
397ebbc2a4 #79, Disable async load for dynamically inserted scripts 2019-10-03 13:56:41 +02:00
Olivier Beaulieu
ff6ba4b1ae Fixed typo in README 2019-09-30 11:03:10 +02:00
Alex Shpak
5d6873e992 #73, Enable TOC and git footer for posts 2019-09-22 13:15:22 +02:00
Alex Shpak
74422e6896 Fix github workflow name 2019-09-05 23:44:19 +02:00
Alex Shpak
9a58945b8b Reorganize files structure to be similar to menu bundle 2019-09-05 23:03:08 +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
Paul Twohey
964968be39 use class="hidden" instead of creating new classes
Use class "hidden" instead of styled classes to ensure that input elments stay
hidden when the Content-Security-Policy header has "style-src 'self';"
2019-09-01 20:51:15 +02:00
Paul Twohey
438f011ff5 fix menu, docs, and posts to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so style them display: none
2019-09-01 20:51:15 +02:00
Paul Twohey
99bd271b35 fix expand and tabs shortcodes to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so add CSS to the markup classes and style them
display: none
2019-09-01 20:51:15 +02:00
Alex Shpak
8f1cdb6aee #61, Remove need for $$ in katex shortcode 2019-08-23 13:23:06 +02:00
Alex Shpak
185e52d2f6 #61, Add katex shortcode 2019-08-23 00:01:14 +02:00
Alex Shpak
c98b510fe0 Finish migration to github actions 2019-08-22 23:17:07 +02:00
Alex Shpak
98d18c3cef Download hugo from releases in workflow 2019-08-22 23:14:55 +02:00
Alex Shpak
73ed73a26a Update workflow to ubuntu-latest 2019-08-22 23:07:54 +02:00
Alex Shpak
817d096e43 Add working directory to workflow 2019-08-22 23:06:13 +02:00
Alex Shpak
624cefb3c0 Add checkout action to workflow 2019-08-22 22:54:29 +02:00
Alex Shpak
03b8e93481 Specify run-on for github workflow 2019-08-22 22:51:32 +02:00
Alex Shpak
face62569e
Create hugo github action 2019-08-22 22:46:28 +02:00
Alex Shpak
424ff16092 Fix formatting in search-data 2019-08-09 14:53:15 +02:00
Alex Shpak
df8d186d38 Jsonify title in search as well 2019-08-08 13:17:47 +02:00
Alex Shpak
b95fbf9750 Update hugo version in travis 2019-08-06 13:14:51 +02:00
Alex Shpak
3deb5ffc52 Update screenshots and theme tags 2019-08-06 13:05:04 +02:00
Alex Shpak
11d1c44a1a Update search box design 2019-08-06 11:33:42 +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
a3f7d8b948 Improve search settings 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
440ea834f7 Add extra margin under search bar, cleanup 2019-08-06 11:33:42 +02:00