Hi,
I have around 3-4 Html pages... This is basically a Thymeleaf document in a spring web application...
The only thing that differs in all the three. is the top line... Some dont have any...
Some have a different sentence and some have a different color in the sentence...
Now i obviously dont want to keep all the 4 html pages.. As this would be a lot of duplicacy...
What are the ways i can handle such a case...
One i can think of is a set of if else statement in the html page... And depending on the parameter being passed choose the approapriate heading...
Is there any alternative better way for the same ?
Thanks