浏览代码

chore: add Netlify config to build demo site

George Cushen 6 年之前
父节点
当前提交
a19b8b8883
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      netlify.toml

+ 2 - 1
netlify.toml

@@ -1,8 +1,9 @@
 [build]
-  command = "hugo --themesDir ../../ -t repo"
+  command = "hugo --themesDir ../../"
   base    = "exampleSite"
   publish = "exampleSite/public"
   HUGO_VERSION = "0.53"
+  HUGO_THEME="repo"
   HUGO_ENABLEGITINFO = "true"
 
 [context.production.environment]