summaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
AgeCommit message (Collapse)Author
2020-12-18header: use .KeyName for accesskey searchAditya Telange
in menu - .Name doesn't work with emojis - .URL doesn't work with url such as 'search/'
2020-12-18header: add accesskey (Alt + /) for searchAditya Telange
in menu - Alt + /: jumps to search page if in menu
2020-12-18Link AccessKeys shortcut in title of elementsAditya Telange
2020-12-13header: rm class attributes [WIP]Aditya Telange
from hugov0.79.0
2020-12-13header: add title attribute to menusAditya Telange
2020-12-11language-switch: humanize only Lang codeAditya Telange
- displays weird text :/ - amend to ad11fe1
2020-12-11header: fix trailing slash '/' in menu URLAditya Telange
closes #122
2020-12-01header: improve menu location indicatorAditya Telange
- fix non-highlight on subdirs - menu url need not have leading or trailing slashes - fix non-highlight with multilingual config
2020-11-28language-switch: rm humanize on 'displayFullLangName'Aditya Telange
- displays weird text :/
2020-11-26theme-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-08language-switch: enable emojifyAditya Telange
- languageName: ":country_emoji:" can now be displayed as emoji
2020-11-04theme-switch: Enable theme toggle unless specifically disabled (#69)Itay Cohen
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-11-03Revert "theme-switch-button: improve logic"Aditya Telange
This reverts commit 0eed773e6dcf999cb052b6f781bfbe7ad74e63c7.
2020-11-03theme-switch-button: improve logicAditya 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-30Add 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-26header: add Language switch (#54)Aditya Telange
* language-switch: init * header: move logo-switches together
2020-10-17nav-label: accessibilityAditya Telange
2020-10-16nav-label: initAditya Telange
* label can be set differently from title * label can have an optional icon with preffered size * in site config => params: label: text: "Home" icon: /apple-touch-icon.png iconHeight: 35
2020-10-05theme: set proper conditionsAditya Telange
for having default-theme with theme-toggle * can set/unset default theme * for default-theme: dark/light : theme-toggle will not be visible * theme-toggle with defaultheme: auto is functional fixes #25 for #15
2020-10-05noscript: add noscript tagsAditya Telange
* hide theme-toggle and * go-to-top button when js is disabled
2020-10-04theme-switch-button: init feature (#15)Aditya Telange
* thanks to https://feathericons.com for svgs * can be disabled in site config Params: disableThemeToggle : true
2020-10-04header: rm unnecessary logo linkAditya Telange
2020-09-23(lint) remove unnecessary whitespaceAditya Telange
created by hugo's {{ }}
2020-09-20menu : add menu location indicatorAditya Telange
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
2020-09-17automatic theme based on browser themeAditya Telange
usage: add to config params: defaultTheme: "auto"
2020-09-06automatic-theme : removeAditya Telange
2020-08-25support Multilingual navigationAditya Telange
add reading time as i18n
2020-08-21menu : save menu scroll position in localstorageAditya Telange
(ux improve)
2020-07-26rm redundant codeAditya Telange
2020-07-21baseof: separate into header, footerAditya Telange
2020-07-20new layoutAditya Telange
- create baseof - separate list, single - header, footer
2020-07-20separate headAditya Telange
2020-07-20theme: don't include set-theme inlineAditya Telange
2020-07-20add styles from assetsAditya Telange
- bundle an-old-hope and style - minify
2020-05-25Update header.htmlParamtamtam
2020-05-22Merge pull request #1 from nanxiaobei/masterRyan Harter
rebase
2020-03-10simplify codenanxiaobei
2020-03-09update html formatnanxiaobei
2020-03-04Adds support for custom css.Ryan Harter
2019-10-20Update month value南小北
2019-10-17Fix Dark Mode logicnanxiaobei
2019-10-16Refine Dark Mode codenanxiaobei
2019-10-16Add Dark Mode core codenanxiaobei
2019-10-15Add dark modenanxiaobei
2019-09-15Add list dynamic backgroundnanxiaobei
2019-09-07Update template ordernanxiaobei
2019-09-04Include open graph template in headerPedro Gomes
2019-08-20Update layoutsnanxiaobei
2019-06-11Refine headnanxiaobei
2019-06-10Fix menunanxiaobei