aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header/title.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header/title.html')
-rw-r--r--layouts/partials/header/title.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/header/title.html b/layouts/partials/header/title.html
new file mode 100644
index 0000000..d6e6ba3
--- /dev/null
+++ b/layouts/partials/header/title.html
@@ -0,0 +1,7 @@
+<a href="{{ .Site.BaseURL }}">
+ {{ if .IsHome }}
+ <h1 class="text-center sm:text-left text-4xl font-extrabold text-gray-800 ">{{ .Site.Title }}</h1>
+ {{ else }}
+ <h3 class="text-center sm:text-left text-4xl font-extrabold text-gray-800 ">{{ .Site.Title }}</h3>
+ {{ end }}
+</a> \ No newline at end of file