Adds chess analysis page
Adds a new page for chess analysis, powered by lichess.org, and integrates it into the navigation menu. Also adds daily puzzle snippet to home page. Updates hero image to correct gif.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?php snippet('layout', slots: true) ?>
|
||||
|
||||
<?php snippet('analyse') ?>
|
||||
|
||||
<?php endsnippet() ?>
|
||||
@@ -1,16 +1,15 @@
|
||||
<?php snippet('layout', slots: true) ?>
|
||||
<?php snippet('layout', slots: true); ?>
|
||||
|
||||
<h1>Herzlich Willkommen!</h1>
|
||||
|
||||
<?= $page->text()->kirbytext() ?>
|
||||
|
||||
<?php snippet('home-news', [
|
||||
'news' => page('news')
|
||||
->children()
|
||||
->limit(3)
|
||||
->sortBy('date', 'desc')
|
||||
]) ?>
|
||||
'news' => page('news')->children()->limit(3)->sortBy('date', 'desc'),
|
||||
]); ?>
|
||||
|
||||
<?php snippet('home-termine') ?>
|
||||
<?php snippet('home-termine'); ?>
|
||||
|
||||
<?php endsnippet() ?>
|
||||
<?php snippet('puzzle'); ?>
|
||||
|
||||
<?php endsnippet(); ?>
|
||||
|
||||
Reference in New Issue
Block a user