diff --git a/templates/base.html b/templates/base.html index 7e08dee..63a6385 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,18 @@ {{title}} + + + + + + {% if meta_description %} + + {% endif %} + {% if meta_image %} + + {% endif %} + {{menu}} diff --git a/testblog.py b/testblog.py index 2f9ef02..6b380cc 100644 --- a/testblog.py +++ b/testblog.py @@ -30,6 +30,10 @@ class TestPage3(Page): content_file = "content_yetanother.md" news_feed_id = "news" + metadata = { + 'image' : 'img/bar.png', + } + class Assets(CommonAssets): assets = [('img', 'img/dir'), ('img/', 'img/files')] @@ -44,6 +48,10 @@ class News(NewsFeed): menu_title = "News" menu_label = "news" news_feed_id = "news" + metadata = { + 'description' : 'A news feed with news', + 'image' : 'img/bar.png', + } class TestGallery(Gallery): url = "testgallery.html" diff --git a/verdandi b/verdandi index 0d12462..3aa8eca 160000 --- a/verdandi +++ b/verdandi @@ -1 +1 @@ -Subproject commit 0d12462345b5da0d2dc4cffdb599d1cad43c539a +Subproject commit 3aa8ecaf16e316bb06863b9b1e1e87afc59bdaf9