diff options
author | uPagge <git@upagge.ru> | 2021-03-13 13:57:50 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-03-13 13:57:50 +0300 |
commit | 93342d4d335b089e4117cbcb388354a75c2f5e88 (patch) | |
tree | 78654d3d47edb6214d5c2c0132023a0eb2ca0b6a /layouts | |
parent | f1ae4741a50b9f4f2bee2431e57d876dd2d92068 (diff) |
html fix
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/assets.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 1 | ||||
-rw-r--r-- | layouts/posts/single.html | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/layouts/partials/assets.html b/layouts/partials/assets.html index 0c053ba..e65b13b 100644 --- a/layouts/partials/assets.html +++ b/layouts/partials/assets.html @@ -180,7 +180,7 @@ {{- end -}} {{- with .Site.Params.Advertising.adblockHtml -}} -<script async> +<script> const ads = "no-adb"; const msg = '<div class="no-adb">{{ . | safeHTML }}</div>'; onload=function(){ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fa6337f..4d89365 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -85,7 +85,6 @@ <span class="svg-icon icon-moon"></span> </a> </div> - </nav> </div> </header> diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 7db846b..f9f9698 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -100,13 +100,13 @@ {{ with $author }} <div class="hero-author"> - <a href="{{ with .site }} {{- . | safeHTML -}}{{ end }}" class="hero-author-profile"> + {{ with .link }}<a href=" {{- . | safeHTML -}}" class="hero-author-profile">{{ end }} <img class="hero-author-avatar" src="{{ with .avatar }} {{- . | safeHTML -}}{{ end }}" alt="{{ .full_name }}"> <div class="profile-text-wrapper"> <span class="hero-author-profile-name">{{ .full_name }}</span> <span class="hero-author-profile-title">{{ $params.customAuthor.short_about | default .short_about }}</span> </div> - </a> + {{ with .link }}</a>{{ end }} </div> {{ end }} |