Headers & Footers
OwnShip supports optional header and footer files that appear on every page.
Header
Create _header.md or _header.html next to index.php. If both exist, .html takes priority.
_header.md — write Markdown. OwnShip styles it and clicking the header navigates home automatically.
_header.html — write raw HTML. You control everything, including the home link. Use the {{home}} token for a portable home URL:
<a href="{{home}}">
<img src="logo.png" alt="My Site">
</a>
The logo_height option in site.ini controls the height of any image in the header.
Footer
Create _footer.md or _footer.html next to index.php. If both exist, .html takes priority.
Both support the {{home}} token.
The {{home}} token
Works in all four files. Resolves to the correct home URL whether OwnShip is installed at the domain root or in a subdirectory. Always use {{home}} rather than hardcoding / or index.php.