mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-05 11:16:41 -07:00
Switched to SPF13 theme
This commit is contained in:
parent
dc8f68529f
commit
6425fec733
286 changed files with 3612 additions and 6951 deletions
42
layouts/partials/meta.html
Normal file
42
layouts/partials/meta.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
{{with .Description }}<meta name="description" content="{{ . }}">{{end}}
|
||||
<meta name="keywords" content="{{ if .Keywords }}{{ range .Keywords }}{{ . }}, {{ end }}{{else if isset .Params "tags" }}{{ range .Params.tags }}{{ . }}, {{ end }}{{end}}">
|
||||
|
||||
<!-- open graph -->
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:description" content="{{ .Description }}"/>
|
||||
<meta property="og:title" content="{{ .Title }} : softinio.com"/>
|
||||
<meta property="og:site_name" content="softinio is alar Rahmanian"/>
|
||||
<meta property="og:image" content="" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:width" content="" />
|
||||
<meta property="og:image:height" content="" />
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="article:published_time" content="{{ .Date.Format "2006-01-02" }}"/>
|
||||
<meta property="article:modified_time" content="{{ .Date.Format "2006-01-02" }}"/>
|
||||
|
||||
|
||||
{{if .Keywords }}
|
||||
{{ range .Keywords }}<meta property="article:tag" content="{{ . }}">
|
||||
{{ end }}
|
||||
{{else if isset .Params "tags" }}
|
||||
{{ range .Params.tags }}<meta property="article:tag" content="{{ . }}">
|
||||
{{ end }}
|
||||
{{end}}
|
||||
|
||||
<!--Twitter Cards-->
|
||||
<meta name="twitter:card" content="summary">
|
||||
<!--<meta name="twitter:card" content="summary_large_image">-->
|
||||
<meta name="twitter:site" content="@SalarRahmanian">
|
||||
<meta name="twitter:title" content="{{ .Title }} : www.softinio.com">
|
||||
<meta name="twitter:creator" content="@SalarRahmanian">
|
||||
<meta name="twitter:description" content="{{ .Description }}">
|
||||
<meta name="twitter:image:src" content="">
|
||||
<meta name="twitter:domain" content="www.softinio.com">
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue