hexo-theme-stellar 1.15.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_config.yml +1 -1
- package/layout/_partial/head.ejs +3 -0
- package/package.json +1 -1
package/_config.yml
CHANGED
package/layout/_partial/head.ejs
CHANGED
|
@@ -23,6 +23,9 @@ function generate_title() {
|
|
|
23
23
|
return '';
|
|
24
24
|
}
|
|
25
25
|
function generate_description() {
|
|
26
|
+
if (theme.open_graph && theme.open_graph.enable) {
|
|
27
|
+
return '';
|
|
28
|
+
}
|
|
26
29
|
if (page.layout == 'wiki' && page.wiki) {
|
|
27
30
|
let proj = theme.wiki.projects[page.wiki];
|
|
28
31
|
if (proj && proj.description) {
|