message: Scripts only needed for main page (teaser)
diff: @@ -11,13 +11,12 @@ div.sourceCode { overflow-x: initial; }
  </style>
  $endif$
  -<!-- carousel -->
  -<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> -->
  +$if(select_index)$
  +<!-- for teaser carousel -->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
  -<!-- end carousel -->
  -
  +$endif$
  </head>
  <body>
  