mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-09-24 09:43:39 +02:00
Add OpenGraph support
Add the necessary OpenGraph meta tags to all pages. Fix https://github.com/pawroman/zola-theme-terminimal/issues/3
This commit is contained in:
parent
a9969735db
commit
6af6b597fa
5 changed files with 95 additions and 2 deletions
|
@ -11,6 +11,8 @@
|
|||
<title>{%- block title %}{{ config.title }}{% endblock title -%}</title>
|
||||
{{ head_macros::head(config=config) }}
|
||||
|
||||
{%- block open_graph %}{{ head_macros::open_graph(config=config) }}{% endblock open_graph -%}
|
||||
|
||||
{%- if config.generate_feed %}
|
||||
{%- if "rss" in config.feed_filename %}
|
||||
{% set feed_type = 'rss+xml' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue