Updated to add open graph protocol
This commit is contained in:
parent
0599c22630
commit
7014267a70
|
@ -1,6 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>{{title}}</title>
|
||||
|
||||
<meta property="og:site_name" content="Verdandi testblog">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:title" content="{{meta_title}}">
|
||||
<meta property="og:url" content="{{meta_url}}">
|
||||
{% if meta_description %}
|
||||
<meta property="og:description" content="{{meta_description|striptags}}">
|
||||
{% endif %}
|
||||
{% if meta_image %}
|
||||
<meta property="og:image" content="{{meta_image}}" >
|
||||
{% endif %}
|
||||
</head>
|
||||
</head>
|
||||
<body>
|
||||
{{menu}}
|
||||
|
|
|
@ -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"
|
||||
|
|
2
verdandi
2
verdandi
|
@ -1 +1 @@
|
|||
Subproject commit 0d12462345b5da0d2dc4cffdb599d1cad43c539a
|
||||
Subproject commit 3aa8ecaf16e316bb06863b9b1e1e87afc59bdaf9
|
Loading…
Reference in New Issue