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 CHANGED
@@ -1,6 +1,6 @@
1
1
  ######## Stellar info ########
2
2
  stellar:
3
- version: '1.15.0'
3
+ version: '1.15.1'
4
4
  homepage: 'https://xaoxuu.com/wiki/stellar/'
5
5
  repo: 'https://github.com/xaoxuu/hexo-theme-stellar'
6
6
  cdn_css: # Use cdn links instead of /css/main.css
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-stellar",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "description": "Elegant and powerful theme for Hexo.",
5
5
  "main": "package.json",
6
6
  "scripts": {