gabrielgio.me @ 9cadb6dcbb90e04f09653f1dfdce38cc9d1502d9

  1<!-- SEO !-->
  2
  3<meta property="og:title" content="{{ .Title }} | {{  .Site.Params.description  }}" />
  4<meta name="twitter:title" content="{{ .Title }} | {{  .Site.Params.description  }}" />
  5<meta itemprop="name" content="{{ .Title }} | {{  .Site.Params.description  }}" />
  6<meta name="application-name" content="{{ .Title }} | {{  .Site.Params.description  }}" />
  7<meta property="og:site_name" content="{{ .Site.Params.sitename }}" />
  8
  9<meta name="description" content="{{ .Site.Params.description }}" />
 10<meta itemprop="description" content="{{ .Site.Params.description }}" />
 11<meta property="og:description" content="{{ .Site.Params.description }}" />
 12<meta name="twitter:description" content="{{ .Site.Params.description }}" />
 13
 14<base href="{{ .Permalink }}">
 15<link rel="canonical" href="{{ .Permalink }}" itemprop="url" />
 16<meta name="url" content="{{ .Permalink }}" />
 17<meta name="twitter:url" content="{{ .Permalink }}" />
 18<meta property="og:url" content="{{ .Permalink }}" />
 19
 20<!-- mrprofessor -->
 21<meta property="og:article:author" content="mrprofessor" />
 22<meta property="article:author" content="mrprofessor" />
 23<meta name="author" content="mrprofessor" />
 24
 25
 26<meta property="og:locale" content="{{ .Language.Lang }}">
 27<meta name="language" content="{{ .Language.LanguageName }}">
 28{{ range .AllTranslations }}
 29    <link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
 30 {{ end }}
 31
 32
 33<meta property="og:updated_time" content={{ .Lastmod.Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
 34
 35<!-- Sitemap & RSS Feed Tags -->
 36<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ .Site.BaseURL }}sitemap.xml" />
 37
 38<!-- FIXME -->
 39{{ with .OutputFormats.Get "RSS" }}
 40    <link href="{{ .Permalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
 41    <link href="{{ .Permalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
 42{{ end }}
 43
 44
 45<!-- Pagination meta tags for list pages only -->
 46<!-- To make sure this renders only in the article page, we check the section -->
 47{{ if eq .Section "posts" }}
 48
 49<meta property="og:type" content="article" />
 50<meta property="article:publisher" content="{{ .Site.Params.github }}" />
 51<meta property="og:article:published_time" content={{ .Date.Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
 52<meta property="article:published_time" content={{ .Date.Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
 53
 54{{ with .Site.Params.author }}
 55    <meta property="og:article:author" content="{{humanize . }}" />
 56    <meta property="article:author" content="{{humanize . }}" />
 57    <meta name="author" content="{{humanize . }}" />
 58{{ end }}
 59
 60<!-- FIXME -->
 61{{ with .Site.Params.category }}
 62    <meta name="news_keywords" content="{{ index . 0 }}" />
 63    <meta property="article:section" content="{{ index . 0 }}" />
 64{{ end }}
 65
 66  <script defer type="application/ld+json">
 67    {
 68      "@context": "http://schema.org",
 69      "@type": "Article",
 70      "headline": {{ .Title }},
 71      "author": {
 72        "@type": "Person",
 73        "name": "{{ .Site.Params.github }}"
 74      },
 75      "datePublished": "{{ .Date.Format "2006-01-02" }}",
 76      "description": {{ .Description }},
 77      "wordCount": {{ .WordCount }},
 78      "mainEntityOfPage": "True",
 79      "dateModified": "{{ .Lastmod.Format "2006-01-02" }}",
 80      "image": {
 81        "@type": "imageObject",
 82        "url": "{{ with .Params.image }}{{ .Permalink }}{{ end }}"
 83      },
 84      "publisher": {
 85        "@type": "Organization",
 86        "name": "{{ .Site.Title }}",
 87        "logo": {
 88          "@type": "imageObject",
 89          "url": "https://rudra.dev/images/favicon.ico"
 90        }
 91      }
 92    }
 93  </script>
 94{{ end }}
 95
 96 
 97{{ if eq .Section "about" }}
 98<!-- Pagination meta tags for list pages only -->
 99<meta property="og:type" content="website" />
100<meta name="author" content="{{ .Site.Params.author }}" />
101<script defer type="application/ld+json">
102  {
103    "@context": "http://schema.org",
104    "@type": "WebSite",
105    "url": "{{ .Permalink }}",
106    "sameAs": [
107      "{{ .Site.Params.twitter }}",
108      "{{ .Site.Params.github }}"
109    ],
110    "name": "{{ .Title }}",
111    "logo": "https://rudra.dev/images/favicon.ico"
112      // "fdf": '{{ path.Join .Site.BaseURL .Site.Params.favicon }}'
113  }
114</script>
115{{ end }}
116
117
118<!-- Search Engine Crawler Tags -->
119<meta name="robots" content="index,follow" />
120<meta name="googlebot" content="index,follow" />
121
122<!-- Specific Social Media Tags -->
123<meta name="twitter:site" content="{{ .Site.Params.twitter }}">
124<meta name="twitter:creator" content="{{ .Site.Params.twitter }}" />
125
126
127<!--            -->
128<!-- Other Tags -->
129<!--            -->
130
131<!-- Manifest File -->
132<!-- FIXME -->
133<!--<link rel="manifest" href="{{ .Site.BaseURL }}manifest.json" />-->
134
135<!-- Theme Color -->
136<meta name="theme-color" content="#141414" />
137<meta name="msapplication-TileColor" content="#141414" />
138
139<meta name="keywords" content="" />
140<meta name="imagemode" content="force" />
141<meta name="coverage" content="Worldwide" />
142<meta name="distribution" content="Global" />
143<meta name="HandheldFriendly" content="True" />
144<meta name="msapplication-tap-highlight" content="no" />
145<meta name="apple-mobile-web-app-title" content="{{ .Site.Params.sitename }}" />
146<meta name="apple-mobile-web-app-capable" content="yes" />
147<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
148<meta name="apple-touch-fullscreen" content="yes" />