diff options
author | Luiz F. A. de Prá <rawarkanis@gmail.com> | 2018-02-28 22:38:59 -0300 |
---|---|---|
committer | Luiz F. A. de Prá <rawarkanis@gmail.com> | 2018-02-28 22:38:59 -0300 |
commit | 4db982bb015eddb624e4c7f5776596b166dbaae5 (patch) | |
tree | 7c54044af415f43f3f2ecb2dc44ec01628e31893 /layouts/_default | |
download | hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.tar.gz hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.tar.bz2 hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.zip |
Initial files
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 44 | ||||
-rw-r--r-- | layouts/_default/list.html | 6 | ||||
-rw-r--r-- | layouts/_default/single.html | 6 |
3 files changed, 56 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..94d09a6 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} + {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }} + {{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }} + + <base href="{{ .Site.BaseURL }}"> + <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title> + + <link rel="canonical" href="{{ .Permalink }}"> + + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:400,700"> + <link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css"> + <link rel="stylesheet" href="{{ "css/style.min.css" | absURL }}"> + + <link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32"> + <link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16"> + + {{ if .RSSLink }} + <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> + {{ end }} + + {{ .Hugo.Generator }} + </head> + + <body> + <main class="wrapper"> + {{ partial "header.html" . }} + + <div class="content"> + {{ block "content" . }}{{ end }} + </div> + + {{ partial "footer.html" . }} + </main> + </body> + +</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..0a18678 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,6 @@ +{{ define "title" }} + {{ .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} + {{ partial "list.html" . }} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..93ec22c --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ define "title" }} + {{ .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} + {{ partial "page.html" . }} +{{ end }} |