{{/* Copyright (c) 2023 Eclipse Foundation, Inc. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0. Contributors: Olivier Goulet SPDX-License-Identifier: EPL-2.0 */}} {{ $show_featured_story := .Page.Params.show_featured_story }} {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }} {{/* The `$has_jumbotron` scratch variable is set in the `jumbotron.html` partial. */}} {{ $has_jumbotron := .Scratch.Get "has_jumbotron" }} {{/* Aside from Quicksilver, featured stories can appear in the jumbotron or in the main content area. If no jumbotron was found on the page, we display this partial's content. */}} {{ if $show_featured_story }} {{ if or (eq $layout_style "quicksilver") (not $has_jumbotron) }}
{{ end }} {{ end }}