Skip to content

Commit

Permalink
docs: metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Mar 5, 2024
1 parent a3fa13b commit 7b09e81
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tmpl/base.layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!doctype html>
<html lang="en">
<head>
<title>{{template "title" .}}</title>
<title>{{template "title" .}} · starfx</title>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="ngrok, sish, ssh, tunnel, self-hosted" />
Expand Down
1 change: 1 addition & 0 deletions docs/tmpl/home.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{{define "title"}}{{.Data.Title}}{{end}}

{{define "meta"}}
<meta name="description" content="{{.Data.Description}}">
{{end}}

{{define "attrs"}}class="container"{{end}}
Expand Down
4 changes: 3 additions & 1 deletion docs/tmpl/post.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

{{define "title"}}{{.Data.Title}}{{end}}

{{define "meta"}}{{end}}
{{define "meta"}}
<meta name="description" content="{{.Data.Description}}">
{{end}}

{{define "attrs"}}class="container"{{end}}

Expand Down
4 changes: 3 additions & 1 deletion docs/tmpl/sitemap.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

{{define "title"}}{{.Data.Title}}{{end}}

{{define "meta"}}{{end}}
{{define "meta"}}
<meta name="description" content="{{.Data.Description}}">
{{end}}

{{define "attrs"}}class="container-sm"{{end}}

Expand Down

0 comments on commit 7b09e81

Please sign in to comment.