Skip to content

Commit

Permalink
Merge branch 'master' into Mrt134-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
micjohnson777 authored Aug 16, 2024
2 parents 4d7bb7f + 09a48dc commit 1825fa9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions layouts/partials/reading-time.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<!-- Add reading time estimate to articles along with last modified date and hash pulled from GitHub -->
<div class="docs-read_mod">
<p class="reading-time" style="margin:0;"><i class="fa fa-clock-o" aria-hidden="true"></i>&nbsp; {{ .ReadingTime }} minute read.</p>

{{ with .GitInfo }}<a class="reading-time" style="flex-grow:100;text-align:right;" title="{{ .Subject }} ({{ .AbbreviatedHash }})" href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">{{ end }}Last Modified {{ .Lastmod.Format "2006-01-02 15:04 MST" }}</a>
<div class="docs-read_mod" style="display: flex; justify-content: space-between; align-items: center;">
<p class="reading-time" style="margin:0;"><i class="fa fa-clock-o" aria-hidden="true"></i>&nbsp; {{ .ReadingTime }} minute read.</p>

<div style="text-align:right;">
{{ with .GitInfo }}
<a class="reading-time" title="{{ .Subject }} ({{ .AbbreviatedHash }})" href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
{{ end }}Last Modified {{ .Lastmod.Format "2006-01-02 15:04 MST" }}</a>
</div>
</div>

0 comments on commit 1825fa9

Please sign in to comment.