#241 Add article_permalink directive to index controller

Agreed, thank you sir.
On Sep 9, 2014 11:06 AM, "Blake Callens" <notifications@github.com> wrote:

> In controllers/index.js:
>
> >      var showByLine       = contentSettings.display_bylines && !isPage;
> >      var showTimestamp    = contentSettings.display_timestamp && !isPage;
> >      var ats              = new pb.TemplateService(this.ls);
> >      var contentUrlPrefix = isPage ? '/page/' : '/article/';
> >      self.ts.reprocess = false;
> > +	ats.registerLocal('article_permalink', pb.UrlService.urlJoin(pb.config.siteRoot, contentUrlPrefix, content.url));
>
> Ok, I'll get all this in tonight. It won't affect the plugins currently
> using ^article_permalink^, since only the returned string will change.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pencilblue/pencilblue/pull/242/files#r17306051>.
>