perch_layout_var('title'); echo ' | Design and Development Work by Today I Should'; } else { perch_pages_title(); } ?> </title> <?php if (perch_layout_has('desc')) { ?> <meta name="description" content="Today I Should portfolio: <?php perch_layout_var('title'); echo " - "; perch_layout_var('desc'); ?> " /> <?php } else { perch_page_attributes(); } ?> <!--<meta name="description" content="We build websites that work. We work differently. We help you improve your online marketing with evidence, developing the website you need based on research, design, development and optimisation." />--> <link rel="icon" type="image/png" href="http://todayishould.com/favicons/favicon-16x16.png" /> <link rel="apple-touch-icon" sizes="57x57" href="http://todayishould.com/favicons/apple-touch-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="http://todayishould.com/favicons/apple-touch-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="http://todayishould.com/favicons/apple-touch-icon-72x72.png">
<?php if (perch_layout_has('analytics_id')) { ?> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '<?php perch_layout_var('analytics_id'); ?> ', 'auto'); ga('send', 'pageview'); </script> <?php } // if
<li><a href=""<?php if (perch_layout_var('activePage', true) == 'shop') { echo ' class="active"'; } ?> >Shop</a></li> <li><a href="http://tcs.dev/blog/index.php"<?php if (perch_layout_var('activePage', true) == 'blog') { echo ' class="active"'; } ?> >Blog</a></li> <li><a href="contact.php"<?php if (perch_layout_var('activePage', true) == 'contact') { echo ' class="active"'; } ?> >Contact</a></li> </ul> </nav> </div> <div class="five columns"> <form id="newsletter-subscribe" action="">
<li>Site By Ifnotwhynot</li> </ul> </div> </div> </div> </footer> </div> <!-- Feather should output below --> <?php $page = perch_layout_var('activePage', true); switch ($page) { case 'home': $opts = array('js' => array('/js/responsiveslides.min.js', '/js/responsiveslidesconfig.js')); break; default: $opts = NULL; break; } perch_get_javascript($opts); ?> </body> </html>
$domain = 'https://' . $_SERVER["HTTP_HOST"]; $url = $domain . $_SERVER["REQUEST_URI"]; // @todo-perch $site_name = '<Company Name>'; $twitter_name = ''; $og_image_default = '/images/open_graph.png'; PerchSystem::set_var('domain', $domain); PerchSystem::set_var('url', $url); PerchSystem::set_var('site_name', $site_name); PerchSystem::set_var('og_image_default', $og_image_default); PerchSystem::set_var('twitter_name', $twitter_name); ?> <!DOCTYPE html> <html lang="en" prefix="og: http://ogp.me/ns#"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php perch_layout_var('title'); ?> </title> <?php perch_page_attributes(); ?> <link href="<?php Common::version_file('/css/public.css'); ?> " rel="stylesheet"> </head>