File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
themes/hugo-coder/layouts Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ <h1 class="title">{{ .Title }}</h1>
4444 {{ $outContent := .Content | replaceRE $PATTERN_EMPTY_ALT $REPLACEMENT | replaceRE $PATTERN_ALT $REPLACEMENT | safeHTML }}
4545 {{ $outContent }}
4646
47+ {{ if .GitInfo }}
4748 < div style ="color: #5c7080;font-size: small;font-style: italic; ">
4849 更新时间:
4950 <!-- Calculate the age in days and months -->
@@ -61,6 +62,7 @@ <h1 class="title">{{ .Title }}</h1>
6162 {{ end }}
6263 版本: < a href ="https://github.com/madawei2699/bmpi.dev/commit/{{ .GitInfo.Hash }} "> {{ .GitInfo.AbbreviatedHash }}</ a >
6364 </ div >
65+ {{ end }}
6466
6567 < div style ="text-align: center;color: darkgray; ">
6668 {{ if eq .Site.Language.Lang "zh-cn" }}
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ <h1 class="title">{{ .Title }}</h1>
4444 {{ $outContent := .Content | replaceRE $PATTERN_EMPTY_ALT $REPLACEMENT | replaceRE $PATTERN_ALT $REPLACEMENT | safeHTML }}
4545 {{ $outContent }}
4646
47+ {{ if .GitInfo }}
4748 < div style ="color: #5c7080;font-size: small;font-style: italic; ">
4849 更新时间:
4950 <!-- Calculate the age in days and months -->
@@ -61,6 +62,7 @@ <h1 class="title">{{ .Title }}</h1>
6162 {{ end }}
6263 版本: < a href ="https://github.com/madawei2699/bmpi.dev/commit/{{ .GitInfo.Hash }} "> {{ .GitInfo.AbbreviatedHash }}</ a >
6364 </ div >
65+ {{ end }}
6466
6567 < div style ="text-align: center;color: darkgray; ">
6668 {{ if eq .Site.Language.Lang "zh-cn" }}
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ <h1 class="title">{{ .Title }}</h1>
4444 {{ $outContent := .Content | replaceRE $PATTERN_EMPTY_ALT $REPLACEMENT | replaceRE $PATTERN_ALT $REPLACEMENT | safeHTML }}
4545 {{ $outContent }}
4646
47+ {{ if .GitInfo }}
4748 < div style ="color: #5c7080;font-size: small;font-style: italic; ">
4849 更新时间:
4950 <!-- Calculate the age in days and months -->
@@ -61,6 +62,7 @@ <h1 class="title">{{ .Title }}</h1>
6162 {{ end }}
6263 版本: < a href ="https://github.com/madawei2699/bmpi.dev/commit/{{ .GitInfo.Hash }} "> {{ .GitInfo.AbbreviatedHash }}</ a >
6364 </ div >
65+ {{ end }}
6466
6567 < div style ="text-align: center;color: darkgray; ">
6668 {{ if eq .Site.Language.Lang "zh-cn" }}
You can’t perform that action at this time.
0 commit comments