Improved meta data
This commit is contained in:
@ -2,10 +2,27 @@ package frontpage
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
)
|
||||
|
||||
// Get ...
|
||||
func Get(ctx *aero.Context) string {
|
||||
description := "Anime list and notifier for new anime episodes. Create your own anime list and keep track of your progress as you watch."
|
||||
|
||||
ctx.Data = &arn.OpenGraph{
|
||||
Tags: map[string]string{
|
||||
"og:title": ctx.App.Config.Title,
|
||||
"og:description": description,
|
||||
"og:type": "website",
|
||||
"og:url": "https://" + ctx.App.Config.Domain,
|
||||
"og:image": "https://" + ctx.App.Config.Domain + "/images/brand/600",
|
||||
},
|
||||
Meta: map[string]string{
|
||||
"description": description,
|
||||
"keywords": "anime,list,tracker,notifier",
|
||||
},
|
||||
}
|
||||
|
||||
return ctx.HTML(components.FrontPage())
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
component FrontPage
|
||||
.frontpage.mountable
|
||||
h2 notify.moe
|
||||
h1 notify.moe
|
||||
|
||||
p Your home for everything about anime.
|
||||
h2 Your home for everything about anime.
|
||||
|
||||
//- img.action.screenshot(src="/images/elements/extension-screenshot.png", alt="Screenshot of the browser extension", title="Click to install the Chrome Extension", data-action="installExtension", data-trigger="click")
|
||||
|
||||
|
@ -6,19 +6,21 @@
|
||||
left 50%
|
||||
transform translateX(-50%) translateY(-50%)
|
||||
|
||||
a, h2, p
|
||||
a, h1, h2
|
||||
color white !important
|
||||
text-shadow 0px 0px 4px rgb(0, 0, 0, 0.75)
|
||||
|
||||
h2
|
||||
h1
|
||||
font-size 2.5rem
|
||||
font-weight normal
|
||||
letter-spacing 5px
|
||||
text-transform uppercase
|
||||
line-height 1.2em
|
||||
|
||||
p
|
||||
h2
|
||||
font-size 2rem
|
||||
font-weight normal
|
||||
margin-top 0
|
||||
margin-bottom 1em
|
||||
line-height 1.2em
|
||||
text-align center
|
||||
|
Reference in New Issue
Block a user