initial commit
This commit is contained in:
commit
f92932b947
44 changed files with 851 additions and 0 deletions
22
layouts/partials/site_header.html
Normal file
22
layouts/partials/site_header.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="author" content="{{ with .Site.Author.FirstName }}{{ . }}{{ end }}">
|
||||
<meta name="description" content="{{ with .Site.Params.Description }}{{ . }}{{ end }}">
|
||||
{{ .Hugo.Generator }}
|
||||
|
||||
{{ $.Scratch.Add "title" .Site.Title }}
|
||||
<title>{{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/weblog.css" media="screen" charset="utf-8" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/lightgallery.min.css" type="text/css" />
|
||||
{{ partial "custom_stylesheets.html" . }}
|
||||
|
||||
{{ if .Site.Params.RSSEnabled }}
|
||||
<link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
</head>
|
||||
<body class="site">
|
Loading…
Add table
Add a link
Reference in a new issue