Use base16 theme with initial modifications
- set footer definitively at bottom and max width - removed nav. bar - changed title to name - cleared homepage - set Hack font
This commit is contained in:
36
layouts/partials/header.html
Normal file
36
layouts/partials/header.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="{{ if eq .Description "" }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
|
||||
{{- with $.Param "keywords" }}
|
||||
<meta name="keywords" content="{{ delimit . "," }}">
|
||||
{{- end }}
|
||||
{{- with $.Param "author" }}
|
||||
<meta name="author" content="{{ . }}">
|
||||
{{- end }}
|
||||
{{ .Hugo.Generator }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css"> -->
|
||||
<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/hack-font@3.3.0/build/web/hack-subset.css'>
|
||||
<!-- <link rel="stylesheet" href="https://meyerweb.com/eric/tools/css/reset/reset.css" type="text/css" media="all" /> -->
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}" type="text/css">
|
||||
<link rel="alternate" href="{{ "index.xml" | relURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||
<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- <header>
|
||||
<div class="container clearfix">
|
||||
<a class="path" href="{{ .Site.BaseURL }}">[{{ .Site.Title }}]</a>
|
||||
<span class="caret"># _</span>
|
||||
<div class="right">
|
||||
{{ range $i, $page := (where .Site.Pages "Section" "pages") }}
|
||||
{{ if not (eq $i 0) }}|{{ end }}
|
||||
<a class="path" href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</header> -->
|
||||
|
||||
<div class="container">
|
||||
Reference in New Issue
Block a user