{"action":"opened","issue":{"url":"https://api.github.com/repos/getpelican/pelican/issues/2339","repository_url":"https://api.github.com/repos/getpelican/pelican","labels_url":"https://api.github.com/repos/getpelican/pelican/issues/2339/labels{/name}","comments_url":"https://api.github.com/repos/getpelican/pelican/issues/2339/comments","events_url":"https://api.github.com/repos/getpelican/pelican/issues/2339/events","html_url":"https://github.com/getpelican/pelican/issues/2339","id":318400425,"number":2339,"title":"{filename} does not work with directories","user":{"login":"sagamusix","id":875883,"avatar_url":"https://avatars0.githubusercontent.com/u/875883?v=4","gravatar_id":"","url":"https://api.github.com/users/sagamusix","html_url":"https://github.com/sagamusix","followers_url":"https://api.github.com/users/sagamusix/followers","following_url":"https://api.github.com/users/sagamusix/following{/other_user}","gists_url":"https://api.github.com/users/sagamusix/gists{/gist_id}","starred_url":"https://api.github.com/users/sagamusix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagamusix/subscriptions","organizations_url":"https://api.github.com/users/sagamusix/orgs","repos_url":"https://api.github.com/users/sagamusix/repos","events_url":"https://api.github.com/users/sagamusix/events{/privacy}","received_events_url":"https://api.github.com/users/sagamusix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-27T12:59:54Z","updated_at":"2018-04-27T12:59:54Z","closed_at":null,"author_association":"NONE","body":"I would like to create a link to a directory that's part of my static folder structure. {filename} only seems to recognize files for substitutions though, not folders, i.e. `{filename}/static/foo/bar.txt` can be linked but `{filename}/static/foo/` can not. For the reference, threre is *no* index.html in that folder that I could link to as a workaround.\r\n\r\nI'm using Pelican 3.7.1."}}
{"actor":{"display_login":"sagamusix"}}