Fixed a bug where the edit urls would be incorrect in the actions if not using clean urls

There's probably a slightly cleaner way with {{ site:url }}, but I couldn't get it working for some reason.