<?php
	$data = read_json("source/data/texts.json");
 ?>
<section class="section" id="example_texts">
	<header>Texts</header>
<?php
	$id = "de_grot_diktator";
	$dataset = $data[$id];
 ?>
	<section class="subsection" id="<?php echo($id); ?>">
		<header><?php echo($dataset["title"]); ?></header>
<?php
	echo
	(
		mark
		(
			implode("", array_map(function ($paragraph) {return ("<p>${paragraph}</p>");}, $dataset["paragraphs"])),
			["type_text", "lang_fs"]
		)
	);
 ?>
		<p>An attempt to translate the final speech from the famous Charlie Chaplin movie "The great dictator" (with some passages inspired by the German translation); the English original can be listened to <a href="https://www.youtube.com/watch?v=ibVpDhW6kDQ">on youtube</a>; or in case you'd like to hear a more heart-wrenching version: <a href="https://www.youtube.com/watch?v=Gaq62VCcnew">accompanied by "Hans Zimmer - Time"</a>.</p>
		<!--
		<a href="https://www.youtube.com/watch?v=Gaq62VCcnew">With "Hans Zimmer -- Time"</a>
		  -->
	</section>
</section>