~ruther/blog

ref: 32f0d65bfa5928b4abb81beab0dd807aff1b72cd blog/themes/poison/layouts/partials/sidebar/title.html -rw-r--r-- 720 bytes
32f0d65b — Rutherther feat: Add about me 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="sidebar-about">
    <h1 class="brand">
        {{ if .Site.Params.remote_brand_image }}
            <a href="{{ .Site.BaseURL }}">
                <img src="{{ .Site.Params.remote_brand_image }}" alt="brand image">
            </a>
        {{ else if .Site.Params.brand_image }}
            <a href="{{ .Site.BaseURL }}">
                <img src="{{ .Site.Params.brand_image }}" alt="brand image">
            </a>
        {{ end }}
        {{ if .Site.Params.brand }}
            <a href="{{ .Site.BaseURL }}">
                <h1>{{ .Site.Params.brand }}</h1>
            </a>
        {{ end }}
    </h1>
    <p class="lead">
    {{ with .Site.Params.description }}{{. | safeHTML}}{{end}}
    </p>
</div>