diff options
author | Oscar Najera <hi@oscarnajera.com> | 2024-12-28 16:13:26 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2024-12-28 16:13:26 +0100 |
commit | 00955349164d98747ccc0fdc01b74b51868991b6 (patch) | |
tree | 2d79706c06feeb813a29eb7eb3bffe00b16ce215 /layouts | |
parent | 5d1bf2955b2fec10fddc3e7f4515a9f9d88b4717 (diff) | |
download | hugo-minimalist-theme-00955349164d98747ccc0fdc01b74b51868991b6.tar.gz hugo-minimalist-theme-00955349164d98747ccc0fdc01b74b51868991b6.tar.bz2 hugo-minimalist-theme-00955349164d98747ccc0fdc01b74b51868991b6.zip |
term list
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/taxonomy/terms.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html index f2c0895..30ae287 100644 --- a/layouts/taxonomy/terms.html +++ b/layouts/taxonomy/terms.html @@ -29,18 +29,18 @@ {{ .Name }} ({{ .Pages | len }}) </a> </h4> - <ul class="list ph5"> + <ul class="list"> {{ range .Pages.ByDate }} - <li class="lh-copy stripe-dark ph1 pv2"> - {{ $dateFormat := .Site.Params.dateFormat | default ":date_medium" }} - <time - datetime="{{ .Date.Format "2006-01-02" }}" - class="f6 fw3 fr ml2" - > - <i class="far fa-calendar"></i> - {{ time.Format $dateFormat .Date }} - </time> - <a class="link dim color-inherit" href="{{ .RelPermalink }}"> + <li class="lh-copy grow stripe-dark pa2"> + <a class="link dim color-inherit db" href="{{ .RelPermalink }}"> + {{ $dateFormat := .Site.Params.dateFormat | default ":date_medium" }} + <time + datetime="{{ .Date.Format "2006-01-02" }}" + class="f6 fw3 fr ml2" + > + <i class="far fa-calendar"></i> + {{ time.Format $dateFormat .Date }} + </time> {{ .Title }} </a> </li> |