11<!DOCTYPE html>
22< html >
3-
43< head >
54 {{- $title := ( .Title ) -}}
65 {{- $siteTitle := ( .Site.Title ) -}}
1615 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
1716 <!-- Open Graph -->
1817 {{- if .IsHome -}}
19- < meta property ="og:title "
20- content ="{{ $siteTitle }} {{ if .Site.Params.subtitle }}- {{ .Site.Params.Subtitle }}{{ end }} " />
18+ < meta property ="og:title " content ="{{ $siteTitle }} {{ if .Site.Params.subtitle }}- {{ .Site.Params.Subtitle }}{{ end }} " />
2119 {{- else -}}
2220 < meta property ="og:title " content ="{{ $title }} - {{ $siteTitle }} " />
2321 {{- end -}}
2422
25- < meta property ="og:description "
26- content ="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.subtitle }}{{ end }} " />
23+ < meta property ="og:description " content ="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.subtitle }}{{ end }} " />
2724 < meta property ="og:type " content ="website " />
2825 < meta property ="og:url " content ="{{ .Permalink }} " />
29-
26+
3027 < link rel ="shortcut icon " href ="{{ .Site.BaseURL }}/static/images/favicon.png " />
3128
3229 {{ with .OutputFormats.Get "rss" -}}
33- {{ printf `
34- < link rel ="%s " type ="%s " href ="%s " title ="%s " /> ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
30+ {{ printf `< link rel ="%s " type ="%s " href ="%s " title ="%s " /> ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
3531 {{ end -}}
3632
3733 {{ with .Params.image }}
38- < meta property ="og:image " content ="{{ if in . " http " }}{{ . }}{{ else }}{{ $.Site.BaseURL }}{{ . }}{{ end }}" />
34+ < meta property ="og:image " content ="{{ if in . "http " }}{{ . }}{{ else }}{{ $.Site.BaseURL }}{{ . }}{{ end }}" />
3935 {{ else }}
40- < meta property ="og:image " content ="https://zerodha.com/static/images/landing.png ">
36+ < meta property ="og:image " content ="https://zerodha.com/static/images/landing.png ">
4137 {{ end }}
4238
43- < script >
44- var _paq = window . _paq = window . _paq || [ ] ;
45- /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
46- _paq . push ( [ 'trackPageView' ] ) ;
47- _paq . push ( [ 'enableLinkTracking' ] ) ;
48- ( function ( ) {
49- var u = "//m.zerodha.com/" ;
50- _paq . push ( [ 'setTrackerUrl' , u + 'js/' ] ) ;
51- _paq . push ( [ 'setSiteId' , '16' ] ) ;
52- _paq . push ( [ 'setAPIUrl' , u ] ) ;
53- var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ] ;
54- g . async = true ; g . src = u + 'js/' ; s . parentNode . insertBefore ( g , s ) ;
55- } ) ( ) ;
56- </ script >
57-
58- < script type ="application/ld+json ">
39+ < script type ="application/ld+json ">
5940 {
6041 "@context" : "https://schema.org" ,
6142 "@type" : "Organization" ,
7657 "https://instagram.com/zerodhaonline"
7758 ]
7859 }
79- </ script >
60+ </ script >
8061
8162 < link href ="https://fonts.googleapis.com/css?family=Inter:300,400,500,600 " rel ="stylesheet ">
8263 < link rel ="stylesheet " type ="text/css " media ="screen " href ="{{ .Site.BaseURL }}/static/style.css " />
83-
84- <!-- <link rel="stylesheet" type="text/css" media="(prefers-color-scheme: dark)" href="{{ .Site.BaseURL }}/static/dark.css" /> -->
8564</ head >
86-
8765< body >
8866 {{ .Site.Params.paginate }}
8967 < section class ="page-hero ">
9068 < div class ="container wrap ">
9169 < div class ="header ">
9270 < div class ="logo ">
93- < a href ="{{ .Site.BaseURL }}/ "> < img alt ="Zerodha technology blog "
94- src ="{{ .Site.BaseURL }}/static/images/logo.svg " /> </ a >
71+ < a href ="{{ .Site.BaseURL }}/ "> < img alt ="Zerodha technology blog " src ="{{ .Site.BaseURL }}/static/images/logo.svg " /> </ a >
9572 </ div >
9673 < nav class ="nav ">
9774 {{ $cur := . }}
10178 {{ end }}
10279
10380 < a href ="{{ .Site.BaseURL }}/index.xml " class ="feed " title ="Subscribe to feed ">
104- < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none "
105- stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
106- < path d ="M4 11a9 9 0 0 1 9 9 " />
107- < path d ="M4 4a16 16 0 0 1 16 16 " />
108- < circle cx ="5 " cy ="19 " r ="1 " />
81+ < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
82+ < path d ="M4 11a9 9 0 0 1 9 9 "/>
83+ < path d ="M4 4a16 16 0 0 1 16 16 "/>
84+ < circle cx ="5 " cy ="19 " r ="1 "/>
10985 </ svg >
11086 </ a >
11187 </ nav >
11692 < div class ="post-header ">
11793 < h1 class ="title "> {{ .Title }}</ h1 >
11894 {{ if ne .Type "page" }}
119- < p class ="date ">
120- {{ dateFormat "02 Jan 2006" .Date }}
121- </ p >
95+ < p class ="date ">
96+ {{ dateFormat "02 Jan 2006" .Date }}
97+ </ p >
12298 {{ else }}
123- {{ .Params.description }}
99+ {{ .Params.description }}
124100 {{ end }}
125101 </ div >
126102 </ div >
127103 {{ else if .IsHome }}
128- < h1 class ="intro ">
129- We build < span class ="bold "> technology at
104+ < h1 class ="intro ">
105+ We build < span class ="bold "> technology at
130106 Zerodha, </ span > < span class ="highlight "> India's largest stock broker</ span > .
131- </ h1 >
107+ </ h1 >
132108
133109 {{ else if isset .Data "Term" }}
134- < h1 class ="post-header ">
135- {{ if eq (index .Data "Singular") "author" }}@{{ end }}{{ .Data.Term }}
136- </ h1 >
110+ < h1 class ="post-header ">
111+ {{ if eq (index .Data "Singular") "author" }}@{{ end }}{{ .Data.Term }}
112+ </ h1 >
137113 {{ else }}
138- < h1 class ="post-header "> {{ .Name }}</ h1 >
114+ < h1 class ="post-header "> {{ .Name }}</ h1 >
139115 {{ end }}
140116
141117 </ div >
142- </ section >
118+ </ section >
0 commit comments