68 lines
3.3 KiB
Plaintext
68 lines
3.3 KiB
Plaintext
- var language = current.path[1]
|
|
- var version = ''
|
|
- var section = ''
|
|
|
|
if current.path[2]
|
|
- var version = current.path[2].replace(/\_+/gm, ".")
|
|
|
|
if current.path[3]
|
|
- var section = current.path[3].toUpperCase()
|
|
|
|
|
|
if language == 'js'
|
|
if language == 'dart'
|
|
|
|
if title == "Angular"
|
|
title #{title}
|
|
else if section
|
|
title #{title} - #{language} - #{section}
|
|
else if language
|
|
title #{title} - #{language}
|
|
else
|
|
title #{title} - Angular
|
|
|
|
meta(charset="utf-8")
|
|
meta(http-equiv="X-UA-Compatible" content="IE=edge")
|
|
meta(name="description" content="#{description}")
|
|
meta(name="keywords" content="#{keywords}")
|
|
meta(name="robots" content="all")
|
|
meta(name="referrer" content="origin")
|
|
meta(name="viewport" id="viewport" content="width=device-width, initial-scale=1")
|
|
|
|
meta(property="og:title" content="Angular")
|
|
meta(property="og:image" content="/resources/images/logos/standard/shield-large.png")
|
|
meta(property="og:image:type" content="image/png")
|
|
meta(property="og:image:width" content="184")
|
|
meta(property="og:image:height" content="200")
|
|
meta(property="og:description" content="#{description}")
|
|
|
|
meta(itemprop="name" content="Angular")
|
|
meta(itemprop="description" content="#{description}")
|
|
meta(itemprop="image" content="/resources/images/logos/standard/shield-large.png")
|
|
|
|
link(rel="icon" type="image/x-icon" href="/resources/images/icons/favicon.ico")
|
|
link(rel="stylesheet" href="/resources/css/vendor/angular-material.min.css")
|
|
link(href="/resources/fonts/vendor/roboto.css" rel='stylesheet' type='text/css')
|
|
link(href="/resources/fonts/vendor/material-icons.css" rel="stylesheet")
|
|
link(rel="stylesheet" href="/resources/css/vendor/icomoon/style.css")
|
|
link(rel="stylesheet" href="/resources/css/vendor/animate.css")
|
|
link(rel="stylesheet" href="/resources/css/main.css")
|
|
|
|
<!-- MOBILE ICONS -->
|
|
<link rel="apple-touch-icon" sizes="57x57" href="/resources/images/favicons/apple-touch-icon-57x57.png">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="/resources/images/favicons/apple-touch-icon-60x60.png">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/resources/images/favicons/apple-touch-icon-72x72.png">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/resources/images/favicons/apple-touch-icon-76x76.png">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/resources/images/favicons/apple-touch-icon-114x114.png">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="/resources/images/favicons/apple-touch-icon-120x120.png">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/resources/images/favicons/apple-touch-icon-144x144.png">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/resources/images/favicons/apple-touch-icon-152x152.png">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/resources/images/favicons/apple-touch-icon-180x180.png">
|
|
|
|
<link rel="icon" type="image/png" href="/resources/images/favicons/favicon-32x32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="/resources/images/favicons/favicon-194x194.png" sizes="194x194">
|
|
<link rel="icon" type="image/png" href="/resources/images/favicons/favicon-96x96.png" sizes="96x96">
|
|
<link rel="icon" type="image/png" href="/resources/images/favicons/android-chrome-192x192.png" sizes="192x192">
|
|
<link rel="icon" type="image/png" href="/resources/images/favicons/favicon-16x16.png" sizes="16x16">
|
|
<link rel="manifest" href="/resources/images/favicons/manifest.json">
|