Skip to content
Snippets Groups Projects
_layout.php 1.21 KiB
Newer Older
  • Learn to ignore specific revisions
  • 	<meta charset="UTF-8"/>
    
    	<meta name="description" content="Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience."/>
    	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    
    	<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
    
    	<link rel="stylesheet" href="/assets/index.css"/>
    
    	<?php if (isset($podcast)): ?>
    		<?= $podcast->custom_html_head ?>
    	<?php endif; ?>
    
    </head>
    
    <body class="flex flex-col min-h-screen mx-auto">
    	<header class="border-b">
    		<div class="container flex items-center justify-between px-2 py-4 mx-auto">
    
    			<a href="<?= route_to('home') ?>" class="text-2xl">Castopod</a>
    
    		</div>
    	</header>
    	<main class="container flex-1 px-4 py-10 mx-auto">
    		<?= $this->renderSection('content') ?>
    	</main>
    	<footer class="container px-2 py-4 mx-auto text-sm text-right border-t">
    
    		Powered by <a class="underline hover:no-underline" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod</a>, a <a class="underline hover:no-underline" href="https://podlibre.org/" target="_blank" rel="noreferrer noopener">Podlibre</a> initiative.