瀏覽代碼

fix: parse error when loading widget_page.html

```
Error: add site dependencies: load resources: loading templates: "/Users/marpaia/git/website/themes/academic/layouts/partials/widget_page.html:21:1": parse failed: template: partials/widget_page.html:21: unterminated quoted string
```

Fix 8d25dbc
See #1621
Fix #1618
Mike Arpaia 5 年之前
父節點
當前提交
adb09f8dab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      layouts/partials/widget_page.html

+ 1 - 1
layouts/partials/widget_page.html

@@ -18,7 +18,7 @@
   {{/* Check widget page exists. */}}
   {{ if not $headless_bundle }}
     {{ errorf "Widget Page not found at %s!" $page }}
-    {{ errorf "View the Widget Page documentation at https://sourcethemes.com/academic/docs/managing-content/#create-a-widget-page . }}
+    {{ errorf "View the Widget Page documentation at https://sourcethemes.com/academic/docs/managing-content/#create-a-widget-page ." }}
     {{ errorf "If the Hugo version is between 0.65 and 0.68, it may be a confirmed Hugo bug that is expected to be fixed in Hugo v0.69: https://github.com/gcushen/hugo-academic/issues/1595#issuecomment-605514973 ." }}
   {{ end }}
 {{ end }}