Se cambiaron directivas

This commit is contained in:
Team1 2023-04-20 15:49:26 +00:00
parent 9c8fa2c33b
commit cb64b8c31d
2 changed files with 6 additions and 5 deletions

View File

@ -47,9 +47,10 @@ permalink: /:slug
collections:
dcif:
dcip:
output: true
defaults:
-
scope:

View File

@ -4,20 +4,20 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% if post.layout == "dcip" %}
{% if post.category == "ERC" %}
<title>ERC-{{ post.dcip }}: {{ post.title | escape }}</title>
<title>ERC-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta propery="og:title" content="ERC-{{ page.dcip }}: {{ page.title | escape }}" />
{% else %}
<title>DCIP-{{ post.dcip }}: {{ post.title | escape }}</title>
<title>DCIP-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta property="og:title" content="DCIP-{{ page.dcip }}: {{ page.title | escape }}" />
{% endif %}
<meta name="description" content="{{page.description | escape }}" />
<meta property="og:description" content="{{page.description | escape }}" />
<meta name="twitter:description" content="{{page.description | escape }}" />
{% else %}
<title>{{ post.title | escape }} | {{site.title}}</title>
<title>{{ page.title | escape }} | {{site.title}}</title>
<meta
property="og:title"
content="{{ post.title | escape }} | {{site.title}}"
content="{{ page.title | escape }} | {{site.title}}"
/>
<meta name="description" content="{{site.description}}" />
<meta property="og:description" content="{{site.description}}" />