Navigation in Welcome, Mortals is handled by theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/welcome-mortals/llms.txt
Use this file to discover all available pages before exploring further.
components/Layout.js component, which wraps every page and renders the shared header, the slide-out nav menu, the audio toggle, and the animated decorative elements. The component is pre-compiled — you do not need to edit it to customize the text content of your portfolio. Focus your edits on the HTML pages themselves.
How navigation works
The nav renders as a slide-out panel that appears when a visitor clicks the hamburger button in the fixed header. Clicking a nav link plays the creak sound if audio is enabled. The navigation links point to the HTML files at the repository root using relative paths, so the standard pages —about.html, projects.html, skills.html, and the rest — are linked automatically.
For most customization work, you do not need to touch the navigation at all. Update the content inside each HTML page and the nav will direct visitors there correctly. If you need to make structural changes to the navigation itself (adding or removing pages), that requires editing Layout.js directly, which is an advanced change beyond the scope of this guide.
Case sensitivity on GitHub Pages
This applies to:- Internal page links (
href="projects.html") - Image paths (
src="images/screenshots/preview.PNG") - Stylesheet and script references (
href="./assets/main.css") - Any other file path in the repository
.PNG extensions. Do not change the capitalization of existing paths — they must match the uploaded filenames exactly.
Linking between pages using relative paths
All internal links in Welcome, Mortals use relative paths from the repository root. Because every HTML file sits at the root level (not inside subfolders), links between pages are simple and flat:Linking to the homepage
Always useindex.html for the homepage link:
Linking to external profiles
External links — GitHub, LinkedIn, résumé downloads, published articles — go incontact.html and wherever else they appear in the portfolio pages.
Use target="_blank" and rel="noopener" for external links to open them in a new tab safely:
Testing navigation after every edit
Test every navigation link after editing the theme, including:- All navigation links in the slide-out menu
- Any in-page links within portfolio content (project links, article links)
- The résumé download link
- External profile links (GitHub, LinkedIn)
- Image paths (confirm images load correctly)
What not to do
Don't rename index.html
index.html is the GitHub Pages entry file. Renaming it breaks the published site. It must remain at the repository root with that exact name.Don't create home.html
A separate
home.html file is not used by this theme and is not required by GitHub Pages. The homepage is always index.html.Don't use absolute paths for internal links
Internal links should use relative paths like
href="projects.html", not absolute paths like href="/projects.html". Absolute paths can break when the site is hosted at a project URL subdirectory.Don't change capitalization of existing filenames
The screenshot images use
.PNG (uppercase). Changing file extensions or filenames without updating every matching path will break image loading on the live site.Navigation and the .nojekyll file
The.nojekyll file at the repository root tells GitHub Pages to publish the files directly without running Jekyll processing. This is what allows the components/ folder, assets/ folder, and all relative paths to work correctly. Do not delete it, rename it, or add a file extension.
.nojekyll is missing, GitHub Pages may process the files as a Jekyll site and fail to serve the JavaScript components and stylesheets correctly. Navigation will appear to load but the page content may not render.