diff options
author | matthieu <matthieu.cneude@gmail.com> | 2021-04-24 12:11:49 +0200 |
---|---|---|
committer | matthieu <matthieu.cneude@gmail.com> | 2021-04-24 12:11:49 +0200 |
commit | 46054bbdf90950eadf5bb1c798328c572c7b1fb0 (patch) | |
tree | 8296588046f52d6a095bb9c2b70dee72182cc165 | |
parent | e41eefefe8876338193b97b40c837299dfa4ebe7 (diff) |
Fix internal templates
-rw-r--r-- | internal/templates.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/internal/templates.go b/internal/templates.go index a89e21d..29ea69d 100644 --- a/internal/templates.go +++ b/internal/templates.go @@ -31,7 +31,7 @@ func CreateBlogConfig(keyfile string, viewID string, address string) blogConfig if viewID != "" { bc.ViewID = "view_id: " + viewID } else { - bc.ViewID = "# view_id: The value of the address is required" + bc.ViewID = "# view_id: The value of the viewID is required" } return bc @@ -62,6 +62,13 @@ func CreateGitHubProjectConfig(token string, owner string, repo string) githubCo func Blog() string { return `--- +general: + refresh: 600 + keys: + quit: "C-c" + reload: "C-r" + edit: "C-e" + projects: - name: Your Blog title_options: @@ -73,7 +80,6 @@ projects: google_analytics: {{ .Keyfile }} {{ .ViewID }} - view_id: 89379071 feedly: {{ .Address }} monitor: |