make the title section a link to the homepage

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2025-01-22 11:25:40 +00:00
parent e073938b8b
commit 51b53dc54f
7 changed files with 15 additions and 11 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
*.html *.html
/site/sitemap.xml
/site/news/index* /site/news/index*
/site/sitemap.md /site/sitemap.md
/site/sitemap.xml
/site/push /site/push
*feed.xml *feed.xml
*.sha1sum *.sha1sum

View File

@ -96,6 +96,10 @@ html, ul, #TOC
display: none; display: none;
} }
div.title:hover {
cursor: pointer;
}
@media (min-width:60em) @media (min-width:60em)
{ {
.title-logo{display:none; background:none;} .title-logo{display:none; background:none;}

View File

@ -56,9 +56,9 @@ $include-before$
$endfor$ $endfor$
$if(title)$ $if(title)$
<header> <header>
<div class="title"> <div class="title" onclick="location.href='/index.de.html';">
<p class="title-logo"> <p class="title-logo">
<img class="title-logo" alt="Libreboot logo" src="/favicon.ico" /> <a href="/index.de.html"><img class="title-logo" alt="Libreboot logo" src="/favicon.ico" /></a>
</p> </p>
<h1 class="title">$title$</h1> <h1 class="title">$title$</h1>
</div> </div>

View File

@ -56,9 +56,9 @@ $include-before$
$endfor$ $endfor$
$if(title)$ $if(title)$
<header> <header>
<div class="title"> <div class="title" onclick="location.href='/';">
<p class="title-logo"> <p class="title-logo">
<img class="title-logo" alt="Libreboot logo" src="/favicon.ico" /> <a href="/"><img class="title-logo" alt="Libreboot logo" src="/favicon.ico" /></a>
</p> </p>
<h1 class="title">$title$</h1> <h1 class="title">$title$</h1>
</div> </div>

View File

@ -56,9 +56,9 @@ $include-before$
$endfor$ $endfor$
$if(title)$ $if(title)$
<header> <header>
<div class="title"> <div class="title" onclick="location.href='/index.it.html';">
<p class="title-logo"> <p class="title-logo">
<img class="title-logo" alt="Libreboot logo" src="/favicon.ico" /> <a href="/index.it.html"><img class="title-logo" alt="Libreboot logo" src="/favicon.ico" /></a>
</p> </p>
<h1 class="title">$title$</h1> <h1 class="title">$title$</h1>
</div> </div>

View File

@ -56,9 +56,9 @@ $include-before$
$endfor$ $endfor$
$if(title)$ $if(title)$
<header> <header>
<div class="title"> <div class="title" onclick="location.href='/index.uk.html';">
<p class="title-logo"> <p class="title-logo">
<img class="title-logo" alt="Логотип Libreboot" src="/favicon.ico" /> <a href="/index.uk.html"><img class="title-logo" alt="Логотип Libreboot" src="/favicon.ico" /></a>
</p> </p>
<h1 class="title">$title$</h1> <h1 class="title">$title$</h1>
</div> </div>

View File

@ -56,9 +56,9 @@ $include-before$
$endfor$ $endfor$
$if(title)$ $if(title)$
<header> <header>
<div class="title"> <div class="title" onclick="location.href='/index.zh-cn.html';">
<p class="title-logo"> <p class="title-logo">
<img class="title-logo" alt="Libreboot 图标" src="/favicon.ico" /> <a href="/index.zh-cn.html"><img class="title-logo" alt="Libreboot 图标" src="/favicon.ico" /></a>
</p> </p>
<h1 class="title">$title$</h1> <h1 class="title">$title$</h1>
</div> </div>