parent
41640e0b28
commit
b36abcd3bf
12 changed files with 86 additions and 8 deletions
site/snippets
|
@ -1,3 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* @var bool $main
|
||||
* @var ArticlePage $article
|
||||
*/
|
||||
?>
|
||||
|
||||
<article>
|
||||
<?php if ($main): ?>
|
||||
<h2><a href="<?= $article->url() ?>"><?= $article->title() ?></a></h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue