The navigation menu is managed through the _data/navigation.json file.
Main navigation
The mainMenu section contains the links displayed in the main navigation menu.
{
"mainMenu": [
{
"text": "BLOG",
"url": "/blog/"
},
{
"text": "TAGS",
"url": "/tags/"
},
{
"text": "ABOUT",
"url": "/about.html"
}
]
}
You can add or adjust the navigation menu items:
text: the text displayed in the menu.url: the URL the item points to.
Social links
The social section contains links to social networks and the contact page:
{
"social": [
{
"text": "Mastodon",
"url": "https://mastodon.bida.im/@your-account",
"iconPath": "partials/svg/mastodon.svg",
"ext": true
},
{
"text": "PeerTube",
"url": "https://tubocatodico.bida.im/a/your-account",
"iconPath": "partials/svg/peertube.svg",
"ext": true
},
{
"text": "RSS",
"url": "/feed.xml",
"iconPath": "partials/svg/RSS.svg",
"ext": true
},
{
"text": "Email",
"url": "mailto:your-account@email.com",
"iconPath": "partials/svg/mail.svg"
}
]
}
You can add or adjust the social menu items:
text: the text displayed for the link (if the icon is not available)url: the URL the link points toiconPath: the path to the SVG iconext: set to true to open the link in a new tab or window
Note
When editing _data/navigation.json, make sure the file remains valid JSON. Use double quotes around property names and values and remember to add commas between objects.