diff options
author | FChannel <> | 2021-06-17 00:21:07 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-17 00:21:07 -0700 |
commit | cc24155859b65653495747bd0b38be9bcef33298 (patch) | |
tree | c46e5b7273534e9626d746855b3b036ee06c1006 /static/index.html | |
parent | bf23a5c30ace0525e2ad67a979916af5ebab3001 (diff) |
added html meta data as well as basic hover effect on links
Diffstat (limited to 'static/index.html')
-rw-r--r-- | static/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/static/index.html b/static/index.html index 2840a83..1cd206b 100644 --- a/static/index.html +++ b/static/index.html @@ -1,4 +1,19 @@ {{ define "header" }} +<title>{{ .Title }}</title> +<meta name="description" content="{{ .Message }}"> + +<meta property="og:locale" content="en_US" /> +<meta property="og:type" content="website" /> +<meta property="og:url" content="{{ .Board.Domain }}"> +<meta property="og:site_name" content="{{ .Board.Actor.PreferredUsername }}" /> + +<meta property="og:title" content="{{ .Title }}"> +<meta property="og:description" content="{{ .Message }}"> + +<meta name="twitter:title" content="{{ .Title }}"> +<meta name="twitter:description" content="{{ .Message }}"> +<meta name="twitter:card" content="summary_large_image"> + {{ end }} {{ define "top" }}{{ end }} |