Commit graph hackertours-theme/layouts/partials/mobilemenu.html
Author SHA1 Message Date
Fredrik Jonsson
15f9a7933f Activate mobil menu with js since it depends on js. 2025-03-29 20:30:36 +01:00
Fredrik Jonsson
afe29b6e81 Removed automatic menu. 2024-08-20 11:56:05 +02:00
Fredrik Jonsson
2ae8ee84ee Min version is now v0.124.0. Using site.Config.Services.GoogleAnalytics.ID, hugo.IsMultilingual and hugo.yaml etc. 2024-08-14 14:27:12 +02:00
Fredrik Jonsson
608936b748 Implement LinkTitle in menus, making it easy to set in frontmatter. 2024-02-25 15:37:41 +01:00
Fredrik Jonsson
93728f1e9e Make use of aria-current as selector and remove use of active class. 2023-05-30 08:57:59 +02:00
Fredrik Jonsson
06479083fb Fix some bugs with mobile toggle and reuse button and link classes for mobile menu. 2023-05-08 15:49:49 +02:00
Fredrik Jonsson
91c01f30a0 Add support for pre and post in menu items. 2023-04-11 11:26:39 +02:00
Fredrik Jonsson
52fcea72aa Adjustments to the mobile menu, part 2. 2023-02-27 14:32:22 +01:00
Fredrik Jonsson
7f91caaf5d Improve the accecibility of the mobil menu. Also switch to SVG hamburger icon that is animated. 2022-12-21 10:05:10 +01:00
Fredrik Jonsson
3737d5874c Replace .Site.x and $.Site.x with site.x. 2022-01-24 08:03:42 +01:00
Fredrik Jonsson
bf7b9dfb1d Menus need relLangURL. 2020-04-28 12:57:09 +02:00
Fredrik Jonsson
fcde1683d1 Integrated FlexSearch.js and removed DuckDuckGo search. 2020-03-24 21:45:43 +01:00
Fredrik Jonsson
27d3d64e50 Build menus from .Site.Menus.main if it exists, otherwise build it automatically with home and sections as before. 2020-01-03 11:30:34 +01:00
Fredrik Jonsson
8971d752bb Fix bug from last commit that replaces check for currentID for currentSection for pages in menus. 2020-01-03 11:20:22 +01:00
Fredrik Jonsson
1602176e73 Make meny and sidebar templates with new aria-current easier to read. 2020-01-03 10:26:31 +01:00
Piotr Machacz
8802e49a6b add aria-current to active class in menus and sidebar 2020-01-02 16:32:10 +01:00
Fredrik Jonsson
63399e6bf8 Cleanup the menu partials, utilize Hugo features and performance better. 2019-07-06 17:37:08 +02:00
Fredrik Jonsson
6907412c20 Replace deprecated variables .Hugo and .UniqueID with hugo and .File.UniqueID. 2019-06-05 11:45:38 +02:00
Fredrik Jonsson
727bcf7d7b Removing not needed role attributes. 2019-03-20 13:31:09 +01:00
Fredrik Jonsson
d3761ce353 Rebuild the mobile menu to depend less on javascript. 2019-03-17 16:38:04 +01:00
Fredrik Jonsson
f8e475a8b7 Some small dir rtl improvments. 2019-02-14 13:36:23 +01:00
Fredrik Jonsson
59bc1494af Added mobilmenu param option. 2017-08-14 22:01:13 +02:00