Publishes the first thought with some style cleanups and new footer meta

This commit is contained in:
Andrew Gioia 2020-08-18 10:41:28 -04:00
parent d393aeb694
commit 5a18823795
5 changed files with 32 additions and 5 deletions

View File

@ -94,6 +94,9 @@
padding-bottom: 0.5vmax;
}
}
footer section {
flex-direction: column;
}
#toc {
display: none;
}

View File

@ -413,17 +413,24 @@ footer {
// bottom content, should be footer
section {
align-items: center;
align-self: stretch;
display: flex;
justify-content: center;
margin-top: 5vmax;
position: relative;
&:not(:first-child) {
margin-top: 1vmax;
}
span {
margin-left: 0.5vmax;
}
&.pb {
padding-bottom: 2vmax;
}
}
}

View File

@ -19,8 +19,8 @@
</main>
<footer class="border">
<section class="border">
Last edited {{ .Lastmod }}
<section class="pb">
Last edited on {{ .Lastmod.Format "January 2, 2006" }}.
</section>
</footer>

View File

@ -21,11 +21,22 @@
</article>
</main>
<footer id="byline" class="border">
<section>
<i class="icon icon-feather"></i>&nbsp;
<section class="post">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="24" height="24" viewBox="0 0 24 24" stroke="var(--text-color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z" />
<line x1="16" y1="8" x2="2" y2="22" />
<line x1="17.5" y1="15" x2="9" y2="15" />
</svg>
<span>Written by {{ .Params.author }}</span>
<span>on {{ .PublishDate.Format "January 2, 2006" }}.</span>
</section>
<section class="post">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="24" height="24" viewBox="0 0 24 24" stroke="var(--text-color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />
<path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" />
</svg>
<span>Last edited on {{ .Lastmod.Format "January 2, 2006" }}.</span>
</section>
{{ with (.Params.tags) }}
<ul id="tags" class="tags">

View File

@ -72,4 +72,10 @@
</article>
</main>
<footer class="border">
<section class="pb">
Last edited on {{ .Lastmod.Format "January 2, 2006" }}.
</section>
</footer>
{{ end }}