Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PD-1298 port to 24.04 #2983

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading