Welcome to mirror list, hosted at ThFree Co, Russian Federation.

addTitle.html « supportingPartials « accordion « partials « layouts - github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76a7799f698c3bcdfb45dc3aa184cf723eb5cb68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{ if (eq .ind "title") }}
{{ if (index .all `url`) }}
<a href="{{ index .all `url` }}">
  <em>
    {{- index .all .ind -}}
    {{- cond (eq (substr (index .all .ind) -1 1) ".") "" "." -}}
  </em>
</a>
{{ else }}
<em>
  {{- index .all .ind -}}
  {{- cond (eq (substr (index .all .ind) -1 1) ".") "" "." -}}
</em>
{{ end }}
{{ else }}
{{- index .all .ind -}}
{{- cond (eq (substr (index .all .ind) -1 1) ".") "" "." -}}
{{ end }}