Switched to new metadata format
This commit is contained in:
parent
af98fc66d3
commit
0090dcc57f
|
@ -1,7 +1,8 @@
|
|||
12.2.2014 13:37
|
||||
12.2.2014 23:42
|
||||
title: A cool new Page
|
||||
creation_time: 12.2.2014 13:37
|
||||
edit_time: 12.2.2014 23:42
|
||||
|
||||
A cool new Page
|
||||
I don't have a news item ....
|
||||
|
||||
Test
|
||||
----
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
12.2.2014 13:37
|
||||
12.2.2014 23:42
|
||||
|
||||
Yet an other cool Page
|
||||
|
||||
title: Yet an other cool Page
|
||||
creation_time: 12.2.2014 13:37
|
||||
edit_time: 12.2.2014 23:42
|
||||
|
||||
Test
|
||||
----
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
12.2.2014 13:37
|
||||
12.2.2014 23:42
|
||||
|
||||
An other cool Page
|
||||
title: An other cool Page
|
||||
creation_time: 12.2.2014 13:37
|
||||
edit_time: 12.2.2014 23:42
|
||||
|
||||
Test
|
||||
----
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
1.1.2016 12:00
|
||||
22.1.2016 17:00
|
||||
|
||||
First test
|
||||
|
||||
title: First test
|
||||
creation_time: 1.1.2016 12:00
|
||||
edit_time: 22.1.2016 17:00
|
||||
|
||||
This is a first test newsitem
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
15.1.2016 12:00
|
||||
22.1.2016 17:00
|
||||
|
||||
Second test
|
||||
|
||||
title: Second test
|
||||
creation_time: 15.1.2016 12:00
|
||||
edit_time: 22.1.2016 17:00
|
||||
|
||||
This is an other test newsitem
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
28.1.2016
|
||||
14.2.2016
|
||||
title: A Test Gallery
|
||||
creation_time: 28.1.2016
|
||||
edit_time: 14.2.2016
|
||||
|
||||
|
||||
A Test Gallery
|
||||
|
||||
This is a test gallery description.
|
||||
Awesome shit an stuff !
|
||||
|
|
|
@ -19,6 +19,7 @@ class TestPage2(Page):
|
|||
menu_title = "Other new Page"
|
||||
menu_label = "cool_page1"
|
||||
content_file = "content_other.md"
|
||||
news_feed_id = "news"
|
||||
|
||||
|
||||
class TestPage3(Page):
|
||||
|
@ -27,6 +28,7 @@ class TestPage3(Page):
|
|||
menu_parent = "cool_page1"
|
||||
url = "subdir/page3.html"
|
||||
content_file = "content_yetanother.md"
|
||||
news_feed_id = "news"
|
||||
|
||||
class Assets(CommonAssets):
|
||||
assets = [('img', 'img/dir'),
|
||||
|
@ -41,6 +43,7 @@ class News(NewsFeed):
|
|||
url = "news.html"
|
||||
menu_title = "News"
|
||||
menu_label = "news"
|
||||
news_feed_id = "news"
|
||||
|
||||
class TestGallery(Gallery):
|
||||
url = "testgallery.html"
|
||||
|
|
2
verdandi
2
verdandi
|
@ -1 +1 @@
|
|||
Subproject commit 5537235adf6939bd3c498e4428b937254a8fddb2
|
||||
Subproject commit 9d524093e3573656feba2b52e22c4b86cc1c0046
|
Loading…
Reference in New Issue