mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
if theme.OpenGraph.enable
|
||||
-
|
||||
const coverVal = page.cover || theme.site.siteIcon
|
||||
let ogOption = {
|
||||
type: is_post() ? 'article' : 'website',
|
||||
image: coverVal ? full_url_for(coverVal) : '',
|
||||
...theme.OpenGraph.options
|
||||
}
|
||||
-
|
||||
!= open_graph(ogOption)
|
||||
meta(name="description" content=page_description())
|
||||
else
|
||||
meta(name="description" content=page_description())
|
||||
Reference in New Issue
Block a user