Iam working on tridion templating and i have 2 components associated with the same component template.I want to display one at the top and one at the bottom.How should I do that? If i use the below code on the top of the page and the bottom of the page the same component is displayed 2 times on the top and 2 times at the bottom. Kindly let me know how to display this component only once at the top and once at the bottom?
<!-- TemplateBeginRepeat name="Components" -->
<!-- TemplateBeginIf cond="ComponentTemplate == 'Scripts'" -->
<!-- start the code-->
@@RenderComponentPresentation()@@
<!-- end the code-->
<!-- TemplateEndIf -->
<!-- TemplateEndRepeat -->