I have a content type with body tag. I want to add content which has a repeating HTML mark-up.
Example:
<div class = "some-class">
<p>Main Content 1</p>
</div>
<div class = "some-class">
<p>Main Content 2</p>
</div>
This pattern repeats itself except for the text within the <p>
tag. Right now I'm typing tons of repeating HTML code into the body of the content type. It would be helpful if I could just focus on the main content and not on the repeating mark-up which could save lots of time.
- Is there a way to surround fields with custom HTML tags, so that I can focus on the main content and not on the HTML mark-up?
- Is there a module that I can use to do the same?