fix/not-deploying-hugo-v159 #9
@@ -6,33 +6,9 @@
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
{{ with .Site.Params.sidebar.avatar }}
|
|
||||||
{{- $avatar := partial "helper/image" (dict "Image" . "Resources" resources "Context" $) -}}
|
|
||||||
<figure class="site-avatar">
|
|
||||||
<a href="{{ $.Site.Home.RelPermalink }}">
|
|
||||||
<img src="{{ $avatar.Permalink }}"
|
|
||||||
width="{{ $avatar.Width }}"
|
|
||||||
height="{{ $avatar.Height }}"
|
|
||||||
class="site-logo"
|
|
||||||
loading="lazy"
|
|
||||||
alt="Avatar">
|
|
||||||
</a>
|
|
||||||
{{ with $.Site.Params.sidebar.emoji }}
|
|
||||||
<span class="emoji">{{ . }}</span>
|
|
||||||
{{ end }}
|
|
||||||
</figure>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<div class="site-meta">
|
|
||||||
<h1 class="site-name"><a href="{{ .Site.Home.RelPermalink }}">{{ .Site.Title }}</a></h1>
|
|
||||||
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- <header>
|
|
||||||
{{ with .Site.Params.sidebar.avatar }}
|
{{ with .Site.Params.sidebar.avatar }}
|
||||||
{{ if (default true .enabled) }}
|
{{ if (default true .enabled) }}
|
||||||
<figure class="site-avatar" style="margin-left: auto; margin-right: auto;">
|
<figure class="site-avatar">
|
||||||
<a href="{{ .Site.BaseURL | relLangURL }}">
|
<a href="{{ .Site.BaseURL | relLangURL }}">
|
||||||
{{ if not .local }}
|
{{ if not .local }}
|
||||||
<img src="{{ .src }}" width="300" height="300" class="site-logo" loading="lazy" alt="Avatar">
|
<img src="{{ .src }}" width="300" height="300" class="site-logo" loading="lazy" alt="Avatar">
|
||||||
@@ -59,7 +35,7 @@
|
|||||||
<h1 class="site-name"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1>
|
<h1 class="site-name"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1>
|
||||||
<h2 class="site-description" style="font-size: 1.3rem;">{{ .Site.Params.sidebar.subtitle }}</h2>
|
<h2 class="site-description" style="font-size: 1.3rem;">{{ .Site.Params.sidebar.subtitle }}</h2>
|
||||||
</div>
|
</div>
|
||||||
</header> -->
|
</header>
|
||||||
|
|
||||||
{{- $page := . -}}
|
{{- $page := . -}}
|
||||||
{{- with .Site.Menus.social -}}
|
{{- with .Site.Menus.social -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user