fix html
This commit is contained in:
parent
bde43e22f7
commit
b0525e5bf7
@ -25,7 +25,7 @@
|
|||||||
<div class="back-to-home">
|
<div class="back-to-home">
|
||||||
<hr>
|
<hr>
|
||||||
<a href="../">
|
<a href="../">
|
||||||
<div id="logo" src="./../static/img/logo.svg"/>
|
<div id="logo" src="./../static/img/logo.svg">
|
||||||
HOME
|
HOME
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if video %}
|
{% if video %}
|
||||||
<section class="bordered-picture baguette" style="position: relative;">
|
<section class="bordered-picture baguette" style="position: relative;">
|
||||||
<img class="lazy" src="{{ video.generate_thumbnail("2000") }}">
|
<img class="lazy" src="{{ video.generate_thumbnail("2000") }}" alt="">
|
||||||
<video class="lazy" id="video" poster="{{ video.generate_thumbnail("2000") }}" alt="" autoplay="autoplay" loop="loop" preload="auto" muted>
|
<video class="lazy" id="video" poster="{{ video.generate_thumbnail("2000") }}" alt="" autoplay="autoplay" loop="loop" preload="auto" muted>
|
||||||
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
|
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
|
||||||
</video>
|
</video>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<section class="bordered-picture baguette">
|
<section class="bordered-picture baguette">
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<a href="{{ image }} {% if caption %}data-caption="{{ caption }}"{% endif %}">
|
<a href="{{ image }} {% if caption %}data-caption="{{ caption }}"{% endif %}">
|
||||||
<img class="lazy" data-original="{{ image }}">
|
<img class="lazy" data-original="{{ image }}" alt="">
|
||||||
{% if caption %}
|
{% if caption %}
|
||||||
<div class="caption__overlay">
|
<div class="caption__overlay">
|
||||||
<h5 class="caption__overlay__title">{{ caption }}</h5>
|
<h5 class="caption__overlay__title">{{ caption }}</h5>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% if section.background or section.color %}
|
{% if section.background or section.color %}
|
||||||
<div style="{% if section.background -%}padding: 1px 0px;background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
<div class="bg-section" style="{% if section.background -%};background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<section class="html">
|
<section class="html">
|
||||||
<center>
|
<center>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{% if section.background or section.color %}
|
{% if section.background or section.color %}
|
||||||
<div style="{% if section.background -%}padding: 1px 0px;background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
<div class="bg-section" style="{% if section.background -%}background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<section class="paragraph">
|
<section class="paragraph">
|
||||||
{% if section.title %}
|
{% if section.title %}
|
||||||
<h2>{{ section.title }}</h2>
|
<h2>{{ section.title }}</h2>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="separator"><div>
|
<div class="separator"></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>{{ section.text }}</p>
|
<p>{{ section.text }}</p>
|
||||||
</section>
|
</section>
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="picture caption">
|
<div class="picture caption">
|
||||||
{% if video %}
|
{% if video %}
|
||||||
<img class="lazy" src="{{ video.generate_thumbnail("600") }}">
|
<img class="lazy" src="{{ video.generate_thumbnail("600") }}"alt="">
|
||||||
<video class="lazy" id="video" poster="{{ video.generate_thumbnail("600") }}" alt="" autoplay="autoplay" loop="loop" preload="auto" muted>
|
<video class="lazy" id="video" poster="{{ video.generate_thumbnail("600") }}" alt="" autoplay="autoplay" loop="loop" preload="auto" muted>
|
||||||
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
|
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
|
||||||
</video>
|
</video>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ image }}" {% if caption %}data-caption="{{ caption }}"{% endif %}>
|
<a href="{{ image }}" {% if caption %}data-caption="{{ caption }}"{% endif %}>
|
||||||
<img class="lazy" data-original="{{ image.generate_thumbnail("x600") }}">
|
<img class="lazy" data-original="{{ image.generate_thumbnail("x600") }}" alt="">
|
||||||
{% if caption %}
|
{% if caption %}
|
||||||
<div class="caption__overlay">
|
<div class="caption__overlay">
|
||||||
<h5 class="caption__overlay__title">{{ caption }}</h5>
|
<h5 class="caption__overlay__title">{{ caption }}</h5>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% if section.background or section.color %}
|
{% if section.background or section.color %}
|
||||||
<div style="{% if section.background -%}padding: 1px 0px;background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
<div class="bg-section" style="{% if section.background -%}background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<section class="text">
|
<section class="text">
|
||||||
{{ section.text }}
|
{{ section.text }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user