Skip to content

Commit

Permalink
feat: add proper title to allow for better seo
Browse files Browse the repository at this point in the history
  • Loading branch information
asdofindia committed Aug 13, 2024
1 parent 85c96db commit c977ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions site/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@

<head>
<meta charset="UTF-8">
<title>
{{ block "title" . }}
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}
</title>
{{ end }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
Expand Down
1 change: 1 addition & 0 deletions site/layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ define "title" }}{{- .Title }} | {{ .Site.Title }}{{ end }}
{{ define "main" }}

<div id="metadata">
Expand Down

0 comments on commit c977ef6

Please sign in to comment.