forked from 00dani/lemoncurry
Use the entry.title property to set the page title
This commit is contained in:
parent
286caadf40
commit
d8a6dbf2bf
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,6 @@ def entry(request, id, slug=None):
|
|||
return redirect(entry.url, permanent=True)
|
||||
return render(request, 'entries/entry.html', {
|
||||
'entry': entry,
|
||||
'title': entry.name or entry.content,
|
||||
'title': entry.title,
|
||||
'meta': entry.as_meta(request)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue