Commit Graph

232 Commits

Author SHA1 Message Date
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
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
72294f3b6e Remove outdated paragraph from tabs shortcode 2019-06-19 14:56:48 +02:00
Alex Shpak
c679f74cff Make columns shortcode mobile friendly 2019-06-18 23:20:29 +02:00
Alex Shpak
c9d979514c Add custom class support for mermaid and button shortcodes 2019-06-11 13:41:08 +02:00
Alex Shpak
fa4e8634c5 Remove flex from mermaid chart 2019-06-10 15:10:00 +02:00
Alex Shpak
a299a4b07b #39, Add button shortcode 2019-05-27 18:25:58 +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
6d64cc708e Remove extra spacing around columns view 2019-05-27 12:54:31 +02:00
Alex Shpak
edf5b466e1 Update screenshots, clean tabs shortcode 2019-05-24 14:50:25 +02:00
Alex Shpak
9f90c40517 #39, Finish tabs shortcode 2019-05-23 17:48:30 +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
Alex Shpak
c80bd79dcd #39, Add multi-column shortcode 2019-05-22 16:17:55 +02:00
Alex Shpak
0e6864f5aa #39, Add expand and tabs shortcodes 2019-05-22 14:37:55 +02:00
Alex Shpak
8f5aaee7aa Add empty taxonomy templates to hide warnings without setting 2019-05-22 10:42:48 +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
cac0184060 Move footer to main body 2019-04-12 23:06:40 +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
3742e6f0f4 Change footer inject below the body 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
Jordi Bares
45271b5298 Add footer functionality 2019-04-09 22:31:24 +02:00
Alex Shpak
941ca77a32 Rename DateFormat to BookDateFormat, make format optional 2019-03-29 16:59:00 +01:00
Alex Shpak
5b652a1bb1 Add home page placeholder to not display empty page 2019-03-29 16:19:39 +01:00
Jordi Bares
a7e906feed Change name DateForm to DateFormat, complete git-footer.html upgrade 2019-03-29 16:16:04 +01:00
Jordi Bares
062f14b9a1 Theme date formatting in config file 2019-03-29 16:16:04 +01:00
Alex Shpak
eb67ab58aa Refactor theme to use relative urls everywhere 2019-02-20 10:37:48 +01:00
Alex Shpak
dd0f7f7a5e #24: Add JS script to keep menu on same position on reload 2019-02-20 00:28:16 +01:00
Alex Shpak
4297ab1c08 #22: Move href hack to partial 2019-02-13 23:31:13 +01:00
Alex Shpak
fda5e7a046 #22: Highlight current links that end with relref 2019-02-13 23:06:10 +01:00
Alex Shpak
82b4d3212c Add reference to theme as html comment in head 2019-02-12 15:44:36 +01:00
Alex Shpak
21b245b465 #22, fix link color defaulting order (sleepy me) 2019-02-12 14:20:19 +01:00
Alex Shpak
fa58475a37 Add temporary workaround to higlight active linkn in menu bundle 2019-02-11 23:06:48 +01:00
Alex Shpak
4ce973a4e2 Add menu to blog pages 2019-01-24 23:30:31 +01:00
Nick Shine
74f9dbf0cd add last-modified date
Last modified date links to latest commit for the active page of 'doc'
type. Disabled by default keep with the minimalist theme.
2018-12-20 21:07:15 +01:00
Nick Shine
3bb53572c2 add flex for edit-this-page div 2018-12-07 15:03:15 +01:00
Nick Shine
e3204d84b3 add edit-this-page partial 2018-12-07 15:03:15 +01:00
Alex Shpak
601bfabde1 Update 404 template 2018-11-25 13:34:00 +01:00
Alex Shpak
76c251066f Refactor templates and partials 2018-11-25 13:30:25 +01:00
Alex Shpak
aa2b1870d0 Cleanup posts rendering 2018-11-25 11:59:42 +01:00
Alex Shpak
a9738191b8 #5, Insert google analytics template to body 2018-11-25 11:56:59 +01:00
Alex Shpak
2a89630a47 Add simple blog rendering 2018-11-24 15:14:43 +01:00
Alex Shpak
7798a5cc7c Refactor scss styles 2018-11-24 15:10:43 +01:00
Shaform
c44467ce23 fix urls when baseURL is not at root 2018-11-23 21:16:33 -05:00
Alex Shpak
143cb9341d Improve font rendering 2018-11-07 12:54:18 +01:00
Alex Shpak
b88206b14f Use Oxygen font 2018-11-01 13:54:12 +01:00
Alex Shpak
df5abe5b91 Use .RelPermalink for scss 2018-10-30 16:46:25 +01:00
Alex Shpak
2016133629 Fix SVG icon path 2018-10-14 21:08:55 +02:00
Alex Shpak
5b4dec6db9 Fix menu paddings, add additional space for big screens 2018-10-08 20:56:06 +02:00
Alex Shpak
7a6ab6d724 Small fixes in tags and css 2018-09-30 01:22:39 +02:00
Alex Shpak
830fa91359 Minor fixes 2018-09-30 01:04:22 +02:00
Alex Shpak
78bd5938a3 Improve sass styles 2018-09-28 01:12:07 +02:00
Alex Shpak
cce17bcc99 Remove purecss dependency and replace with flexbox 2018-09-26 00:12:56 +02:00
Alex Shpak
b6d7a1050f Improve mobile UX 2018-09-24 17:03:23 +02:00
Alex Shpak
8678e82154 Improve side menu rendering 2018-09-18 01:35:54 +02:00
Alex Shpak
561659ed53 Improve page title handling and side menu templates 2018-09-17 18:29:36 +02:00
Alex Shpak
e62448627e Add README.md 2018-09-13 18:07:55 +02:00
Alex Shpak
f4bcc2ecd9 Add images 2018-09-13 14:54:04 +02:00
Alex Shpak
80cca5b1be Simplify partials 2018-09-12 14:36:16 +02:00
Alex Shpak
ca37d7488c Fill theme.toml, refactor injection partials 2018-09-12 14:21:46 +02:00
Alex Shpak
2e5e2a2f5c Add more partial hooks 2018-09-11 23:14:19 +02:00
Alex Shpak
628a4df0df Refactor partials, layout and sass files 2018-09-11 16:51:27 +02:00
Alex Shpak
43974d0908 Initial commit 2018-09-05 16:22:04 +02:00