   data: ->
     posts: Post.where {},
       sort: publishedAt: -1
-  onAfterAction: ->
-    if not Meteor.isClient
-      return
-    if SEO and @ready()
-      title = 'Blog'
-      if Blog.settings.title
-        title += " | #{Blog.settings.title}"
-      description = if Blog.settings.description then Blog.settings.description else ''
-      SEO.set
-        title: title
-        meta:
-          description: description
-        og:
-          title: title
-          description: description
-        , false
-      return
 
 # BLOG TAG
 

  ]
  fastRender: true
  data: ->
    tag: @params.tag
    posts: Post.where
      tags: @params.tag
    ,
      sort: publishedAt: -1
  onAfterAction: ->
    if not Meteor.isClient
      return
    if SEO and @ready()
      tag = @data().tag
      title = "Blog: tagged \"#{tag}\""
      if Blog.settings.title
        title += " | #{Blog.settings.title}"
      description = if Blog.settings.description then Blog.settings.description else ''
      SEO.set
        title: title
        meta:
          description: description
        og:
          title: title
          description: description
        , false
      return

# SHOW BLOG


  ]
  data: ->
    Post.first slug: @params.slug

# BLOG ADMIN INDEX

