Added the ability to remove the W3C logo

This commit is contained in:
Jeffrey Phillips Freeman 2024-11-08 18:39:21 -05:00
parent e1f0f64b1f
commit 42c4ee2708
Signed by: freemo
GPG key ID: AD914585C9406B6A
2 changed files with 8 additions and 5 deletions

View file

@ -5,6 +5,7 @@ subtitle: v3.0.0, W3C Draft, 30 March 2024
draft: false
type: page
w3c: unofficial_draft
w3c_show_logo: false
#w3c_latest_version: https://semantic-versioning.org
w3c_latest_editors_version: https://semantic-versioning.org
w3c_feedback: ["https://git.cleverthis.com/cleverthis/semantic-versioning/semantic-versioning/-/issues"]

View file

@ -1,9 +1,11 @@
<div class="head">
<div class="w3c_logo">
<a class="logo" href="https://www.w3.org/">
<img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72">
</a>
</div>
{{ if .Page.Params.w3c_show_logo -}}
<div class="w3c_logo">
<a class="logo" href="https://www.w3.org/">
<img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72">
</a>
</div>
{{end -}}
<h1 id="title">{{ if .Page.Title }}{{ .Page.Title }}{{ end }}</h1>
{{ if .Page.Params.Subtitle }}<h2 id="subtitle">{{ .Page.Params.Subtitle}}</h2>{{ end }}
<div>