diff --git a/env.tpl b/env.tpl index d7998cc..41d7567 100644 --- a/env.tpl +++ b/env.tpl @@ -1,2 +1,3 @@ STREAM_JSON_LOCATION=/data/streams/json STREAM_MEDIA_LOCATION=/data/streams/media +PUBLIC_TAG_INTENSITY=true diff --git a/src/lib/components/WeightedTags.svelte b/src/lib/components/WeightedTags.svelte index 8660fba..f8a59a7 100644 --- a/src/lib/components/WeightedTags.svelte +++ b/src/lib/components/WeightedTags.svelte @@ -1,17 +1,23 @@ {#each sorted as [tag, weight], i}{i ? ', ' : ''}{tag} ({TAG_WEIGHT_NAMES[weight]}){tag}{#if TAG_INTENSITY_ENABLED} + ({TAG_WEIGHT_NAMES[weight]}){/if}{/each}