Question: I'm using a CMS where I enter in a tag (**{tag\_pagination}**) and it renders a functioning pagination link.

The only problem is it does it sloppy by not creating them using a list element and for the Active link, it just renders in plain text, no HTML at all. 

It renders as such :

```
<span class="pagination" id="pagination">
   1  
   <a href="/subcat?Page=2&Items=12">2</a>
   <a href="/subcat?Page=3&Items=12">3</a>
   <a href="/subcat?Page=4&Items=12">4</a>
   <a href="/subcat?Page=5&Items=12">5</a>
   <!-- (...) -->
   <a href="/subcat?Page=7&Items=12">7</a>
</span>
<a href="/subcat?Page=2&Items=12">
    <i class="icon icon-arrow-next"></i>
</a>

```

Is there a way I can have this changed to proper Bootstrap pagination?

Answer: 
Try by seperating your template from your body html.

```
<head>
 <title>projectsiddharth</title>
</head>
<body>
 <h1>Hello from india!</h1>
 <div class="java">{{> timetemplate}}</div>
</body>

<template name="timetemplate">
 <p>The time is now {{time}}</p>
</template>

```
You are defining the Helpers the wrong way. Try:

```
if (Meteor.isClient) {
    Template.timetemplate.helpers({
        time: function(){
            return new Date();
        };
   });
}

```