diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-16 09:58:29 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-16 09:58:29 +0200 |
| commit | c4f3e92024850df123c81c5ea03e307faaff0470 (patch) | |
| tree | 785e11db5fdb71f4d1c207562bce0dda5148bf14 /layouts/_default | |
| parent | 863df1c867d65883e4f3658593ef23e125058eb5 (diff) | |
| download | gohugo-theme-ed-c4f3e92024850df123c81c5ea03e307faaff0470.tar.gz | |
Setup site logo
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/home.atom.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/home.atom.xml b/layouts/_default/home.atom.xml index ad20269..b1befc0 100644 --- a/layouts/_default/home.atom.xml +++ b/layouts/_default/home.atom.xml @@ -6,6 +6,8 @@ <title>{{ site.Title }}</title> {{ with site.Params.description }}<subtitle>{{ . }}</subtitle>{{ end }} {{ with site.Home.OutputFormats.Get "Atom" }}<link href="{{ .RelPermalink }}" rel="self" type="{{ .MediaType.Type | html }}" />{{ end }} + {{ $logo := resources.Get (site.Params.assets.logo | default "/img/open-graph-logo.png" ) }}{{ $logo = $logo.Resize "96x96" }}<icon>{{$logo.RelPermalink}}</icon> + <logo>{{$logo.RelPermalink}}</logo> {{ with site.Author.name }}<author> <name>{{.}}</name> {{ with site.Author.email }}<email>{{.}}</email>{{end}} |
