   firstLink = prevLink = nextLink = lastLink = ""
 
   if currentPage > 1
-    firstLink = getSinglePageLink 1, contentType, "First"
-    prevLink  = getSinglePageLink (currentPage - 1), contentType, "Prev"
+    firstLink = getSinglePageLink 1, "First", route
+    prevLink  = getSinglePageLink (currentPage - 1), "Prev", route
 
   if currentPage < numberOfPages
-    lastLink  = getSinglePageLink numberOfPages, contentType, "Last"
-    nextLink  = getSinglePageLink (currentPage + 1), contentType, "Next"
+    lastLink  = getSinglePageLink numberOfPages, "Last", route
+    nextLink  = getSinglePageLink (currentPage + 1), "Next", route
 
   pagination = firstLink + prevLink
 

    pagination += getNoHrefLink " ... "

  [start..end].map (pageNumber)=>
    pagination += getSinglePageLink pageNumber, contentType

  if end < numberOfPages
    pagination += getNoHrefLink " ... "

getNoHrefLink = (linkText)->
  "<a href='#'>#{linkText}  </a>"

getSinglePageLink = (pageNumber, linkText=pageNumber, route)->
  link = "<a href='#{uri.address}/#{route}?page=#{pageNumber}'>#{linkText}  </a>"
  return link

appendDecoratedTopic = (tag, queue)=>
