File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
themes/hugo-coder/layouts Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44{{ define "content" }}
55 < section class ="container list ">
66 {{$scratch := newScratch}}
7- {{ range (where .Site.RegularPages "Section" "==" "dev ") }}
7+ {{ range (where .Site.RegularPages "Section" "==" "money ") }}
88 {{$scratch.Add "total" (countwords .Content)}}
99 {{ end }}
1010 < h1 class ="title " style ="font-size: 1.6rem !important;border-bottom:1px dotted #bf7326;padding-bottom:20px; ">
1111 {{ .Description }}
1212 < br >
13- < div style ="text-align:left;font-size: 1.2rem !important; "> 共{{ len (where .Site.RegularPages "Section" "==" "dev ") }}篇文章/总计{{$scratch.Get "total" }}字/浏览量< span id ="money-page-views "> </ span > 次</ div >
13+ < div style ="text-align:left;font-size: 1.2rem !important; "> 共{{ len (where .Site.RegularPages "Section" "==" "money ") }}篇文章/总计{{$scratch.Get "total" }}字/浏览量< span id ="money-page-views "> </ span > 次</ div >
1414 </ h1 >
1515
1616 < ul >
Original file line number Diff line number Diff line change 44{{ define "content" }}
55 < section class ="container list ">
66 {{$scratch := newScratch}}
7- {{ range (where .Site.RegularPages "Section" "==" "dev ") }}
7+ {{ range (where .Site.RegularPages "Section" "==" "self ") }}
88 {{$scratch.Add "total" (countwords .Content)}}
99 {{ end }}
1010 < h1 class ="title " style ="font-size: 1.6rem !important;border-bottom:1px dotted #bf7326;padding-bottom:20px; ">
1111 {{ .Description }}
1212 < br >
13- < div style ="text-align:left;font-size: 1.2rem !important; "> 共{{ len (where .Site.RegularPages "Section" "==" "dev ") }}篇文章/总计{{$scratch.Get "total" }}字/浏览量< span id ="self-page-views "> </ span > 次</ div >
13+ < div style ="text-align:left;font-size: 1.2rem !important; "> 共{{ len (where .Site.RegularPages "Section" "==" "self ") }}篇文章/总计{{$scratch.Get "total" }}字/浏览量< span id ="self-page-views "> </ span > 次</ div >
1414 </ h1 >
1515
1616 < ul >
You can’t perform that action at this time.
0 commit comments