fix multiple meta description tags
This commit is contained in:
parent
3974fb3c55
commit
677636fe3e
|
@ -23,6 +23,9 @@ function generate_title() {
|
|||
return '';
|
||||
}
|
||||
function generate_description() {
|
||||
if (theme.open_graph && theme.open_graph.enable) {
|
||||
return '';
|
||||
}
|
||||
if (page.layout == 'wiki' && page.wiki) {
|
||||
let proj = theme.wiki.projects[page.wiki];
|
||||
if (proj && proj.description) {
|
||||
|
|
Loading…
Reference in New Issue