diff --git a/_config.yml b/_config.yml index 334fbcf..6092742 100644 --- a/_config.yml +++ b/_config.yml @@ -99,6 +99,8 @@ xaymar: enabled: true tags: enabled: true + timestamp: + enabled: true comments: enabled: true provider: "disqus" diff --git a/_includes/article.liquid b/_includes/article.liquid index f4f5f3e..d145c20 100644 --- a/_includes/article.liquid +++ b/_includes/article.liquid @@ -23,18 +23,26 @@ {% if site.xaymar.meta.permalink.enabled and include.permalink != nil %} {% assign has_meta_permalink=true %} {% endif %} + {% if site.xaymar.meta.timestamp.enabled and include.timestamp %} + {% assign has_meta_timestamp=true %} + {% endif %} {% if site.xaymar.meta.tags.enabled and include.tags != nil %} {% assign has_meta_tags=true %} {% endif %} - {% if site.xaymar.meta.enabled and has_meta_permalink or has_meta_tags %} + {% if site.xaymar.meta.enabled and has_meta_permalink or has_meta_tags or has_meta_date %}