View source: Template

The HTML for this page is generated by the template portfolio-profile.php.

All templates can be found in the /site/templates folder.

To learn more about Kirby’s templates, please check out our docs: https://getkirby.com/docs

Back to the page

/site/templates/portfolio-profile.php
<?php snippet('portfolio/header') ?>
<article>
	<div class="grid">
		<div class="column" style="--columns: 6">
			<?php if ($image = $page->image()): ?>
			<a data-lightbox href="<?= $image->url() ?>" class="img" style="--w:<?= $image->width() ?>;--h: <?= $image->height() ?>">
				<?= $image->resize(800) ?>
			</a>
			<?php endif ?>
		</div>
		<div class="column" style="--columns: 6">
			<div class="text">
				<?= $page->text()->toBlocks() ?>
			</div>
		</div>
	</div>
</article>
<?php snippet('portfolio/footer') ?>