Added the ability to remove the W3C logo
This commit is contained in:
parent
e1f0f64b1f
commit
42c4ee2708
2 changed files with 8 additions and 5 deletions
|
@ -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"]
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue