Skip to content

Commit

Permalink
Try to fix date
Browse files Browse the repository at this point in the history
  • Loading branch information
cmahnke committed Jun 9, 2024
1 parent bbd920e commit fc3ed9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/scss/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,10 @@ p.small {
}

.widget {
&>h6 {
font-weight: bold
font-size: large;
}

a,
h6 {
Expand Down
3 changes: 3 additions & 0 deletions layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ <h6 class="mb-4">{{ i18n "latestPosts" }}</h6>
</div>
<div class="media-body">
<ul class="list-inline d-flex justify-content-between mb-2">
{{/*
<li class="list-inline-item">{{ i18n "postedOn" }} {{- partial "date.html" (dict "date" .Date "language" $.Page.Language "months" $.Site.Data.months) -}}</li>
*/}}
<li class="list-inline-item">{{ i18n "postedOn" }} {{ .Date | time.Format ":date_full" -}}</li>
</ul>
<h6><a class="text-dark" href="{{ .Permalink }}">{{.Title}}</a></h6>
</div>
Expand Down

0 comments on commit fc3ed9e

Please sign in to comment.