Browse Source

fix author term card

Alexander Avery 3 months ago
parent
commit
e51864d265
  1. 4
      assets/sass/main.scss
  2. 2
      layouts/partials/article-alternate.html

4
assets/sass/main.scss

@ -113,6 +113,10 @@ img.featured {
align-items: end;
}
.align-center {
align-items: center;
}
section {
max-width: 1000px;
margin: 16px auto;

2
layouts/partials/article-alternate.html

@ -1,5 +1,5 @@
<a href={{ printf "/%s/%s" "authors" (.Params.name | urlize) }}>
<article class="alternate shadow left-to-right float-on-hover">
<article class="shadow left-to-right float-on-hover align-center">
<div>
{{ with .Resources.GetMatch "avatar" }}
<img class="shadow small-circle" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/>

Loading…
Cancel
Save