{"action":"created","issue":{"url":"https://api.github.com/repos/hacdias/caddy-hugo/issues/94","repository_url":"https://api.github.com/repos/hacdias/caddy-hugo","labels_url":"https://api.github.com/repos/hacdias/caddy-hugo/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/hacdias/caddy-hugo/issues/94/comments","events_url":"https://api.github.com/repos/hacdias/caddy-hugo/issues/94/events","html_url":"https://github.com/hacdias/caddy-hugo/issues/94","id":180510679,"number":94,"title":"hugo plugin does not recognize options with the latest caddy","user":{"login":"eternaltyro","id":230743,"avatar_url":"https://avatars.githubusercontent.com/u/230743?v=3","gravatar_id":"","url":"https://api.github.com/users/eternaltyro","html_url":"https://github.com/eternaltyro","followers_url":"https://api.github.com/users/eternaltyro/followers","following_url":"https://api.github.com/users/eternaltyro/following{/other_user}","gists_url":"https://api.github.com/users/eternaltyro/gists{/gist_id}","starred_url":"https://api.github.com/users/eternaltyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternaltyro/subscriptions","organizations_url":"https://api.github.com/users/eternaltyro/orgs","repos_url":"https://api.github.com/users/eternaltyro/repos","events_url":"https://api.github.com/users/eternaltyro/events{/privacy}","received_events_url":"https://api.github.com/users/eternaltyro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-02T12:47:03Z","updated_at":"2016-10-17T10:31:47Z","closed_at":"2016-10-03T18:14:40Z","body":"I'm running FreeBSD 10.2 with Caddy 0.9.3\r\n\r\n    root@freebsd:/usr/local/www # caddy -version\r\n    Caddy 0.9.3\r\n\r\nHugo version:\r\n\r\n    root@freebsd:/usr/local/www # hugo version\r\n    Hugo Static Site Generator v0.16 BuildDate: 2016-08-24T09:19:51Z\r\n\r\ntest config:\r\n\r\n    domain.me {\r\n        root /usr/local/www/domain/public\r\n        hugo /usr/local/www/domain {\r\n            buildDrafts\r\n            watch\r\n            theme paperback\r\n        }\r\n        tls myemail@gmail.com\r\n        gzip\r\n    }\r\n\r\nRun and result:\r\n\r\n```\r\nroot@freebsd:/usr/local/www # caddy -conf testconfig\r\nActivating privacy features... done.\r\nUnknown option buildDrafts\r\nUnknown option watch\r\nUnknown option theme\r\nUnknown option paperback\r\nhttps://domain.me\r\nhttp://domain.me\r\nStarted building site\r\n=============================================================\r\nYour rendered home page is blank: /index.html is zero-length\r\n * Did you specify a theme on the command-line or in your\r\n   \"config.toml\" file?  (Current theme: \"\")\r\n * For more debugging information, run \"hugo -v\"\r\n=============================================================\r\n0 of 1 draft rendered\r\n0 future content\r\n0 pages created\r\n0 non-page files copied\r\n0 paginator pages created\r\n0 tags created\r\n0 categories created\r\nin 15 ms\r\n```\r\n\r\nThese configurations used to work and the only change that was made was that the old caddy binary was replaced with the new one."},"comment":{"url":"https://api.github.com/repos/hacdias/caddy-hugo/issues/comments/254171686","html_url":"https://github.com/hacdias/caddy-hugo/issues/94#issuecomment-254171686","issue_url":"https://api.github.com/repos/hacdias/caddy-hugo/issues/94","id":254171686,"user":{"login":"eternaltyro","id":230743,"avatar_url":"https://avatars.githubusercontent.com/u/230743?v=3","gravatar_id":"","url":"https://api.github.com/users/eternaltyro","html_url":"https://github.com/eternaltyro","followers_url":"https://api.github.com/users/eternaltyro/followers","following_url":"https://api.github.com/users/eternaltyro/following{/other_user}","gists_url":"https://api.github.com/users/eternaltyro/gists{/gist_id}","starred_url":"https://api.github.com/users/eternaltyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternaltyro/subscriptions","organizations_url":"https://api.github.com/users/eternaltyro/orgs","repos_url":"https://api.github.com/users/eternaltyro/repos","events_url":"https://api.github.com/users/eternaltyro/events{/privacy}","received_events_url":"https://api.github.com/users/eternaltyro/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T10:31:47Z","updated_at":"2016-10-17T10:31:47Z","body":"It works \"only\" if I add the flags to `config.toml` under `/usr/local/www/domain` AND uncomment the hugo block for caddy. The working Caddyfile snippet is:\r\n\r\n```\r\ndomain.tld {\r\n  root /usr/local/www/domain/public\r\n  hugo /usr/local/www/domain \r\n...\r\n}\r\n```"}}
{"actor":{"display_login":"eternaltyro"}}