Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
MarkdownPage | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Hyde\Pages; |
6 | |
7 | use Hyde\Pages\Concerns\BaseMarkdownPage; |
8 | |
9 | /** |
10 | * Page class for Markdown pages. |
11 | * |
12 | * Markdown pages are stored in the _pages directory and using the .md extension. |
13 | * The Markdown will be compiled to HTML using a minimalistic layout to the _site/ directory. |
14 | * |
15 | * @see https://hydephp.com/docs/1.x/static-pages#creating-markdown-pages |
16 | */ |
17 | class MarkdownPage extends BaseMarkdownPage |
18 | { |
19 | public static string $sourceDirectory = '_pages'; |
20 | public static string $outputDirectory = ''; |
21 | public static string $template = 'hyde::layouts/page'; |
22 | } |