From 4a9fa05e5aa4f977dba1a17b130fd6d6cd1f64ab Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Thu, 26 May 2022 21:09:48 -0700
Subject: Head Macro OpenGraph updated_time
---
templates/macros/head.html | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/templates/macros/head.html b/templates/macros/head.html
index 42d8fa0..402d99e 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -67,7 +67,7 @@
{#- page_images: using for the blog single template page -#}
{#- page_section: the blog single template page have to pass the parameter -#}
{#- is_404: using for the 404.html template -#}
-{%- macro seo( title="",title_addition="",description="",type="website",is_home=false,is_404=false,is_page=false,page_images="",page_section="",created_time="2021-05-01T08:08:00+08:00", updated_time="2021-05-01T08:08:08+08:00" ) %}
+{%- macro seo( title="",title_addition="",description="",type="website",is_home=false,is_404=false,is_page=false,page_images="",page_section="",created_time="2021-07-04T07:07:00-07:00", updated_time="2021-07-04T07:07:00-07:00" ) %}
{%- if is_404 -%}
{%- else -%}
@@ -180,7 +180,13 @@
-
+{%- if page.updated %}
+
+{%- elif page.date %}
+
+{%- else %}
+
+{%- endif %}
{%- if config.extra.social.twitter %}
--
cgit v1.3.1