<script lang="ts">
	let { section, title = '' }: { section: string; title?: string } = $props();

	function formatTitle(section: string, title?: string) {
		return [title, section, 'hircine'].filter((i) => i).join(' · ');
	}
</script>

<svelte:head>
	<title>{formatTitle(section, title)}</title>
</svelte:head>
