Add and enable Menu Trail by Path module

Install the Menu Trail by Path module so that blog posts and talk pages
have their respective navigation links highlighted.

Fixes #110
This commit is contained in:
Oliver Davies 2020-06-02 00:13:06 +01:00
parent d9f9c835c3
commit 38548df58f
4 changed files with 67 additions and 1 deletions

View file

@ -27,6 +27,7 @@
"drupal/honeypot": "^2.0",
"drupal/hook_event_dispatcher": "^1.28",
"drupal/markdown": "^1.3",
"drupal/menu_trail_by_path": "^1.3",
"drupal/metatag": "^1.11",
"drupal/migrate_plus": "^5.0",
"drupal/migrate_source_yaml": "^1.2",

62
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "94cf3f9b73a5a2ae184de25fd2a302b7",
"content-hash": "7bbccfb120dff2061b0ee08236ae99b3",
"packages": [
{
"name": "asm89/stack-cors",
@ -2712,6 +2712,66 @@
"issues": "https://www.drupal.org/project/markdown"
}
},
{
"name": "drupal/menu_trail_by_path",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/menu_trail_by_path.git",
"reference": "8.x-1.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/menu_trail_by_path-8.x-1.3.zip",
"reference": "8.x-1.3",
"shasum": "64ba3a163302ff132c29a75b75ca4f6cce6b24dd"
},
"require": {
"drupal/core": "^8.8|^9.0"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.3",
"datestamp": "1586900806",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0"
],
"authors": [
{
"name": "Berdir",
"homepage": "https://www.drupal.org/user/214652"
},
{
"name": "SeriousMatters",
"homepage": "https://www.drupal.org/user/290439"
},
{
"name": "davy-r",
"homepage": "https://www.drupal.org/user/3278771"
},
{
"name": "mbovan",
"homepage": "https://www.drupal.org/user/3149657"
},
{
"name": "redndahead",
"homepage": "https://www.drupal.org/user/160320"
}
],
"description": "Expand menus and set active-trail according to the current path.",
"homepage": "https://www.drupal.org/project/menu_trail_by_path",
"support": {
"source": "https://git.drupalcode.org/project/menu_trail_by_path"
}
},
{
"name": "drupal/metatag",
"version": "1.12.0",

View file

@ -31,6 +31,7 @@ module:
markdown: 0
media: 0
media_library: 0
menu_trail_by_path: 0
menu_ui: 0
metatag: 0
migrate: 0

View file

@ -0,0 +1,4 @@
max_path_parts: 0
trail_source: path
_core:
default_config_hash: ZgwJ8bM6k-25MIqJjDtxAs94eahFxWfBq2IuHf-qh_I