github.com/google/cloudprober@v0.11.3/docs/themes/hugo-material-docs/layouts/partials/head.html (about) 1 <!DOCTYPE html> 2 <!--[if lt IE 7 ]><html class="no-js ie6"><![endif]--> 3 <!--[if IE 7 ]><html class="no-js ie7"><![endif]--> 4 <!--[if IE 8 ]><html class="no-js ie8"><![endif]--> 5 <!--[if IE 9 ]><html class="no-js ie9"><![endif]--> 6 <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]--> 7 8 <head {{ with .Site.LanguageCode }}lang="{{ . }}"{{ end }}> 9 <meta charset="utf-8"> 10 <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> 11 <meta http-equiv="X-UA-Compatible" content="IE=10" /> 12 <title>{{ .Title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }}</title> 13 {{ .Hugo.Generator }} 14 15 {{ with .Site.Params.description }} 16 <meta name="description" content="{{ . }}"> 17 {{ end }} 18 <link rel="canonical" href="{{ .Permalink }}"> 19 {{ with .Site.Params.author }} 20 <meta name="author" content="{{ . }}"> 21 {{ end }} 22 23 <meta property="og:url" content="{{ .Permalink }}"> 24 {{ with .Site.Title }}<meta property="og:title" content="{{ . }}">{{ end }} 25 {{ with .Site.Params.logo }}<meta property="og:image" content="{{ . | absURL }}">{{ end }} 26 {{ with .Site.Title }}<meta name="apple-mobile-web-app-title" content="{{ . }}">{{ end }} 27 <meta name="apple-mobile-web-app-capable" content="yes"> 28 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> 29 30 <link rel="shortcut icon" type="image/x-icon" href="{{ with .Site.Params.favicon }}{{ . | absURL }}{{ else }}{{ "images/favicon.ico" | absURL }}{{ end }}"> 31 <link rel="icon" type="image/x-icon" href="{{ with .Site.Params.favicon }}{{ . | absURL }}{{ else }}{{ "images/favicon.ico" | absURL }}{{ end }}"> 32 33 <style> 34 @font-face { 35 font-family: 'Icon'; 36 src: url('{{ "fonts/icon.eot?52m981" | absURL }}'); 37 src: url('{{ "fonts/icon.eot?#iefix52m981" | absURL }}') 38 format('embedded-opentype'), 39 url('{{ "fonts/icon.woff?52m981" | absURL }}') 40 format('woff'), 41 url('{{ "fonts/icon.ttf?52m981" | absURL }}') 42 format('truetype'), 43 url('{{ "fonts/icon.svg?52m981#icon" | absURL }}') 44 format('svg'); 45 font-weight: normal; 46 font-style: normal; 47 } 48 </style> 49 50 <link rel="stylesheet" href="{{ "stylesheets/application.css" | absURL }}"> 51 <link rel="stylesheet" href="{{ "stylesheets/temporary.css" | absURL }}"> 52 <link rel="stylesheet" href="{{ "stylesheets/palettes.css" | absURL }}"> 53 <link rel="stylesheet" href="{{ "stylesheets/syntax.css" | absURL }}"> 54 55 {{/* set default values if no custom ones are defined */}} 56 {{ $text := or .Site.Params.font.text "Roboto" }} 57 {{ $code := or .Site.Params.font.code "Roboto Mono" }} 58 <link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ $text }}:400,700|{{ replace $code " " "+" | safeURL }}"> 59 <style> 60 body, input { 61 font-family: '{{ $text }}', Helvetica, Arial, sans-serif; 62 } 63 pre, code { 64 font-family: '{{ $code }}', 'Courier New', 'Courier', monospace; 65 } 66 </style> 67 68 {{ range .Site.Params.custom_css }} 69 <link rel="stylesheet" href="{{ . | absURL }}"> 70 {{ end }} 71 <script src="{{ "javascripts/modernizr.js" | absURL }}"></script> 72 73 {{ with .RSSLink }} 74 <link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" /> 75 <link href="{{ . }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" /> 76 {{ end }} 77 78 </head> 79 <body class="{{ with .Site.Params.palette.primary }}palette-primary-{{ . }}{{end }} {{ with .Site.Params.palette.accent }}palette-accent-{{ . }}{{ end }}">