fix: fix post metadata positioning (#315)
This commit is contained in:
parent
134a50faf2
commit
30d3c64c41
7 changed files with 39 additions and 28 deletions
|
@ -21,7 +21,9 @@
|
|||
</div>
|
||||
|
||||
<footer class="gdoc-post__footer">
|
||||
{{ partial "posts/metadata.html" . }}
|
||||
<div class="flex flex-wrap align-center gdoc-post__meta">
|
||||
{{ partial "posts/metadata.html" . }}
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<article class="gdoc-markdown gdoc-post">
|
||||
<article class="gdoc-post">
|
||||
<header class="gdoc-post__header">
|
||||
<h1 class="gdoc-post__title">{{ .Title }}</h1>
|
||||
<div class="gdoc-post__meta">
|
||||
<div class="flex flex-wrap align-center gdoc-post__meta gdoc-post__meta--head">
|
||||
{{ partial "posts/metadata.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
<div>
|
||||
<section class="gdoc-markdown">
|
||||
{{ partial "content" . }}
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue