Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uicardiodev/hugo-lime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..e2238e5
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en-US">
+ <head>
+ <title>
+ {{ .Title }} {{ if ne .Title .Site.Title }} &middot; {{ .Site.Title }}{{ end }}
+ </title>
+ <meta charset="utf-8">
+ <link rel="canonical" href="{{ .Permalink }}">
+ <meta name="robots" content="index,follow" />
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link href="https://fonts.googleapis.com/css?family=Gothic+A1:700" rel="stylesheet">
+ <link href="{{ "favicon.png" | absURL }}" rel="icon" />
+
+ <!-- og -->
+ <meta name="og:title" content="{{ .Title }}"/>
+ <meta name="og:url" content="{{ .Permalink }}"/>
+ {{ if .Params.featuredimage }}
+ <meta name="og:image" content="{{ .Params.featuredimage | absURL}}"/>
+ {{ end }}
+ {{ if .Params.description }}
+ <meta name="og:description" content="{{ .Params.description }}"/>
+ {{ end }}
+ <meta name="og:site_name" content="{{ .Site.Title }}"/>
+
+
+ <!-- including bootstrap -->
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
+ <!-- <link rel="stylesheet" type="text/css" href="{{.Site.BaseURL}}css/style.css"> -->
+ {{ $sass := resources.Get "/scss/bootstrap.scss" }}
+ {{ $style := $sass | resources.ToCSS | resources.Minify}}
+ <link rel="stylesheet" href="{{ $style.Permalink }}">
+ </head>
+ <body>
+