forked from github/pelican
allows pages to have draft status, like articles
This commit is contained in:
parent
ee24ad1821
commit
576229ad19
12 changed files with 108 additions and 17 deletions
8
pelican/tests/TestPages/draft_page.rst
Normal file
8
pelican/tests/TestPages/draft_page.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
This is a test draft page
|
||||
##########################
|
||||
|
||||
:status: draft
|
||||
|
||||
The quick brown fox .
|
||||
|
||||
This page is a draft.
|
||||
12
pelican/tests/TestPages/draft_page_markdown.md
Normal file
12
pelican/tests/TestPages/draft_page_markdown.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
title: This is a markdown test draft page
|
||||
status: draft
|
||||
|
||||
Test Markdown File Header
|
||||
=========================
|
||||
|
||||
Used for pelican test
|
||||
---------------------
|
||||
|
||||
The quick brown fox .
|
||||
|
||||
This page is a draft
|
||||
11
pelican/tests/TestPages/draft_page_with_template.rst
Normal file
11
pelican/tests/TestPages/draft_page_with_template.rst
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
This is a test draft page with a custom template
|
||||
#################################################
|
||||
|
||||
:status: draft
|
||||
:template: custom
|
||||
|
||||
The quick brown fox .
|
||||
|
||||
This page is a draft
|
||||
|
||||
This page has a custom template to be called when rendered
|
||||
Loading…
Add table
Add a link
Reference in a new issue