| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-09-09 | fix header logo width inconsistancy | Reorx | |
| 2022-09-07 | menu link is active for being the prefix of current url | Reorx | |
| 2022-06-01 | ensure the toggle theme click event listener is only added once | Reorx | |
| 2022-06-01 | refactor toggleThemeCallbacks | Reorx | |
| - use object instead of array to ensure uniqueness for each callback - do not use <script data-no-instant> to add callback, they won't be called if the page is not loaded first time; instead, try to set the callback each time the page is loaded | |||
| 2022-05-29 | ensure menu item url has / suffix | Reorx | |
| 2022-05-28 | instantclick: support updating head tags | Reorx | |
| only for meta and link (not stylesheet) tags | |||
| 2022-05-27 | refactor theme toggle; add delegate-it | Reorx | |
| 2022-05-08 | rename some image variables; rss default show content | Reorx | |
| 2022-05-05 | fix logo url | Reorx | |
| 2022-05-05 | just replace absLangURL with absURL, stop using DisableLanguageSwitch | Reorx | |
| start from this commit, PaperModX will no longer support multi language site, post still have language, but there won't be /zh, /zh/archives pages | |||
| 2022-05-05 | DisableLanguageSwitch affects logo link | Reorx | |
| 2022-05-05 | add DisableLanguageSwitch | Reorx | |
| 2022-04-14 | handle external menu item | Reorx | |
| 2022-04-13 | tune link styles, add color to menu, content, footer links | Reorx | |
| 2022-04-12 | blacklist /search from instantclick | Reorx | |
| 2022-03-27 | Remove redundant code for Label.logo: resize image | Aditya Telange | |
| amend to 1de55c4 | |||
| 2022-03-27 | Label.logo: Generate a resize image | Aditya Telange | |
| if the image is present in assets directory. - Resizing the image will reduce the size of a large image. - Should improve image load time. - Usage: - Add the image under assets directory. - Provide path in `label.icon`. - if image is located as `assets/images/image.png` mention `label.icon: images/image.png`. | |||
| 2022-03-27 | Use `site` function instead of `.Site` or `$.Site` | Aditya Telange | |
| - The site function provides global access to the same data as the .Site page method. - Current context (`.`) is never considered. | |||
| 2022-03-25 | Removing unit from `img`'s height attribute for label.icon | Aditya Telange | |
| https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-height | |||
| 2022-01-13 | Add `absURL` to `label.icon` and `profileMode.imageUrl` | Aditya Telange | |
| fixes: #622 #623 | |||
| 2021-09-11 | Move `noscript` elements to head | Aditya Telange | |
| - Should fix search engines picking up elements inside noscript | |||
| 2021-06-11 | Add `pre` and `post` menu params | Aditya Telange | |
| so that icons can be added via external scripts (ex. fontawesome) fixes: #420 ref: https://gohugo.io/content-management/menus/#params | |||
| 2021-05-01 | Use `title` instead of `humanize` | Aditya Telange | |
| - https://gohugo.io/functions/title/ | |||
| 2021-04-29 | Improve scripts for menu-scroll | Aditya Telange | |
| - also fixes menu-scroll-position not working in search page | |||
| 2021-04-17 | Add custom alt title in Multilingual Mode + Add fallback based on ↵ | Geeqla | |
| LanguageName with emojify (#364) | |||
| 2021-03-30 | Fix Spacing in overall repo | Aditya Telange | |
| 2021-03-27 | Fix logo not being displayed with no title pages | Aditya Telange | |
| - use a local var to get label text ot site title fixes: #281 | |||
| 2021-03-25 | Refactor noscript styles to not break with code formatter | Aditya Telange | |
| 2021-03-22 | Fix scrollbar track background in dark mode caused by #308 (#313) | Kian Kasad | |
| 2021-03-19 | Use CSS inside noscript when JS is disabled to detect preferred color theme ↵ | Kian Kasad | |
| (#308) - Makes auto theme work when JS is disabled - Only applies if the 'theme' configuration parameter is set to 'auto' or is unset. | |||
| 2021-02-12 | fix theme-toggle shown when js is disabled | Aditya Telange | |
| 2021-02-12 | change theme-switch from 'a' to 'button' | Aditya Telange | |
| and refactor | |||
| 2021-01-31 | Improve header | Aditya Telange | |
| - fix header height 61px->60px - check for elements before displaying - align theme-toggle - rm unnecessary elements - rm theme-toggle class - rm menu class | |||
| 2020-12-18 | header: use .KeyName for accesskey search | Aditya Telange | |
| in menu - .Name doesn't work with emojis - .URL doesn't work with url such as 'search/' | |||
| 2020-12-18 | header: add accesskey (Alt + /) for search | Aditya Telange | |
| in menu - Alt + /: jumps to search page if in menu | |||
| 2020-12-18 | Link AccessKeys shortcut in title of elements | Aditya Telange | |
| 2020-12-13 | header: rm class attributes [WIP] | Aditya Telange | |
| from hugov0.79.0 | |||
| 2020-12-13 | header: add title attribute to menus | Aditya Telange | |
| 2020-12-11 | language-switch: humanize only Lang code | Aditya Telange | |
| - displays weird text :/ - amend to ad11fe1 | |||
| 2020-12-11 | header: fix trailing slash '/' in menu URL | Aditya Telange | |
| closes #122 | |||
| 2020-12-01 | header: improve menu location indicator | Aditya Telange | |
| - fix non-highlight on subdirs - menu url need not have leading or trailing slashes - fix non-highlight with multilingual config | |||
| 2020-11-28 | language-switch: rm humanize on 'displayFullLangName' | Aditya Telange | |
| - displays weird text :/ | |||
| 2020-11-26 | theme-switch: Improve theme switch logic (#86) | Aditya Telange | |
| - removes unnecessary local-storage item removal - less inline script on build - assumes `defaultTheme as auto when value is not `dark` or `light` - should work according to table at docs | |||
| 2020-11-08 | language-switch: enable emojify | Aditya Telange | |
| - languageName: ":country_emoji:" can now be displayed as emoji | |||
| 2020-11-04 | theme-switch: Enable theme toggle unless specifically disabled (#69) | Itay Cohen | |
| Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> | |||
| 2020-11-03 | Revert "theme-switch-button: improve logic" | Aditya Telange | |
| This reverts commit 0eed773e6dcf999cb052b6f781bfbe7ad74e63c7. | |||
| 2020-11-03 | theme-switch-button: improve logic | Aditya Telange | |
| - owner can set dark/light/auto default theme - theme toggle will be enabled on all theme modes unless disbaled - if disableThemeToggle is true, user won't be able to switch themes, here auto (a/c to system theme) also works for #69 | |||
| 2020-10-30 | Add accesskeys (attribute specifies a shortcut key to activate/focus an ↵ | Aditya Telange | |
| element.) c - ToC Open/Close g- Go To Top h - Home (according to current lang) t - Theme toggle more: https://www.w3schools.com/tags/att_global_accesskey.asp | |||
| 2020-10-26 | header: add Language switch (#54) | Aditya Telange | |
| * language-switch: init * header: move logo-switches together | |||
| 2020-10-17 | nav-label: accessibility | Aditya Telange | |
