Commit Graph

80 Commits

Author SHA1 Message Date
Mark Dumay
1792ee527d Prevent switching to unavailable translation 2025-01-02 07:28:25 +01:00
Mark Dumay
b88b17642d Fix handling of pagination 2025-01-02 06:30:46 +01:00
Mark Dumay
1e06f4ef2c Support forced links to bypass language settings
Fixes #1340
2025-01-01 14:48:32 +01:00
Mark Dumay
2b15ff26dc Fix alias when using preferred language 2024-12-21 13:26:06 +01:00
Mark Dumay
86461c9739 Improve deployment to subfolder 2024-10-23 15:56:03 +02:00
Mark Dumay
561bdcac28 Support multiple sharing buttons on same page
Handles pages that render multiple sharing buttons to cater for responsive layout.
2024-10-23 15:11:58 +02:00
Mark Dumay
400f27dcc9 Assign theme color and site language to essential cookie category 2024-10-21 11:12:48 +02:00
Mark Dumay
091526a17b Fix navbar color mode update
Fixes Switching themes does not work properly #1177
2024-10-20 11:43:50 +02:00
Mark Dumay
631d952923 Move critical scripts to functional category 2024-09-24 15:30:39 +02:00
Mark Dumay
2d5225e205 Fix reference to undefined getLocalStorage in navbar 2024-09-20 17:25:19 +02:00
Mark Dumay
07b1a0d0ce Categorize critical scripts as functional scripts 2024-09-20 17:04:11 +02:00
Mark Dumay
54f49944cc Add cookie APIs 2024-09-19 05:47:32 +02:00
Mark Dumay
262bc47260 Shift Google Analytics to separate module 2024-09-17 16:46:37 +02:00
Mark Dumay
e440386999 Migrate to neostandard eslint
See #1143
2024-09-05 19:20:34 +02:00
Mark Dumay
fd7f3692dd Adjust padding of video based on aspect ratio 2024-08-25 09:01:37 +02:00
Mark Dumay
628eb99f62 Skip navbar theme update when not fixed 2024-08-21 10:41:07 +02:00
Mark Dumay
e20aba4907 Improve initial state of theme toggle button 2024-08-14 16:33:04 +02:00
Mark Dumay
0072292522 Refine layout 2024-08-13 13:39:39 +02:00
Mark Dumay
1407e1ba0d Merge branch 'main' into main 2024-08-13 11:43:29 +02:00
Mark Dumay
c42a379ca0 Fix color mode behavior of navbar
Fixes #1083
2024-08-13 09:21:03 +02:00
do
07fa46b9a6 prevent loading twice 2024-08-12 18:39:38 +02:00
Mark Dumay
63250c6ac9 Reduce screen flickering when using color mode 2024-08-12 14:48:21 +02:00
Dominik Oswald
4a20e8beef fix lint erros 2024-08-09 17:21:44 +02:00
Dominik Oswald
163ac52332 Store and load the selected language 2024-08-09 16:27:07 +02:00
Mark Dumay
20cad07a0b Sync color mode when navigating browser history 2024-06-03 11:31:10 +02:00
Mark Dumay
107077f5ec Fix color-mode switcher 2024-06-03 09:36:48 +02:00
Mark Dumay
5678d2cab5 Replace color-mode switcher 2024-06-02 17:13:04 +02:00
Mark Dumay
aa2da9a398 Fix Google Analytics config
fixes #882
2024-04-24 16:32:32 +02:00
Mark Dumay
084b8c30ad Fix color mode script
see 73e1dcf43e for more details
2024-02-26 16:56:37 +01:00
Mark Dumay
9e52107dbf Fix navbar style on page reloads and theme updates 2024-02-11 08:28:16 +01:00
Mark Dumay
9e644185f2 Refactor navbar to use color themes in overlay mode 2024-02-11 07:23:01 +01:00
Mark Dumay
0a2bc468e5 Support navbar overlay 2024-01-24 11:00:34 +01:00
mark
4ac787bef0 Adapt IsServer check revised in hugo v0.120.0 2023-10-31 11:00:01 +01:00
mark
678b9502ff Adapt new Google Analytics ID config 2023-10-31 10:54:51 +01:00
mark
e6d5c16f12 Fix #415 2023-08-14 09:10:48 +02:00
mark
f80241548a Drop navbar button id to avoid potential clash 2023-08-11 16:25:49 +02:00
mark
792d7417b5 Improve accessibility of clipboard button 2023-08-11 14:31:11 +02:00
mark
5a78dda34f Enable inline icons 2023-08-02 07:37:22 +02:00
mark
3418ac8d1d Implement Support Web Share API #294 2023-07-31 07:38:29 +02:00
mark
ba7ab907ef Fix behavior of critical scripts 2023-07-24 17:18:06 +02:00
mark
8531bf988f Use search code from mod-flexsearch 2023-07-17 11:57:49 +02:00
mark
641f2ee1d1 Add optional folder 2023-07-11 16:47:36 +02:00
mark
009314943b Add optional alert when version is outdated 2023-06-20 08:16:18 +02:00
mark
b462c31916 Remove redundant empty lines on copy 2023-05-27 09:45:28 +02:00
mark
dbb5b4be69 Add a toast message on copy 2023-05-27 09:21:35 +02:00
mark
8fb47e27af Remove debug statement 2023-05-27 09:07:37 +02:00
mark
bafd522530 Embed container in base to aid CSS purge 2023-05-27 09:03:14 +02:00
mark
2bf15ca8b2 Add comments 2023-05-26 12:44:11 +02:00
mark
e00ab2a2fd Remove debug statements 2023-05-26 12:44:00 +02:00
mark
98c422a6d4 Add clipboard button support 2023-05-26 12:43:17 +02:00