Skip to content

Commit

Permalink
Fix header link in default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nishimotz committed Dec 21, 2023
1 parent 8fc35b2 commit 01f691b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
</head>
<body class="flex flex-col min-h-screen">
<header class="text-center py-5 bg-gray-100">
<a href="/">
{% if page.title == 'Home' %}
<h1>{{ site.title }}</h1>
</a>
{% else %}
<a href="{{ site.baseurl }}">
<h1>{{ site.title }}</h1>
</a>
{% endif %}
</header>
<main class="container mx-auto p-5 pb-12">
{% if page.title == 'Home' %}
Expand Down

0 comments on commit 01f691b

Please sign in to comment.