If I want to add certain behavior to h2 tag (or hide the paragraph following h2 only on the pages that show content, but not for the front page or contacts page, then I need to create a new template just for this modification.
<script> $(document).ready(function() { $('h2').hide();});</script>