Fix duplicate banner alert ids
This commit is contained in:
parent
90520c5d35
commit
d6760f47e8
2 changed files with 3 additions and 3 deletions
|
@ -425,7 +425,7 @@ pre {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#banner-alert-icon {
|
.banner-alert-icon {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
{{ if eq $paginator.PageNumber 1}}
|
{{ if eq $paginator.PageNumber 1}}
|
||||||
{{ $alertimg := resources.Get "alert.png" }}
|
{{ $alertimg := resources.Get "alert.png" }}
|
||||||
{{ with $.Params.new_banner }}
|
{{ with $.Params.new_banner }}
|
||||||
<div class="new-banner"><img alt="Alert Icon" width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/><b>{{ . }}</b><img alt="Alert Icon" width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/></div>
|
<div class="new-banner"><img alt="Alert Icon" width="16" height="16" class="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"><b>{{ . }}</b><img alt="Alert Icon" width="16" height="16" class="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="new-banner"><img alt="Alert Icon" width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/><b>Contains risque art, so you should probably not view this on a work computer.</b><img alt="Alert Icon" width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/></div>
|
<div class="new-banner"><img alt="Alert Icon" width="16" height="16" class="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"><b>Contains risque art, so you should probably not view this on a work computer.</b><img alt="Alert Icon" width="16" height="16" class="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"></div>
|
||||||
|
|
||||||
<p>Welcome to my art gallery! I have saved my art since 2016, and this site contains the most complete archive of my work.</p>
|
<p>Welcome to my art gallery! I have saved my art since 2016, and this site contains the most complete archive of my work.</p>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue