Browse Source

match current styling & order better

Alexander Avery 4 months ago
parent
commit
d41a76cfa2
  1. 2
      assets/sass/cards.scss
  2. 8
      layouts/partials/article.html

2
assets/sass/cards.scss

@ -33,7 +33,7 @@ article {
}
div {
margin: auto 16px;
margin: 25px;
display: flex;
flex-direction: column;
justify-content: space-between;

8
layouts/partials/article.html

@ -7,16 +7,16 @@
<div>
{{ with index (.GetTerms "tags") 0 }}
<a class="small-text" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
{{ end }}
<h2 class="title">{{ .Title | markdownify }}</h2>
{{ with .Date }}
<p>{{ .Format "2006/01/02" }}</p>
{{ end }}
{{ with index (.GetTerms "tags") 0 }}
<a class="small-text" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
{{ end }}
</div>
</article>

Loading…
Cancel
Save