add support for md front matter & open page unlisted

- support page config define in front matter
  - support `title`, which can set HTML title.
    - if `title` is not set, then HTML title will try find page title defined in book.xml
	- if `title` is set but <h1> title not set, it will generated a <h1> title using the value of `title`
  - support `configurations` which can set page level configs here.
- now can open page that has .md file but not defined in book.xml (must in a book defined)
- old.title.gen is not supported yet.
This commit is contained in:
A.C.Sukazyo Eyre 2023-03-25 20:07:41 +08:00
parent 900d9c9281
commit ebe5c90963
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@
<Page id="main">book.sukazyo.cc:: Rebuild In Progress</Page>
<Separator/>
<Chapter root="test-collection">
<Chapter root="test-collection/">
<caption><![CDATA[<i>__test_collection</i>]]></caption>
<Page id="enhanced-frontend/test-regex-highlight">RegEX 着色</Page>
<Page id="language-parsing/rest">ReST Parser</Page>

2
morny

@ -1 +1 @@
Subproject commit c98e4def0f6884d09589833f3e06afab2a64ad6d
Subproject commit 8026a49ed642d07c877fa0e984deaf2cf34881b7

@ -1 +1 @@
Subproject commit 2736cb437ec6c1eaa4a67a4cc5a194f02e98f027
Subproject commit c374b0559ab0e1f4737d9c9e2e0b1036af144ace