- Issue created by @shevgeny
The back/forward buttons in the browser do not work. The page address changes, but the content does not change.
Drupal 9.5.8
The module 1.0-dev
theme.theme:
function staym_preprocess_page(array &$variables): void {
$variables['#attached']['library'][] = 'ajax_link/ajaxLink';
}
page.html.twig:
<a href="/node/1" class="ajax-link" data-ajax-link-history="1" data-ajax-link-remove-after-execution="false">Node 1</a>
Active
1.0
Code