diff options
| author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2024-10-29 17:04:10 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 17:04:10 +0100 | 
| commit | 9a0905802287ba20f9e67a7d21a14fae1b9850c4 (patch) | |
| tree | 24f5526ef17aea91f0a1773a5b22489d07f42b10 | |
| parent | b36647a39470fd0b0b19370795cdc81d56b0a295 (diff) | |
| parent | eb222d7d587ea2b3f37813ff18b76e536254d586 (diff) | |
Merge pull request #38 from runofthemillgeek/feat/link-main-title-to-home-page
| -rw-r--r-- | assets/css/main.css | 6 | ||||
| -rw-r--r-- | layouts/partials/header.html | 4 | 
2 files changed, 8 insertions, 2 deletions
| diff --git a/assets/css/main.css b/assets/css/main.css index b08eb15..1675d41 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -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; -}
\ No newline at end of file +} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index bd17f38..1d8301e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -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 := . }} | 
