og image
This commit is contained in:
parent
8bac9e2f90
commit
13af863fd3
|
|
@ -37,7 +37,7 @@ class Post extends Model
|
|||
'powerseo_title' => 'required',
|
||||
'powerseo_description' => 'required',
|
||||
'powerseo_keywords' => 'required',
|
||||
'excerpt' => ''
|
||||
'excerpt' => 'required'
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -29,4 +29,7 @@
|
|||
{{ ''|otherMetaTags|raw }}
|
||||
|
||||
{{ post|generateOgTags }}
|
||||
{% if post.featured_image %}
|
||||
<meta property="og:image" content="{{post.featured_image|media}}">
|
||||
{% endif %}
|
||||
{% endput %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue