{"action":"opened","issue":{"url":"https://api.github.com/repos/pugjs/pug/issues/2553","repository_url":"https://api.github.com/repos/pugjs/pug","labels_url":"https://api.github.com/repos/pugjs/pug/issues/2553/labels{/name}","comments_url":"https://api.github.com/repos/pugjs/pug/issues/2553/comments","events_url":"https://api.github.com/repos/pugjs/pug/issues/2553/events","html_url":"https://github.com/pugjs/pug/issues/2553","id":178601407,"number":2553,"title":"Access CLI Options variables","user":{"login":"lukeramsden","id":13789719,"avatar_url":"https://avatars.githubusercontent.com/u/13789719?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeramsden","html_url":"https://github.com/lukeramsden","followers_url":"https://api.github.com/users/lukeramsden/followers","following_url":"https://api.github.com/users/lukeramsden/following{/other_user}","gists_url":"https://api.github.com/users/lukeramsden/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeramsden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeramsden/subscriptions","organizations_url":"https://api.github.com/users/lukeramsden/orgs","repos_url":"https://api.github.com/users/lukeramsden/repos","events_url":"https://api.github.com/users/lukeramsden/events{/privacy}","received_events_url":"https://api.github.com/users/lukeramsden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T12:50:53Z","updated_at":"2016-09-22T12:50:53Z","closed_at":null,"body":"So the problem I'm having is that in index.pug  I can write `title= doctype` and in index.html it says the title is \"html\", but if I write `title= title`, it doesn't work. I don't see anywhere in the docs for pug or pug-cli on how to access variables in the pug code. Why does doctype work but not title? I don't see the difference.\r\nindex.pug\r\n```pug\r\nhtml(lang=\"en\")\r\n  head\r\n    title= title\r\n```\r\noptions.json\r\n```json\r\n{\r\n\t\"doctype\": \"html\",\r\n\t\"title\": \"Page Title\"\r\n}\r\n```\r\ncli command\r\n`pug -O options.json dev -P -w -o public`"}}
{"actor":{"display_login":"lukeramsden"}}