فهرست منبع

Netlify config

Zachary Betz 6 سال پیش
والد
کامیت
87825d8234
2فایلهای تغییر یافته به همراه11 افزوده شده و 3 حذف شده
  1. 3 3
      README.md
  2. 8 0
      netlify.toml

+ 3 - 3
README.md

@@ -1,5 +1,7 @@
 # Cupper
 
+[![Netlify Status](https://api.netlify.com/api/v1/badges/bc8c4e51-37ee-419d-ad4f-b378010ee546/deploy-status)](https://app.netlify.com/sites/cupper-hugo-theme/deploys)
+
 An accessibility-friendly Hugo theme, ported from the original [Cupper](https://github.com/ThePacielloGroup/cupper) project.
 
 ## Table of contents
@@ -8,9 +10,7 @@ TODO
 
 ## Demo
 
-Dev demo, immediate updates: TODO
-
-Hugo Themes demo, weekly-ish updates: TODO
+Dev demo: https://cupper-hugo-theme.netlify.com/
 
 ## Installation
 

+ 8 - 0
netlify.toml

@@ -0,0 +1,8 @@
+[build]
+  publish = "exampleSite/public"
+  command = "cd exampleSite && hugo --gc --themesDir ../.."
+
+[build.environment]
+  HUGO_VERSION = "0.54.0"
+  HUGO_THEME = "repo"
+  HUGO_BASEURL = "https://cupper-hugo-theme.netlify.com/"