The top navigation bar of your Academic Pages site is entirely controlled byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/academicpages/academicpages.github.io/llms.txt
Use this file to discover all available pages before exploring further.
_data/navigation.yml. Unlike _config.yml, this file does not require a server restart when you are running Jekyll locally — changes appear as soon as Jekyll regenerates the affected pages. Each entry in the main: list becomes one link in the horizontal header menu, rendered in exactly the order you define them.
Removing a link from
navigation.yml only hides it from the header. The underlying page still exists and is still built by Jekyll — it simply won’t have a navigation entry pointing to it. Visitors can still reach it via its direct URL.File Structure
The file contains a single top-level key,main:, whose value is a list of objects. Each object has two keys:
_data/navigation.yml
The text label displayed in the navigation bar for this link.
The URL path this link points to. Paths are relative to your site’s
baseurl. All default entries use trailing slashes, which is consistent with the default permalink pattern in _config.yml.Adding a Navigation Item
Create the page
Add a Markdown file to
_pages/ with a permalink front matter key matching the URL you intend to use. For example, create _pages/resources.md with permalink: /resources/.Add an entry to navigation.yml
Open
_data/navigation.yml and append (or insert) a new list item:_data/navigation.yml
Removing a Navigation Item
To remove a link from the header without deleting the page, either delete its two-line block entirely or comment it out with#:
_data/navigation.yml
Reordering Navigation Items
Cut and paste list entries to reorder them. The header renders items strictly in the order they appear in the file:_data/navigation.yml
CV Format: Markdown vs. JSON
Academic Pages ships with two distinct CV pages, and the navigation file contains entries for both — but only one should be active at a time. The Markdown CV (default) lives at_pages/cv.md with the permalink /cv/. It is a standard Markdown file that you edit by hand. To use it, enable this entry in navigation.yml:
_data/navigation.yml
_pages/cv-json.md with the permalink /cv-json/. It renders a CV from structured data via _includes/cv-template.html and provides PDF download links. To switch to this format, comment out the Markdown CV entry and uncomment the JSON entry:
_data/navigation.yml
Relationship to Page Permalinks
Theurl values in navigation.yml must exactly match the permalink defined in the front matter of the corresponding page file. The default pages use these mappings:
| Navigation title | URL in navigation.yml | Page source file |
|---|---|---|
| Publications | /publications/ | _pages/publications.html |
| Talks | /talks/ | _pages/talks.html |
| Teaching | /teaching/ | _pages/teaching.html |
| Portfolio | /portfolio/ | _pages/portfolio.html |
| Blog Posts | /year-archive/ | _pages/year-archive.html |
| CV | /cv/ | _pages/cv.md |
| CV (JSON) | /cv-json/ | _pages/cv-json.md |
| Guide | /markdown/ | _pages/markdown.md |