Skip to content

Instantly share code, notes, and snippets.

@jensgro
Forked from danfascia/11ty_permalink.js
Created February 9, 2023 22:19
Show Gist options
  • Save jensgro/8b591ae4055a56e09dded2d7e0e18de3 to your computer and use it in GitHub Desktop.
Save jensgro/8b591ae4055a56e09dded2d7e0e18de3 to your computer and use it in GitHub Desktop.
Removes index.html from 11ty URL strings to create prettier permalinks. Usage {{url | permalink}} (source: https://paulrobertlloyd.com/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment