Commit Graph

201 Commits

Author SHA1 Message Date
Alex Shpak
5f2cc877df #229: Add height to body, for sticky elements 2020-06-13 00:21:08 +02:00
Alex Shpak
b8b7184e89 Add section shortcode, to render children 2020-05-31 00:18:25 +02:00
Alex Shpak
aa7c486e76 Add anchors to headings 2020-05-30 23:22:51 +02:00
Alex Shpak
8edf0aab16 #215, Fix search spinner in RTL direction 2020-05-19 23:10:11 +02:00
Alex Shpak
65484b0f4c #215, Fix menu translateX for RTL (negative X) 2020-05-18 23:58:21 +02:00
Alex Shpak
92600f77fe #215, Add support for languageDirection param 2020-05-17 13:10:50 +02:00
Alex Shpak
821203777d Rename 'cn' locale to 'zh', cn code is unassigned 2020-04-21 23:38:30 +02:00
Alex Shpak
66968582ef #205, Add details shortcode 2020-04-21 22:30:00 +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
e4e43bd9b1 Refactor KaTeX shortcode, remove whitespaces and fix font size 2020-04-11 20:05:43 +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
6234f12654 Restrict visited link color to markdown only 2020-04-06 11:26:35 +02:00
Alex Shpak
61b13ba583 #183, Update generated resources 2020-03-22 19:51:55 +01:00
Alex Shpak
a3059fe4f7 #140, Use new GetTerms function to fix tag titles 2020-03-19 22:00:45 +01:00
Alex Shpak
289a3f456e Add portable links, requires hugo 0.62 2020-03-07 18:47:16 +01:00
Alex Shpak
c217876059 Update generated resources 2020-03-07 14:30:31 +01:00
Alex Shpak
6ecc94ed2b #155, Add expand indicator in collapsed section 2020-02-29 21:15:52 +01:00
Alex Shpak
a722f74fba #154, Add menu overlay over content to hide menu on click 2020-02-27 22:58:15 +01:00
Alex Shpak
d55e2b2946 Remove tabs test page 2020-02-25 21:19:17 +01:00
Alex Shpak
08519158f4 #153, Remove extra spaces in generated tabs html 2020-02-25 21:16:49 +01:00
Alex Shpak
8369d9a3a7 #150, Add support for menu nesting (before, after menus) 2020-02-22 19:30:46 +01:00
Alex Shpak
59b649cf8b Update bundle menu example 2020-02-22 11:59:35 +01:00
Alex Shpak
f633bbe679 Add touch-action: manipulation for mobile devices 2020-02-12 23:31:58 +01:00
Alex Shpak
2088c9a0cb Add support for hugo menus 2020-02-12 22:12:41 +01:00
Alex Shpak
59479b17ac Make start page fit single screen 2020-02-12 00:00:04 +01:00
Alex Shpak
eef4bef0d7 Removed unused ToC levels classes 2020-02-11 23:53:36 +01:00
Alex Shpak
08ccd92549 Rename collapsed menu in exampleSite 2020-02-11 23:49:07 +01:00
Alex Shpak
cb61957623 Add scrollbar plugin and update README 2020-02-10 23:31:33 +01:00
Alex Shpak
a33bb33f18 Make translations list respect weight of languages 2020-02-10 22:05:26 +01:00
Alex Shpak
e1d55f2b15 Improve lang switch accesibility 2020-02-10 18:39:07 +01:00
Alex Shpak
72cf0968ce Button shortcode redesign: smaller font, resize 2020-02-10 17:49:26 +01:00
Alex Shpak
caeba5ec99 Default body font color to black for better readability 2020-02-10 17:49:26 +01:00
Alex Shpak
4e03ee5835 #138, Lower minimum body width from 400px to 320px, regression 2020-02-04 22:39:12 +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
88136f596d Add details styles for markdown 2020-01-24 00:22:23 +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
b9688d7e36 Update generated resources 2020-01-17 21:32:01 +01:00
Alex Shpak
9fa444757a #117, Update KaTeX shortcode, add displayMode param 2020-01-13 19:05:54 +01:00
Alex Shpak
b9f45270a0 #122, Fix post taxonomy list links (include base url) 2020-01-13 18:06:09 +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
e30504802e Add space between posts in list, clean posts class removal 2019-12-14 13:38:27 +01:00
Alex Shpak
3f463aeb0c Set toc starting level to 1 2019-12-09 11:24:31 +01:00
Alex Shpak
d934e0b12a Make icons white in dark mode 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
707f9e6466 Remove test headers from index page 2019-11-19 22:53:35 +01:00
Alex Shpak
1941d7130e #100, Make h4, h5 and h6 bolder and increase font size 2019-11-19 22:50:00 +01:00
Alex Shpak
20c3faae4d Improve accessibility score 2019-11-16 22:00:50 +01:00
Alex Shpak
bad2eddcf4 Update index pages for ru/cn 2019-11-16 21:42:52 +01:00
Alex Shpak
1addb8dca6 Refactor footer 2019-11-16 21:32: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
Alexandros
890cc000bb Update generated resources latest hugo (#97) 2019-11-16 20:26:53 +01:00
Alex Shpak
6d6c59bb23 Update generated resources in exampleSite 2019-11-16 01:48:05 +01:00
Alex Shpak
1b6469f7b1 #92, use 'em' units for markdown line-height 2019-10-27 20:20:13 +01:00
Alex Shpak
179d4443b8 #92, Fix code block with lines spacing 2019-10-27 13:05:43 +01:00
Alex Shpak
825573cdd2 Remove dark links mixin and sass var 2019-10-27 12:33:14 +01:00
Alex Shpak
a5788d71fa #80, Add search index configuration 2019-10-27 11:58:58 +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
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
007bc10c07 Introduce SCSS plugins: dark mode and numbered headings 2019-10-08 17:03:49 +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
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
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
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
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
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
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
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
cb045547dd #58, fix ToC in no ToC example 2019-07-04 09:22:07 +02:00
Alex Shpak
220d999ce6 Adjust some colors, font sizes, borders in markdown 2019-06-19 13:58:46 +02:00
Alex Shpak
618ffadcb3 Fix image alignment in text to baseline 2019-06-19 10:26:15 +02:00
Alex Shpak
c679f74cff Make columns shortcode mobile friendly 2019-06-18 23:20:29 +02:00
Alex Shpak
12f2af4d34 Fine tune ol, ul, dl paddings 2019-06-18 22:56:43 +02:00
Alex Shpak
58e8807130 Set heading padding in markdown to depend on font size 2019-06-13 11:39:00 +02:00
Alex Shpak
a82d579bae Rebuild css for themes.gohugo.io 2019-06-13 11:24:12 +02:00
Alex Shpak
1c3d8491ec Fix various spacings in markdown in shartcodes 2019-06-13 11:23:22 +02:00
Alex Shpak
c9d979514c Add custom class support for mermaid and button shortcodes 2019-06-11 13:41:08 +02:00
Alex Shpak
2047968370 Unfortunately go back to roboto font 2019-06-10 17:39:46 +02:00
Alex Shpak
64ad3f3b8a Allow override code font as well 2019-06-10 17:14:21 +02:00