| @@ 5-24 (lines=20) @@ | ||
| 2 | ||
| 3 | Loader::load('controller', 'site/DefaultPageController'); |
|
| 4 | ||
| 5 | final class HomeController extends DefaultPageController |
|
| 6 | { |
|
| 7 | ||
| 8 | protected function set_head_data() |
|
| 9 | { |
|
| 10 | $this->set_title("Jacob Emerick's Site Information | General and Technical Information"); |
|
| 11 | $this->set_description("Meta information about Jacob Emerick's websites and content. Introduces the man behind the code, discusses the reasons behind the sites, and goes into some technical background of the custom framework."); |
|
| 12 | $this->set_keywords(array('site', 'technical', 'support', 'help', 'information', 'Jacob Emerick')); |
|
| 13 | ||
| 14 | parent::set_head_data(); |
|
| 15 | } |
|
| 16 | ||
| 17 | protected function set_body_data() |
|
| 18 | { |
|
| 19 | $this->set_body('body_view', 'Home'); |
|
| 20 | ||
| 21 | parent::set_body_data(); |
|
| 22 | } |
|
| 23 | ||
| 24 | } |
|
| @@ 5-26 (lines=22) @@ | ||
| 2 | ||
| 3 | Loader::load('controller', 'site/DefaultPageController'); |
|
| 4 | ||
| 5 | final class TermsController extends DefaultPageController |
|
| 6 | { |
|
| 7 | ||
| 8 | protected function set_head_data() |
|
| 9 | { |
|
| 10 | $this->set_title("Terms of Use for Jacob Emerick's Sites"); |
|
| 11 | $this->set_description("Some basic (and boring) legal jargon and perferred usage of the content on Jacob Emerick's sites. Includes re-use terms and advice on retracing hikes."); |
|
| 12 | $this->set_keywords(array('terms of use', 'legal', 'accountability', 'trespassing', 'Jacob Emerick')); |
|
| 13 | ||
| 14 | parent::set_head_data(); |
|
| 15 | } |
|
| 16 | ||
| 17 | protected function set_body_data() |
|
| 18 | { |
|
| 19 | $this->set_body('top_data', array('title' => 'Terms of Use')); |
|
| 20 | ||
| 21 | $this->set_body('body_view', 'Terms'); |
|
| 22 | ||
| 23 | parent::set_body_data(); |
|
| 24 | } |
|
| 25 | ||
| 26 | } |
|
| 27 | ||
| @@ 5-28 (lines=24) @@ | ||
| 2 | ||
| 3 | Loader::load('controller', 'portfolio/DefaultPageController'); |
|
| 4 | ||
| 5 | class ProjectsController extends DefaultPageController |
|
| 6 | { |
|
| 7 | ||
| 8 | protected function set_head_data() |
|
| 9 | { |
|
| 10 | $this->set_title("Projects Page | Jacob Emerick's Portfolio"); |
|
| 11 | $this->set_description("Collection of key open-source projects that Jacob has developed and maintained over the years."); |
|
| 12 | $this->set_keywords([ |
|
| 13 | 'projects', |
|
| 14 | 'open source', |
|
| 15 | 'example work', |
|
| 16 | 'portfolio', |
|
| 17 | 'Jacob Emerick', |
|
| 18 | 'software development', |
|
| 19 | ]); |
|
| 20 | } |
|
| 21 | ||
| 22 | protected function set_body_data() |
|
| 23 | { |
|
| 24 | $this->set_body('body_view', 'Projects'); |
|
| 25 | ||
| 26 | parent::set_body_data(); |
|
| 27 | } |
|
| 28 | } |
|
| 29 | ||