feat: initial implementation

This commit is contained in:
Vivek R
2019-04-10 02:29:17 +05:30
commit 0acbe2865d
15 changed files with 487 additions and 0 deletions

View 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>

View 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>

View 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>