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

Fix single article and "More →" link footer

This commit is contained in:
Daniel Barber 2019-10-17 09:00:42 -04:00
parent 3bdaf82b1d
commit d64a4a64cf
2 changed files with 9 additions and 5 deletions

View File

@ -1,9 +1,11 @@
{{ define "main" }}
<article class="post">
<article class="post outer">
<header>
<h2 class="post__title">{{.Title}}</h2>
<div class="container">
<h2 class="post__title">{{.Title}}</h2>
<p class="post__date">{{.Date.Format "Jan 2, 2006"}}</p>
<p class="post__date">{{.Date.Format "Jan 2, 2006"}}</p>
</div>
</header>
{{.Content}}

View File

@ -37,8 +37,10 @@
{{ partial "blog_post_summary.html" . }}
{{ end }}
<footer class="container home__more">
<p><a href="/blog">More →</a></p>
<footer class="home__more outer">
<div class="container">
<p><a href="/blog">More →</a></p>
</div>
</footer>
</article>
</section>