Skip to content

Commit

Permalink
feat(seo): Added seo information to site blueprint and layout
Browse files Browse the repository at this point in the history
  • Loading branch information
holmey committed Mar 30, 2023
1 parent 4118561 commit 58ab3ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 6 additions & 3 deletions site/blueprints/site.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
title: Site

sections:
pages:
type: pages
tabs:
content:
sections:
pages:
type: pages
seotab: seo
9 changes: 8 additions & 1 deletion site/templates/default.php
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
<h1><?= $page->title() ?></h1>
<html>
<head>
<?php snippet('meta_information'); ?>
<?php snippet('robots'); ?>
</head>
<body><h1><?= $page->title() ?></h1></body>
</html>

0 comments on commit 58ab3ad

Please sign in to comment.