Skip to content

Commit

Permalink
Merge pull request #38 from runofthemillgeek/feat/link-main-title-to-…
Browse files Browse the repository at this point in the history
…home-page
  • Loading branch information
tomfran authored Oct 29, 2024
2 parents d96d475 + 82f5578 commit 8c8da71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ hr {
margin-top: 0;
}

.header-title a {
text-decoration: none;
}

/* Footer */

footer {
Expand Down Expand Up @@ -523,4 +527,4 @@ blockquote {
blockquote p {
margin-left: 1rem;
margin-right: 1rem;
}
}
4 changes: 3 additions & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 := . }}
Expand Down

0 comments on commit 8c8da71

Please sign in to comment.