Skip to content

Commit

Permalink
Merge pull request #617 from zachlasiuk/main
Browse files Browse the repository at this point in the history
Template: fixed install guide erroneous last modified date recording
  • Loading branch information
pareenaverma authored Dec 1, 2023
2 parents 06559a2 + 02a8faa commit 9efd2e7
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ <h2 id="about-marker">About this {{$table_name}}</h2>
Last updated:
</td>
<td id="last-updated" class="td-metadata-value">
<span><i class="fa-light fa-calendar-days fa-sm"></i></span>&nbsp; {{partial "server-side-processing/update-update-time.html" .}}
<span><i class="fa-light fa-calendar-days fa-sm"></i></span>&nbsp;
{{/* If learning path, obtain last modified date from any LP file; install guide just display from this file. */}}
{{ if $is_learning_path}}
{{partial "server-side-processing/update-update-time.html" .}}
{{else}}
{{ .Lastmod.UTC.Format "2 Jan 2006" }}
{{end}}
</td>
</tr>
{{ if .Params.test_maintenance}}
Expand Down Expand Up @@ -169,7 +175,13 @@ <h2 id="about-marker">About this {{$table_name}}</h2>
</tr>
<tr>
<td id="last-updated" class="td-metadata-value margin-l-24">
<span><i class="fa-light fa-calendar-days fa-sm"></i></span>&nbsp; {{ .Lastmod.UTC.Format "2 Jan 2006" }}
<span><i class="fa-light fa-calendar-days fa-sm"></i></span>&nbsp;
{{/* If learning path, obtain last modified date from any LP file; install guide just display from this file. */}}
{{ if $is_learning_path}}
{{partial "server-side-processing/update-update-time.html" .}}
{{else}}
{{ .Lastmod.UTC.Format "2 Jan 2006" }}
{{end}}
</td>
</tr>
{{ if .Params.test_maintenance}}
Expand Down

0 comments on commit 9efd2e7

Please sign in to comment.