projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b2614
)
Add static og: tag to the index page
author
Magnus Hagander
<magnus@hagander.net>
Thu, 22 Oct 2020 12:30:10 +0000
(14:30 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 22 Oct 2020 12:30:10 +0000
(14:30 +0200)
pgweb/core/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/core/views.py
b/pgweb/core/views.py
index 9684a08253c8a76afaebf5d208f255286bf5bbd0..dd9be63616241077a10f2fa2e61ef219103c62c3 100644
(file)
--- a/
pgweb/core/views.py
+++ b/
pgweb/core/views.py
@@
-78,6
+78,13
@@
def home(request):
'events': events,
'versions': versions,
'planet': planet,
+ 'og': {
+ 'url': '/',
+ 'author': 'PostgreSQL Global Development Group',
+ 'time': datetime.now(),
+ 'title': 'PostgreSQL',
+ 'description': "The world's most advanced open source database.",
+ },
})