feat: initial implementation
This commit is contained in:
5
layouts/partials/footer.html
Normal file
5
layouts/partials/footer.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="footer wrapper">
|
||||
<nav class="nav">
|
||||
<div><a href="https://github.com/vividvilla/ezhil">Ezhil theme</a> | Built with <a href="gohugo.io">Hugo</a></div>
|
||||
</nav>
|
||||
</div>
|
14
layouts/partials/head.html
Normal file
14
layouts/partials/head.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="header">
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<h2>{{ .Site.Params.TitleTag | markdownify }}</h2>
|
||||
|
||||
<nav class="nav">
|
||||
<ul class="flat">
|
||||
{{ range $index, $key := .Site.Params.Nav }}
|
||||
<li>
|
||||
<a href="{{ $key.link }}">{{ $key.name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
20
layouts/partials/header.html
Normal file
20
layouts/partials/header.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
{{- $title := ( .Title ) -}}
|
||||
{{- $siteTitle := ( .Site.Title ) -}}
|
||||
|
||||
{{- if .IsHome -}}
|
||||
<title>{{ $siteTitle }}</title>
|
||||
{{- else -}}
|
||||
<title>{{ $title }} - {{ $siteTitle }}</title>
|
||||
{{- end -}}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,300italic,400italic|Raleway:500,100,300" rel="stylesheet">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/css/normalize.css" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/css/main.css" />
|
||||
<script src="main.js"></script>
|
||||
</head>
|
Reference in New Issue
Block a user