Start making the layout look like the old site
This commit is contained in:
parent
2aae302793
commit
d1ad723a22
|
@ -3,9 +3,9 @@
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body>
|
<body>
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<div id="content">
|
<main class="container">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
</div>
|
</main>
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
|
@ -0,0 +1,7 @@
|
||||||
|
<head>
|
||||||
|
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify }}
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Inconsolata|Lora|Raleway" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
|
||||||
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/default.js"></script>
|
||||||
|
</head>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<div class="container">
|
||||||
|
<h1>Daniel's Blog</h1>
|
||||||
|
</div>
|
||||||
|
<nav>
|
||||||
|
<div class="container">
|
||||||
|
<a href="/">Home</a>
|
||||||
|
<a href="https://github.com/DanilaFe">GitHub</a>
|
||||||
|
<a href="/about">About</a>
|
||||||
|
<a href="/tags">Tags</a>
|
||||||
|
<a href="/archive">Archive</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
Loading…
Reference in New Issue
Block a user