1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Compare commits

...

3 Commits

35 changed files with 37 additions and 36 deletions

View File

@ -1,14 +1,14 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
{{ partial "head.html" }} {{ partial "head.html" . }}
</head> </head>
<body> <body>
{{ partial "header.html" }} {{ partial "header.html" . }}
<main class="container"> <main class="container">
{{ block "main" . }} {{ block "main" . }}
{{ end }} {{ end }}
</main> </main>
{{ partial "footer.html" }} {{ partial "footer.html" . }}
</body> </body>
</html> </html>

View File

@ -1,4 +1,5 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> <title>
{{ block "title" . }} {{ block "title" . }}
{{ .Site.Title }} {{ .Site.Title }}

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<section class="blog-posts"> <section class="blog-posts">
{{ range .Pages }} {{ range .Pages }}
<article> <article class="post">
<h3><a href="{{.Permalink}}">{{.Title}}</a></h3> <h3><a href="{{.Permalink}}">{{.Title}}</a></h3>
<p>{{.Summary}}</p> <p>{{.Summary}}</p>
</article> </article>