File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ title = 'PyTorch DevLog'
66[params ]
77 description = ' Developer technical notes for PyTorch'
88
9+ summaryLength = 30
10+
911[markup ]
1012 [markup .goldmark ]
1113 [markup .goldmark .renderer ]
Original file line number Diff line number Diff line change 1616 </ nav >
1717 </ header >
1818 < div class ="wrapper ">
19- {{ if .IsPage }}
20- < aside class ="sidebar ">
21- < h3 > < a href ="{{ .FirstSection.Permalink }} "> {{ .FirstSection.Title }} (recent)</ a > </ h3 >
22- < ul >
23- {{ range first 5 .FirstSection.Pages.ByDate.Reverse }}
24- < li > < a href ="{{ .Permalink }} "{{ if eq $.RelPermalink .RelPermalink }} class ="active "{{ end }} > {{ .Title }}</ a > </ li >
25- {{ end }}
26- {{ if gt (len .FirstSection.Pages) 5 }}
27- < li > < a href ="{{ .FirstSection.Permalink }} "> See all →</ a > </ li >
28- {{ end }}
29- </ ul >
30- </ aside >
31- {{ end }}
3219 < div class ="content ">
3320 {{ block "main" . }}{{ end }}
3421 </ div >
Original file line number Diff line number Diff line change 33 < h1 > {{ .Site.Title }}</ h1 >
44 {{ .Content }}
55
6- < h2 > Recent Posts</ h2 >
6+ < h2 > Most Recent 10 Posts</ h2 >
77 {{ range first 10 .Site.RegularPages.ByDate.Reverse }}
88 < div class ="post-card ">
99 < h3 > < a href ="{{ .Permalink }} "> {{ .Title }}</ a > < span class ="tag "> {{ .FirstSection.Title }}</ span > </ h3 >
Original file line number Diff line number Diff line change @@ -383,11 +383,8 @@ a.tag:hover {
383383 overflow : hidden;
384384}
385385
386- .summary-box h1 ,
387- .summary-box h2 ,
388- .summary-box h3 ,
389- .summary-box h4 {
390- font-size : 0.85rem ;
386+ .summary-box * {
387+ font-size : 0.85rem !important ;
391388 margin : 0.25rem 0 ;
392389 border : none;
393390 padding : 0 ;
You can’t perform that action at this time.
0 commit comments