Post permalink

Are their any issues with this approach? I'm also trying to follow a very function first style so am I doing that correctly. Also can anyone see a way to make this shorter. For instance I hate having to repeat the signatures twice every time. var will not work here. I'm trying to do something similar to what Erik did here.