name convention
This commit is contained in:
parent
f91dc2379f
commit
32eab1c102
11 changed files with 25 additions and 33 deletions
|
|
@ -53,12 +53,12 @@
|
|||
<meta property="og:title" content="{{ page.title }} | {{ site.title }}" />{% if page.description == null %}
|
||||
<meta property="og:description" content="{{ site.tagline | strip_html }}" />{% else %}
|
||||
<meta property="og:description" content="{{ page.description | strip_html }}" />{% endif %}{% if page.image == null %}
|
||||
<meta property="og:image" content="{{ site.production_url }}/assets/vid/{{ page.poster }}" />{% elsif page.poster == null %}
|
||||
<meta property="og:image" content="{{ site.production_url }}{{ page.poster_image }}" />{% elsif page.poster_image == null %}
|
||||
<meta property="og:image" content="{{ site.production_url }}{{ site.banner }}" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:width" content="1024" />
|
||||
<meta property="og:image:height" content="1024" /> {% else %}
|
||||
<meta property="og:image" content="{{ site.production_url }}/assets/vid/{{ page.image }}" />{% endif %}
|
||||
<meta property="og:image" content="{{ site.production_url }}{{ page.image }}" />{% endif %}
|
||||
<meta property="og:site_name" content="{{ site.title }}" />
|
||||
{% for social_id in site.social_ids %}{% assign social = site.social[social_id] %}<meta property="og:see_also" content="{{ social }}" />
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@
|
|||
<meta property="og:title" content="{{ page.title }} | {{ site.title }}" />{% if page.description == null %}
|
||||
<meta property="og:description" content="{{ site.tagline | strip_html }}" />{% else %}
|
||||
<meta property="og:description" content="{{ page.description | strip_html }}" />{% endif %}{% if page.image == null %}
|
||||
<meta property="og:image" content="{{ site.production_url }}/assets/vid/{{ page.poster }}" />{% elsif page.category == "highlights" %}
|
||||
<meta property="og:image" content="{{ site.production_url }}/assets/img/thumb/{{ page.image }}" />{% else %}
|
||||
<meta property="og:image" content="{{ site.production_url }}{{ page.poster_image }}" />{% elsif page.category == "highlights" %}
|
||||
<meta property="og:image" content="{{ site.production_url }}{{ page.image }}" />{% else %}
|
||||
<meta property="og:image" content="{{ site.production_url }}{{ site.banner }}" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:width" content="1024" />
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
<meta name="twitter:title" content="{{ page.title }} | {{ site.title }}" />{% if page.description == null %}
|
||||
<meta name="twitter:description" content="{{ site.tagline | strip_html }}" />{% else %}
|
||||
<meta name="twitter:description" content="{{ page.description | strip_html }}" />{% endif %}{% if page.image == null %}
|
||||
<meta name="twitter:image" content="{{ site.production_url }}/assets/vid/{{ page.poster }}" />{% elsif page.category == "highlights" %}
|
||||
<meta name="twitter:image" content="{{ site.production_url }}{{ page.poster_image }}" />{% elsif page.category == "highlights" %}
|
||||
<meta name="twitter:image" content="{{ site.production_url }}/assets/img/thumb/{{ page.image }}" />{% else %}
|
||||
<meta name="twitter:image" content="{{ site.production_url }}{{ site.banner }}" />{% endif %}
|
||||
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
{% if page.description == null %}"description": "{{ site.tagline | strip_html }}",{% else %}"description": "{{ page.description | strip_html }}",{% endif %}
|
||||
"image": {
|
||||
"@type": "ImageObject", {% if page.image == null %}
|
||||
"url": "{{ site.production_url }}/assets/vid/{{ page.poster }}"{% elsif page.category == "highlights" %}
|
||||
"url": "{{ site.production_url }}{{ page.poster_image }}"{% elsif page.category == "highlights" %}
|
||||
"url": "{{ site.production_url }}/assets/img/thumb/{{ page.image }}"{% else %}
|
||||
"url": "{{ site.production_url }}{{ site.banner }}",
|
||||
"width": "1024",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<video poster="{{ base }}/assets/vid/{{ page.poster }}" id="bgvid" autoplay playsinline muted loop>
|
||||
<source src="{{ base }}/assets/vid/{{ page.video }}" type="video/mp4">
|
||||
<video poster="{{ base }}{{ page.poster_image }}" id="bgvid" autoplay playsinline muted loop>
|
||||
<source src="{{ base }}{{ page.video_path }}" type="video/mp4">
|
||||
</video>
|
||||
<img id="bgpic" src="{{ base }}/assets/vid/{{ page.poster }}" alt="Basspistol" />
|
||||
<img id="bgpic" src="{{ base }}{{ page.poster_image }}" alt="Basspistol" />
|
||||
<div id="headline"><h1>~/{{ page.subtitle }}</h1></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue