Merge pull request #38 from runofthemillgeek/feat/link-main-title-to-home-page

This commit is contained in:
Francesco Tomaselli 2024-10-29 17:04:10 +01:00 committed by GitHub
commit a3a29cf470
2 changed files with 8 additions and 2 deletions

View file

@ -141,6 +141,10 @@ hr {
margin-top: 0;
}
.header-title a {
text-decoration: none;
}
/* Footer */
footer {
@ -523,4 +527,4 @@ blockquote {
blockquote p {
margin-left: 1rem;
margin-right: 1rem;
}
}

View file

@ -4,7 +4,9 @@
{{ if or (not (.Param "hideHeader")) .IsHome }}
<h1 class="header-title">{{ site.Title }}</h1>
<h1 class="header-title">
<a href="{{ site.BaseURL }}">{{ site.Title }}</a>
</h1>
<div class="flex">
{{ $currentPage := . }}