#!/bin/sh # sets the 'aria-current=page' on an anchor if the url matches the directory if [ "$(dirname "$ZS_URL")" = $1 ]; then printf ' aria-current=%s' 'page'; fi