{{$blobExcerptLink := print $.RepoLink (Iif $.PageIsWiki "/wiki" "") "/blob_excerpt/" (PathEscape $.AfterCommitID) (QueryBuild "?" "anchor" $.Anchor)}} {{if $.IsSplitStyle}} {{range $k, $line := $.section.Lines}} {{if eq .GetType 4}} {{$expandDirection := $line.GetExpandDirection}}
{{if or (eq $expandDirection 3) (eq $expandDirection 5)}} {{end}} {{if or (eq $expandDirection 3) (eq $expandDirection 4)}} {{end}} {{if eq $expandDirection 2}} {{end}}
{{- $inlineDiff := $.section.GetComputedInlineDiffFor $line ctx.Locale -}} {{- template "repo/diff/section_code" dict "diff" $inlineDiff -}} {{else}} {{$inlineDiff := $.section.GetComputedInlineDiffFor $line ctx.Locale}} {{if and $line.LeftIdx $inlineDiff.EscapeStatus.Escaped}}{{end}} {{if $line.LeftIdx}}{{end}} {{- if $line.LeftIdx -}} {{- template "repo/diff/section_code" dict "diff" $inlineDiff -}} {{- else -}} {{- end -}} {{if and $line.RightIdx $inlineDiff.EscapeStatus.Escaped}}{{end}} {{if $line.RightIdx}}{{end}} {{- if $line.RightIdx -}} {{- template "repo/diff/section_code" dict "diff" $inlineDiff -}} {{- else -}} {{- end -}} {{end}} {{end}} {{else}} {{range $k, $line := $.section.Lines}} {{if eq .GetType 4}} {{$expandDirection := $line.GetExpandDirection}}
{{if or (eq $expandDirection 3) (eq $expandDirection 5)}} {{end}} {{if or (eq $expandDirection 3) (eq $expandDirection 4)}} {{end}} {{if eq $expandDirection 2}} {{end}}
{{else}} {{end}} {{$inlineDiff := $.section.GetComputedInlineDiffFor $line ctx.Locale}} {{if $inlineDiff.EscapeStatus.Escaped}}{{end}} {{$inlineDiff.Content}} {{end}} {{end}}