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/nposts.html | |
parent | bf23a5c30ace0525e2ad67a979916af5ebab3001 (diff) |
added html meta data as well as basic hover effect on links
Diffstat (limited to 'static/nposts.html')
-rw-r--r-- | static/nposts.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/nposts.html b/static/nposts.html index 173f175..d106f74 100644 --- a/static/nposts.html +++ b/static/nposts.html @@ -1,4 +1,15 @@ {{ define "header" }} +<title>{{ .Title }}</title> +<meta name="description" content="{{ .Board.Summary }}"> +<meta property="og:url" content="{{ .Board.Actor.Id }}"> +<meta property="og:site_name" content="{{ .Instance.PreferredUsername }}" /> + +<meta property="og:title" content="{{ .Title }}"> +<meta property="og:description" content="{{ .Board.Summary }}"> + +<meta name="twitter:title" content="{{ .Title }}"> +<meta name="twitter:description" content="{{ .Board.Summary }}"> +<meta name="twitter:card" content="summary_large_image"> <script src="/static/js/posts.js"></script> {{ end }} |