I'm trying to format the "more" link when you post the excerpt as a blog post. I created a postview.ascx.cs and have managed to change the link. The issue I have is I have a CSS class I want to use to format the style of the link.
So far I have this :
var link = " <a href=\"" + post.RelativeLink + "\" >
This is fine but when I go to add the style in I get compliation errors.
Where so I put the style attribute. I tried the following:
var link = " <a href=\"" + post.RelativeLink + "\" class="excerpt-link">
This doesn't seem to work. Any help is appreicated.