public function OnCloseHead() { $css_mobile = $this->css_root . "/css/mobile.{$this->css_version}.css"; $css_medium = $this->css_root . "/css/medium.{$this->css_version}.css"; $css_desktop = $this->css_root .= "/css/stoolball.{$this->css_version}.css"; ?> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="canonical" href="https://<?php echo $this->GetSettings()->GetDomain() . htmlspecialchars($_SERVER["REQUEST_URI"]); ?> " /> <link rel="stylesheet" href="<?php echo $css_mobile; ?> " /> <link rel="stylesheet" href="<?php echo $css_medium; ?> " media="only screen and (min-width: 500px)" class="mqMedium" /> <link rel="stylesheet" href="<?php echo $css_desktop; ?> " media="only screen and (min-width: 900px)" class="mqLarge" /> <!--[if (lte IE 8) & !(IEMobile 7) ]><link rel="stylesheet" href="<?php echo $css_medium; ?> " class="mqIE mqMedium" /><![endif]--> <!--[if (lte IE 8) & !(IEMobile 7) ]><link rel="stylesheet" href="<?php echo $css_desktop; ?> " class="mqIE mqLarge" /><![endif]--> <link rel="start" href="/" title="Go to home page" /> <link rel="shortcut icon" href="<?php echo $this->resource_root; ?> /favicon.ico" /> <meta property="og:type" content="<?php echo htmlentities($this->GetOpenGraphType(), ENT_QUOTES, "UTF-8", false); ?> " /> <meta property="og:url" content="<?php echo htmlentities("https://" . $this->GetSettings()->GetDomain() . $_SERVER['REQUEST_URI'], ENT_QUOTES, "UTF-8", false); ?> " /> <meta property="og:image" content="<?php echo $this->resource_root; ?> /images/features/facebook-ident.png" /> <meta property="og:site_name" content="Stoolball England" /> <meta property="fb:app_id" content="259918514021950" /> <meta name="twitter:site" content="@stoolball" /> <script src="<?php echo $this->resource_root; ?> /scripts/lib/modernizr.js"></script> <link rel="search" href="/search/" title="Go to Stoolball England\'s search page" /> <link href='https://fonts.googleapis.com/css?family=Passion+One' rel='stylesheet' type='text/css' /> <?php parent::OnCloseHead(); }