Commit graph hackertours-theme/layouts/partials/menu.html
Author SHA1 Message Date
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
91c01f30a0 Add support for pre and post in menu items. 2023-04-11 11:26:39 +02:00
Fredrik Jonsson
f58575e232 New card template. Add settings to transpile sass with libsass or dartsass. Add setting to use internal pagination template. Wrap summary in p tags. 2023-02-01 10:33:48 +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
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
e56f50a91b Added a language selector. 2018-03-08 14:30:22 +01:00
Fredrik Jonsson
73cc0bfc89 Make use of proper relURL everywhere so site works in sub directory. Fix for setting custom height in figure shortcode. 2017-11-24 11:39:58 +01:00
Fredrik Jonsson
fb2dcc80cb Added json-ld and fixes to meta tags. 2017-10-24 11:45:29 +02:00
Fredrik Jonsson
8b0b0410fe Fix in menu partial to exclude home page. Updated README and screenshots. 2017-09-06 15:31:52 +02:00
Fredrik Jonsson
f450d62703 Add content class to main, remove all layout__full classes. 2017-08-30 09:18:26 +02:00
Fredrik Jonsson
8dfb9c8763 Add the mobile menu directly in baseof template instead of via js. Translate menu terms. 2017-07-25 11:18:16 +02:00
Fredrik Jonsson
110d34531e New mobile menu. 2017-07-16 23:06:51 +02:00
Fredrik Jonsson
265a50cda5 Replace zen grids with css grid. Move print styles print style file. Remove Drupal specific styles. 2017-07-16 18:03:23 +02:00
Fredrik Jonsson
cd457d7bcd Implemented i18n support for theme strings like Home and Search. 2017-06-19 11:09:12 +02:00
Fredrik Jonsson
5515bae2cc Updated for how sections work in Hugo v0.23. 2017-06-19 08:57:41 +02:00
Fredrik Jonsson
cf5d447b87 Whitespace and meta tags. 2017-05-17 00:33:54 +02:00
Fredrik Jonsson
b7977e1c28 First commit. 2017-03-09 14:29:29 +01:00