Fix incorrect post permalinks

This commit is contained in:
Toby Zerner 2015-11-03 18:10:26 +10:30
parent cad85335a6
commit b21374e520

View File

@ -32,7 +32,7 @@ app.initializers.replace('boot', () => {
// Trim the /embed prefix off of post permalinks
override(PostMeta.prototype, 'getPermalink', (original, post) => {
return original(post).replace('/embed', '');
return original(post).replace('/embed', '/d');
});
app.pane = new Pane(document.getElementById('app'));