{"action":"closed","number":820,"pull_request":{"url":"https://api.github.com/repos/gcushen/hugo-academic/pulls/820","id":233696469,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjk2NDY5","html_url":"https://github.com/gcushen/hugo-academic/pull/820","diff_url":"https://github.com/gcushen/hugo-academic/pull/820.diff","patch_url":"https://github.com/gcushen/hugo-academic/pull/820.patch","issue_url":"https://api.github.com/repos/gcushen/hugo-academic/issues/820","number":820,"state":"closed","locked":false,"title":"Fix Hero widget and Search for multilingual sites","user":{"login":"paulocmoreno","id":719181,"node_id":"MDQ6VXNlcjcxOTE4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/719181?v=4","gravatar_id":"","url":"https://api.github.com/users/paulocmoreno","html_url":"https://github.com/paulocmoreno","followers_url":"https://api.github.com/users/paulocmoreno/followers","following_url":"https://api.github.com/users/paulocmoreno/following{/other_user}","gists_url":"https://api.github.com/users/paulocmoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/paulocmoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulocmoreno/subscriptions","organizations_url":"https://api.github.com/users/paulocmoreno/orgs","repos_url":"https://api.github.com/users/paulocmoreno/repos","events_url":"https://api.github.com/users/paulocmoreno/events{/privacy}","received_events_url":"https://api.github.com/users/paulocmoreno/received_events","type":"User","site_admin":false},"body":"### Purpose\r\n\r\nIn multilingual sites, the hero widget and the search box are built with URLs without include the baseUrl and the language prefix. This pull request fixes the problem.\r\n\r\nEnable the option \"defaultContentLanguageInSubdir\" and add a language in exampleSite/config.toml for reproduce the error.\r\n","created_at":"2018-11-26T21:06:13Z","updated_at":"2018-11-29T12:18:46Z","closed_at":"2018-11-29T12:18:46Z","merged_at":"2018-11-29T12:18:46Z","merge_commit_sha":"11c1ebe955248181c3d32c387094db91616d3bcd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":364688691,"node_id":"MDU6TGFiZWwzNjQ2ODg2OTE=","url":"https://api.github.com/repos/gcushen/hugo-academic/labels/bug","name":"bug","color":"d73a4a","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/gcushen/hugo-academic/pulls/820/commits","review_comments_url":"https://api.github.com/repos/gcushen/hugo-academic/pulls/820/comments","review_comment_url":"https://api.github.com/repos/gcushen/hugo-academic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gcushen/hugo-academic/issues/820/comments","statuses_url":"https://api.github.com/repos/gcushen/hugo-academic/statuses/c14b6f5c44dfb43c5b3606cf1b9492429fa6b54d","head":{"label":"paulocmoreno:fix-hero-relative-image-path","ref":"fix-hero-relative-image-path","sha":"c14b6f5c44dfb43c5b3606cf1b9492429fa6b54d","user":{"login":"paulocmoreno","id":719181,"node_id":"MDQ6VXNlcjcxOTE4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/719181?v=4","gravatar_id":"","url":"https://api.github.com/users/paulocmoreno","html_url":"https://github.com/paulocmoreno","followers_url":"https://api.github.com/users/paulocmoreno/followers","following_url":"https://api.github.com/users/paulocmoreno/following{/other_user}","gists_url":"https://api.github.com/users/paulocmoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/paulocmoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulocmoreno/subscriptions","organizations_url":"https://api.github.com/users/paulocmoreno/orgs","repos_url":"https://api.github.com/users/paulocmoreno/repos","events_url":"https://api.github.com/users/paulocmoreno/events{/privacy}","received_events_url":"https://api.github.com/users/paulocmoreno/received_events","type":"User","site_admin":false},"repo":{"id":159227687,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkyMjc2ODc=","name":"hugo-academic","full_name":"paulocmoreno/hugo-academic","private":false,"owner":{"login":"paulocmoreno","id":719181,"node_id":"MDQ6VXNlcjcxOTE4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/719181?v=4","gravatar_id":"","url":"https://api.github.com/users/paulocmoreno","html_url":"https://github.com/paulocmoreno","followers_url":"https://api.github.com/users/paulocmoreno/followers","following_url":"https://api.github.com/users/paulocmoreno/following{/other_user}","gists_url":"https://api.github.com/users/paulocmoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/paulocmoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulocmoreno/subscriptions","organizations_url":"https://api.github.com/users/paulocmoreno/orgs","repos_url":"https://api.github.com/users/paulocmoreno/repos","events_url":"https://api.github.com/users/paulocmoreno/events{/privacy}","received_events_url":"https://api.github.com/users/paulocmoreno/received_events","type":"User","site_admin":false},"html_url":"https://github.com/paulocmoreno/hugo-academic","description":"The website designer for Hugo. Build and deploy a beautiful website in minutes :rocket:","fork":true,"url":"https://api.github.com/repos/paulocmoreno/hugo-academic","forks_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/forks","keys_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/teams","hooks_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/hooks","issue_events_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/issues/events{/number}","events_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/events","assignees_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/assignees{/user}","branches_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/branches{/branch}","tags_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/tags","blobs_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/statuses/{sha}","languages_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/languages","stargazers_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/stargazers","contributors_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/contributors","subscribers_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/subscribers","subscription_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/subscription","commits_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/contents/{+path}","compare_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/merges","archive_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/downloads","issues_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/issues{/number}","pulls_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/pulls{/number}","milestones_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/milestones{/number}","notifications_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/labels{/name}","releases_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/releases{/id}","deployments_url":"https://api.github.com/repos/paulocmoreno/hugo-academic/deployments","created_at":"2018-11-26T20:22:11Z","updated_at":"2018-11-26T20:22:13Z","pushed_at":"2018-11-26T21:00:15Z","git_url":"git://github.com/paulocmoreno/hugo-academic.git","ssh_url":"git@github.com:paulocmoreno/hugo-academic.git","clone_url":"https://github.com/paulocmoreno/hugo-academic.git","svn_url":"https://github.com/paulocmoreno/hugo-academic","homepage":"https://sourcethemes.com/academic/","size":6101,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gcushen:master","ref":"master","sha":"cd05bec3be6d323fe33a6d43cd49d76ccae1a837","user":{"login":"gcushen","id":7537639,"node_id":"MDQ6VXNlcjc1Mzc2Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/7537639?v=4","gravatar_id":"","url":"https://api.github.com/users/gcushen","html_url":"https://github.com/gcushen","followers_url":"https://api.github.com/users/gcushen/followers","following_url":"https://api.github.com/users/gcushen/following{/other_user}","gists_url":"https://api.github.com/users/gcushen/gists{/gist_id}","starred_url":"https://api.github.com/users/gcushen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcushen/subscriptions","organizations_url":"https://api.github.com/users/gcushen/orgs","repos_url":"https://api.github.com/users/gcushen/repos","events_url":"https://api.github.com/users/gcushen/events{/privacy}","received_events_url":"https://api.github.com/users/gcushen/received_events","type":"User","site_admin":false},"repo":{"id":57165232,"node_id":"MDEwOlJlcG9zaXRvcnk1NzE2NTIzMg==","name":"hugo-academic","full_name":"gcushen/hugo-academic","private":false,"owner":{"login":"gcushen","id":7537639,"node_id":"MDQ6VXNlcjc1Mzc2Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/7537639?v=4","gravatar_id":"","url":"https://api.github.com/users/gcushen","html_url":"https://github.com/gcushen","followers_url":"https://api.github.com/users/gcushen/followers","following_url":"https://api.github.com/users/gcushen/following{/other_user}","gists_url":"https://api.github.com/users/gcushen/gists{/gist_id}","starred_url":"https://api.github.com/users/gcushen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcushen/subscriptions","organizations_url":"https://api.github.com/users/gcushen/orgs","repos_url":"https://api.github.com/users/gcushen/repos","events_url":"https://api.github.com/users/gcushen/events{/privacy}","received_events_url":"https://api.github.com/users/gcushen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gcushen/hugo-academic","description":"The website designer for Hugo. Build and deploy a beautiful website in minutes :rocket:","fork":false,"url":"https://api.github.com/repos/gcushen/hugo-academic","forks_url":"https://api.github.com/repos/gcushen/hugo-academic/forks","keys_url":"https://api.github.com/repos/gcushen/hugo-academic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gcushen/hugo-academic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gcushen/hugo-academic/teams","hooks_url":"https://api.github.com/repos/gcushen/hugo-academic/hooks","issue_events_url":"https://api.github.com/repos/gcushen/hugo-academic/issues/events{/number}","events_url":"https://api.github.com/repos/gcushen/hugo-academic/events","assignees_url":"https://api.github.com/repos/gcushen/hugo-academic/assignees{/user}","branches_url":"https://api.github.com/repos/gcushen/hugo-academic/branches{/branch}","tags_url":"https://api.github.com/repos/gcushen/hugo-academic/tags","blobs_url":"https://api.github.com/repos/gcushen/hugo-academic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gcushen/hugo-academic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gcushen/hugo-academic/git/refs{/sha}","trees_url":"https://api.github.com/repos/gcushen/hugo-academic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gcushen/hugo-academic/statuses/{sha}","languages_url":"https://api.github.com/repos/gcushen/hugo-academic/languages","stargazers_url":"https://api.github.com/repos/gcushen/hugo-academic/stargazers","contributors_url":"https://api.github.com/repos/gcushen/hugo-academic/contributors","subscribers_url":"https://api.github.com/repos/gcushen/hugo-academic/subscribers","subscription_url":"https://api.github.com/repos/gcushen/hugo-academic/subscription","commits_url":"https://api.github.com/repos/gcushen/hugo-academic/commits{/sha}","git_commits_url":"https://api.github.com/repos/gcushen/hugo-academic/git/commits{/sha}","comments_url":"https://api.github.com/repos/gcushen/hugo-academic/comments{/number}","issue_comment_url":"https://api.github.com/repos/gcushen/hugo-academic/issues/comments{/number}","contents_url":"https://api.github.com/repos/gcushen/hugo-academic/contents/{+path}","compare_url":"https://api.github.com/repos/gcushen/hugo-academic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gcushen/hugo-academic/merges","archive_url":"https://api.github.com/repos/gcushen/hugo-academic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gcushen/hugo-academic/downloads","issues_url":"https://api.github.com/repos/gcushen/hugo-academic/issues{/number}","pulls_url":"https://api.github.com/repos/gcushen/hugo-academic/pulls{/number}","milestones_url":"https://api.github.com/repos/gcushen/hugo-academic/milestones{/number}","notifications_url":"https://api.github.com/repos/gcushen/hugo-academic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gcushen/hugo-academic/labels{/name}","releases_url":"https://api.github.com/repos/gcushen/hugo-academic/releases{/id}","deployments_url":"https://api.github.com/repos/gcushen/hugo-academic/deployments","created_at":"2016-04-26T22:09:15Z","updated_at":"2018-11-29T07:28:27Z","pushed_at":"2018-11-29T12:18:46Z","git_url":"git://github.com/gcushen/hugo-academic.git","ssh_url":"git@github.com:gcushen/hugo-academic.git","clone_url":"https://github.com/gcushen/hugo-academic.git","svn_url":"https://github.com/gcushen/hugo-academic","homepage":"https://sourcethemes.com/academic/","size":6102,"stargazers_count":1972,"watchers_count":1972,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":779,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":779,"open_issues":27,"watchers":1972,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gcushen/hugo-academic/pulls/820"},"html":{"href":"https://github.com/gcushen/hugo-academic/pull/820"},"issue":{"href":"https://api.github.com/repos/gcushen/hugo-academic/issues/820"},"comments":{"href":"https://api.github.com/repos/gcushen/hugo-academic/issues/820/comments"},"review_comments":{"href":"https://api.github.com/repos/gcushen/hugo-academic/pulls/820/comments"},"review_comment":{"href":"https://api.github.com/repos/gcushen/hugo-academic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gcushen/hugo-academic/pulls/820/commits"},"statuses":{"href":"https://api.github.com/repos/gcushen/hugo-academic/statuses/c14b6f5c44dfb43c5b3606cf1b9492429fa6b54d"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gcushen","id":7537639,"node_id":"MDQ6VXNlcjc1Mzc2Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/7537639?v=4","gravatar_id":"","url":"https://api.github.com/users/gcushen","html_url":"https://github.com/gcushen","followers_url":"https://api.github.com/users/gcushen/followers","following_url":"https://api.github.com/users/gcushen/following{/other_user}","gists_url":"https://api.github.com/users/gcushen/gists{/gist_id}","starred_url":"https://api.github.com/users/gcushen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcushen/subscriptions","organizations_url":"https://api.github.com/users/gcushen/orgs","repos_url":"https://api.github.com/users/gcushen/repos","events_url":"https://api.github.com/users/gcushen/events{/privacy}","received_events_url":"https://api.github.com/users/gcushen/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"gcushen"}}