{"action":"created","comment":{"url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/comments/168782318","pull_request_review_id":97209138,"id":168782318,"diff_hunk":"@@ -0,0 +1,31 @@\n+<?php \n+\n+$bodyclass = 'page simple-page';\n+$top = simple_pages_earliest_ancestor_page(null);\n+\n+// Build appropriate page titles\n+if (!$top) {\n+    $top = get_current_record('simple_pages_page');\n+    $title = metadata('simple_pages_page', 'title');    \n+    $topSlug = metadata($top, 'slug');\n+} else {\n+\t$title = metadata('simple_pages_page', 'title');\n+\t$subtitle = metadata('simple_pages_page', 'title');\n+}\n+echo head(array( 'title' => $title, \n+\t'bodyclass' => $bodyclass, \n+\t'bodyid' => metadata('simple_pages_page', 'slug'),\n+\t'currentUriOverride' => url($topSlug)\n+));\n+\n+// If there is a file that matches the slug of this page, display that as the template\n+// Otherwise, use the template below on show.php\n+$fname = dirname(__FILE__) . '/' . metadata('simple_pages_page', 'slug') . '.php';\n+if (is_file( $fname )):\n+    include( $fname );\n+else :\n+echo \"The page is under construction\";","path":"themes/mlibrary_new/simple-pages/page/show.php","position":27,"original_position":27,"commit_id":"9b0b8919879a6434a09b78bb13e5e23a9a6f6bb1","original_commit_id":"9b0b8919879a6434a09b78bb13e5e23a9a6f6bb1","user":{"login":"nancymou","id":4174070,"avatar_url":"https://avatars0.githubusercontent.com/u/4174070?v=4","gravatar_id":"","url":"https://api.github.com/users/nancymou","html_url":"https://github.com/nancymou","followers_url":"https://api.github.com/users/nancymou/followers","following_url":"https://api.github.com/users/nancymou/following{/other_user}","gists_url":"https://api.github.com/users/nancymou/gists{/gist_id}","starred_url":"https://api.github.com/users/nancymou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nancymou/subscriptions","organizations_url":"https://api.github.com/users/nancymou/orgs","repos_url":"https://api.github.com/users/nancymou/repos","events_url":"https://api.github.com/users/nancymou/events{/privacy}","received_events_url":"https://api.github.com/users/nancymou/received_events","type":"User","site_admin":false},"body":"The simple plugin has only one page, the show page. I do need to check the path for the file and if it exists I do need to include it to run.","created_at":"2018-02-16T15:12:21Z","updated_at":"2018-02-16T15:12:21Z","html_url":"https://github.com/mlibrary/online-exhibits/pull/136#discussion_r168782318","pull_request_url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/comments/168782318"},"html":{"href":"https://github.com/mlibrary/online-exhibits/pull/136#discussion_r168782318"},"pull_request":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136"}},"in_reply_to_id":168672812},"pull_request":{"url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136","id":169141659,"html_url":"https://github.com/mlibrary/online-exhibits/pull/136","diff_url":"https://github.com/mlibrary/online-exhibits/pull/136.diff","patch_url":"https://github.com/mlibrary/online-exhibits/pull/136.patch","issue_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues/136","number":136,"state":"open","locked":false,"title":"About page","user":{"login":"nancymou","id":4174070,"avatar_url":"https://avatars0.githubusercontent.com/u/4174070?v=4","gravatar_id":"","url":"https://api.github.com/users/nancymou","html_url":"https://github.com/nancymou","followers_url":"https://api.github.com/users/nancymou/followers","following_url":"https://api.github.com/users/nancymou/following{/other_user}","gists_url":"https://api.github.com/users/nancymou/gists{/gist_id}","starred_url":"https://api.github.com/users/nancymou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nancymou/subscriptions","organizations_url":"https://api.github.com/users/nancymou/orgs","repos_url":"https://api.github.com/users/nancymou/repos","events_url":"https://api.github.com/users/nancymou/events{/privacy}","received_events_url":"https://api.github.com/users/nancymou/received_events","type":"User","site_admin":false},"body":"Create about page to display text using simple page plugin.\r\n ","created_at":"2018-02-14T15:32:29Z","updated_at":"2018-02-16T15:12:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84263f97b36b71e819c08bdef6fb0dc33373216b","assignee":{"login":"bertrama","id":2932803,"avatar_url":"https://avatars3.githubusercontent.com/u/2932803?v=4","gravatar_id":"","url":"https://api.github.com/users/bertrama","html_url":"https://github.com/bertrama","followers_url":"https://api.github.com/users/bertrama/followers","following_url":"https://api.github.com/users/bertrama/following{/other_user}","gists_url":"https://api.github.com/users/bertrama/gists{/gist_id}","starred_url":"https://api.github.com/users/bertrama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertrama/subscriptions","organizations_url":"https://api.github.com/users/bertrama/orgs","repos_url":"https://api.github.com/users/bertrama/repos","events_url":"https://api.github.com/users/bertrama/events{/privacy}","received_events_url":"https://api.github.com/users/bertrama/received_events","type":"User","site_admin":false},"assignees":[{"login":"bertrama","id":2932803,"avatar_url":"https://avatars3.githubusercontent.com/u/2932803?v=4","gravatar_id":"","url":"https://api.github.com/users/bertrama","html_url":"https://github.com/bertrama","followers_url":"https://api.github.com/users/bertrama/followers","following_url":"https://api.github.com/users/bertrama/following{/other_user}","gists_url":"https://api.github.com/users/bertrama/gists{/gist_id}","starred_url":"https://api.github.com/users/bertrama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertrama/subscriptions","organizations_url":"https://api.github.com/users/bertrama/orgs","repos_url":"https://api.github.com/users/bertrama/repos","events_url":"https://api.github.com/users/bertrama/events{/privacy}","received_events_url":"https://api.github.com/users/bertrama/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136/commits","review_comments_url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136/comments","review_comment_url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues/136/comments","statuses_url":"https://api.github.com/repos/mlibrary/online-exhibits/statuses/9b0b8919879a6434a09b78bb13e5e23a9a6f6bb1","head":{"label":"mlibrary:about-page","ref":"about-page","sha":"9b0b8919879a6434a09b78bb13e5e23a9a6f6bb1","user":{"login":"mlibrary","id":2494481,"avatar_url":"https://avatars3.githubusercontent.com/u/2494481?v=4","gravatar_id":"","url":"https://api.github.com/users/mlibrary","html_url":"https://github.com/mlibrary","followers_url":"https://api.github.com/users/mlibrary/followers","following_url":"https://api.github.com/users/mlibrary/following{/other_user}","gists_url":"https://api.github.com/users/mlibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/mlibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlibrary/subscriptions","organizations_url":"https://api.github.com/users/mlibrary/orgs","repos_url":"https://api.github.com/users/mlibrary/repos","events_url":"https://api.github.com/users/mlibrary/events{/privacy}","received_events_url":"https://api.github.com/users/mlibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":80555164,"name":"online-exhibits","full_name":"mlibrary/online-exhibits","owner":{"login":"mlibrary","id":2494481,"avatar_url":"https://avatars3.githubusercontent.com/u/2494481?v=4","gravatar_id":"","url":"https://api.github.com/users/mlibrary","html_url":"https://github.com/mlibrary","followers_url":"https://api.github.com/users/mlibrary/followers","following_url":"https://api.github.com/users/mlibrary/following{/other_user}","gists_url":"https://api.github.com/users/mlibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/mlibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlibrary/subscriptions","organizations_url":"https://api.github.com/users/mlibrary/orgs","repos_url":"https://api.github.com/users/mlibrary/repos","events_url":"https://api.github.com/users/mlibrary/events{/privacy}","received_events_url":"https://api.github.com/users/mlibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mlibrary/online-exhibits","description":"Online Exhibit Website using Omeka (CMS)","fork":false,"url":"https://api.github.com/repos/mlibrary/online-exhibits","forks_url":"https://api.github.com/repos/mlibrary/online-exhibits/forks","keys_url":"https://api.github.com/repos/mlibrary/online-exhibits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlibrary/online-exhibits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlibrary/online-exhibits/teams","hooks_url":"https://api.github.com/repos/mlibrary/online-exhibits/hooks","issue_events_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues/events{/number}","events_url":"https://api.github.com/repos/mlibrary/online-exhibits/events","assignees_url":"https://api.github.com/repos/mlibrary/online-exhibits/assignees{/user}","branches_url":"https://api.github.com/repos/mlibrary/online-exhibits/branches{/branch}","tags_url":"https://api.github.com/repos/mlibrary/online-exhibits/tags","blobs_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlibrary/online-exhibits/statuses/{sha}","languages_url":"https://api.github.com/repos/mlibrary/online-exhibits/languages","stargazers_url":"https://api.github.com/repos/mlibrary/online-exhibits/stargazers","contributors_url":"https://api.github.com/repos/mlibrary/online-exhibits/contributors","subscribers_url":"https://api.github.com/repos/mlibrary/online-exhibits/subscribers","subscription_url":"https://api.github.com/repos/mlibrary/online-exhibits/subscription","commits_url":"https://api.github.com/repos/mlibrary/online-exhibits/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlibrary/online-exhibits/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlibrary/online-exhibits/contents/{+path}","compare_url":"https://api.github.com/repos/mlibrary/online-exhibits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlibrary/online-exhibits/merges","archive_url":"https://api.github.com/repos/mlibrary/online-exhibits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlibrary/online-exhibits/downloads","issues_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues{/number}","pulls_url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls{/number}","milestones_url":"https://api.github.com/repos/mlibrary/online-exhibits/milestones{/number}","notifications_url":"https://api.github.com/repos/mlibrary/online-exhibits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlibrary/online-exhibits/labels{/name}","releases_url":"https://api.github.com/repos/mlibrary/online-exhibits/releases{/id}","deployments_url":"https://api.github.com/repos/mlibrary/online-exhibits/deployments","created_at":"2017-01-31T19:42:27Z","updated_at":"2018-02-12T15:39:52Z","pushed_at":"2018-02-16T15:09:38Z","git_url":"git://github.com/mlibrary/online-exhibits.git","ssh_url":"git@github.com:mlibrary/online-exhibits.git","clone_url":"https://github.com/mlibrary/online-exhibits.git","svn_url":"https://github.com/mlibrary/online-exhibits","homepage":"","size":43822,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":19,"watchers":1,"default_branch":"2.3.1"}},"base":{"label":"mlibrary:2.5.1","ref":"2.5.1","sha":"4c2ddd47b4fa084d9de438fdbef745da84de8e15","user":{"login":"mlibrary","id":2494481,"avatar_url":"https://avatars3.githubusercontent.com/u/2494481?v=4","gravatar_id":"","url":"https://api.github.com/users/mlibrary","html_url":"https://github.com/mlibrary","followers_url":"https://api.github.com/users/mlibrary/followers","following_url":"https://api.github.com/users/mlibrary/following{/other_user}","gists_url":"https://api.github.com/users/mlibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/mlibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlibrary/subscriptions","organizations_url":"https://api.github.com/users/mlibrary/orgs","repos_url":"https://api.github.com/users/mlibrary/repos","events_url":"https://api.github.com/users/mlibrary/events{/privacy}","received_events_url":"https://api.github.com/users/mlibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":80555164,"name":"online-exhibits","full_name":"mlibrary/online-exhibits","owner":{"login":"mlibrary","id":2494481,"avatar_url":"https://avatars3.githubusercontent.com/u/2494481?v=4","gravatar_id":"","url":"https://api.github.com/users/mlibrary","html_url":"https://github.com/mlibrary","followers_url":"https://api.github.com/users/mlibrary/followers","following_url":"https://api.github.com/users/mlibrary/following{/other_user}","gists_url":"https://api.github.com/users/mlibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/mlibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlibrary/subscriptions","organizations_url":"https://api.github.com/users/mlibrary/orgs","repos_url":"https://api.github.com/users/mlibrary/repos","events_url":"https://api.github.com/users/mlibrary/events{/privacy}","received_events_url":"https://api.github.com/users/mlibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mlibrary/online-exhibits","description":"Online Exhibit Website using Omeka (CMS)","fork":false,"url":"https://api.github.com/repos/mlibrary/online-exhibits","forks_url":"https://api.github.com/repos/mlibrary/online-exhibits/forks","keys_url":"https://api.github.com/repos/mlibrary/online-exhibits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlibrary/online-exhibits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlibrary/online-exhibits/teams","hooks_url":"https://api.github.com/repos/mlibrary/online-exhibits/hooks","issue_events_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues/events{/number}","events_url":"https://api.github.com/repos/mlibrary/online-exhibits/events","assignees_url":"https://api.github.com/repos/mlibrary/online-exhibits/assignees{/user}","branches_url":"https://api.github.com/repos/mlibrary/online-exhibits/branches{/branch}","tags_url":"https://api.github.com/repos/mlibrary/online-exhibits/tags","blobs_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlibrary/online-exhibits/statuses/{sha}","languages_url":"https://api.github.com/repos/mlibrary/online-exhibits/languages","stargazers_url":"https://api.github.com/repos/mlibrary/online-exhibits/stargazers","contributors_url":"https://api.github.com/repos/mlibrary/online-exhibits/contributors","subscribers_url":"https://api.github.com/repos/mlibrary/online-exhibits/subscribers","subscription_url":"https://api.github.com/repos/mlibrary/online-exhibits/subscription","commits_url":"https://api.github.com/repos/mlibrary/online-exhibits/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlibrary/online-exhibits/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlibrary/online-exhibits/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlibrary/online-exhibits/contents/{+path}","compare_url":"https://api.github.com/repos/mlibrary/online-exhibits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlibrary/online-exhibits/merges","archive_url":"https://api.github.com/repos/mlibrary/online-exhibits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlibrary/online-exhibits/downloads","issues_url":"https://api.github.com/repos/mlibrary/online-exhibits/issues{/number}","pulls_url":"https://api.github.com/repos/mlibrary/online-exhibits/pulls{/number}","milestones_url":"https://api.github.com/repos/mlibrary/online-exhibits/milestones{/number}","notifications_url":"https://api.github.com/repos/mlibrary/online-exhibits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlibrary/online-exhibits/labels{/name}","releases_url":"https://api.github.com/repos/mlibrary/online-exhibits/releases{/id}","deployments_url":"https://api.github.com/repos/mlibrary/online-exhibits/deployments","created_at":"2017-01-31T19:42:27Z","updated_at":"2018-02-12T15:39:52Z","pushed_at":"2018-02-16T15:09:38Z","git_url":"git://github.com/mlibrary/online-exhibits.git","ssh_url":"git@github.com:mlibrary/online-exhibits.git","clone_url":"https://github.com/mlibrary/online-exhibits.git","svn_url":"https://github.com/mlibrary/online-exhibits","homepage":"","size":43822,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":19,"watchers":1,"default_branch":"2.3.1"}},"_links":{"self":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136"},"html":{"href":"https://github.com/mlibrary/online-exhibits/pull/136"},"issue":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/issues/136"},"comments":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/mlibrary/online-exhibits/statuses/9b0b8919879a6434a09b78bb13e5e23a9a6f6bb1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nancymou"}}