mirror of
https://github.com/fruworg/themu.git
synced 2025-08-10 11:36:48 +03:00
/>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<head lang="{{ .Site.Language.Lang }}">
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
{{- $title := ( .Title ) -}}
|
||||
{{- $siteTitle := ( .Site.Title ) -}}
|
||||
{{- if .IsHome -}}
|
||||
@@ -13,9 +13,10 @@
|
||||
<link rel="icon" type="image/png" href={{ .Site.BaseURL }}{{ .Site.Params.favicon }} />
|
||||
{{- end -}}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.og_image }}"/>
|
||||
<meta prefix="og: http://ogp.me/ns#" />
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.og_image }}" />
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
@@ -30,7 +31,7 @@
|
||||
{{- if isset .Site.Params "customcss" }}
|
||||
{{ range .Site.Params.customCSS }}
|
||||
{{ $customstyle := resources.Get . | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $customstyle.Permalink }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ $customstyle.Permalink }}" />
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- range .Site.Params.customJS }}
|
||||
|
Reference in New Issue
Block a user