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

publications.html « about « partials « layouts - github.com/darshanbaral/ghazal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb6d14067ce162700db79f0c2ff88889fa87a062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{ if .Params.publications }}
<h2 style="border-bottom: solid 3px; text-transform: uppercase;">
  <i>{{ partial "icons/book" . }}</i>Publications
</h2>

{{ range .Params.publications }} {{ range $key, $val := . }}
<h3 style="font-variant: small-caps;">{{ $key }}</h3>
<ol>
  {{ range sort $val "date" "desc" }}
  <li>
    <p style="margin: 1em; text-indent: -0.5em;">
      {{ .date }}. {{ .author | markdownify }}. {{ if .url }}<a
        href="{{ .url }}"
        >{{ .title }}</a
      >{{ else }} <u>{{- .title -}}</u> {{end -}}. {{ .journal }}.
    </p>
    {{ if .abstract }}
    <blockquote style="margin: 0 0 0 1em; font-size: 0.9em;">
      <strong style="font-variant: small-caps; text-decoration: underline;"
        >Abstract</strong
      ><p style="margin: 0;">{{ .abstract }}</p>
    </blockquote>
    {{ end }}
  </li>
  {{ end }}
</ol>
{{ end }} {{ end }} {{ end }}