{#let key?="main" tag?="both"}
{#if tag is "script" or tag is "both"}
{#let src=inject:bundle.script(key)}
{#if src}
{#else}
{/if}
{/if}
{#if key != "chunk"}
{#if tag is "style" or tag is "both"}
{#let href=inject:bundle.style(key)}
{#if href}
{#else}
{/if}
{/if}
{/if}