   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
 

  ]
  data: ->
    Post.first slug: @params.slug
  onAfterAction: ->
    if not Meteor.isClient
      return
    if SEO and @ready()
      title = @data().title
      if Blog.settings.title
        title += " | #{Blog.settings.title}"
      description = if @data().metaDesc then @data().metaDesc else @data().excerpt
      slug = @data().slug
      SEO.set
        title: title
        meta:
          description: description
        og:
          title: title
          description: description
        , false
      return

# BLOG ADMIN INDEX


  ]
  fastRender: true
  data: ->
    posts: Post.where
      tags: @params.tag
    ,
      sort: publishedAt: -1

# SHOW BLOG

