fix html
This commit is contained in:
parent
bde43e22f7
commit
b0525e5bf7
@ -25,7 +25,7 @@
|
||||
<div class="back-to-home">
|
||||
<hr>
|
||||
<a href="../">
|
||||
<div id="logo" src="./../static/img/logo.svg"/>
|
||||
<div id="logo" src="./../static/img/logo.svg">
|
||||
HOME
|
||||
</div>
|
||||
</a>
|
||||
|
@ -10,7 +10,7 @@
|
||||
{% endif %}
|
||||
{% if video %}
|
||||
<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>
|
||||
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
|
||||
</video>
|
||||
@ -18,7 +18,7 @@
|
||||
<section class="bordered-picture baguette">
|
||||
<div class="caption">
|
||||
<a href="{{ image }} {% if caption %}data-caption="{{ caption }}"{% endif %}">
|
||||
<img class="lazy" data-original="{{ image }}">
|
||||
<img class="lazy" data-original="{{ image }}" alt="">
|
||||
{% if caption %}
|
||||
<div class="caption__overlay">
|
||||
<h5 class="caption__overlay__title">{{ caption }}</h5>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% 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 %}
|
||||
<section class="html">
|
||||
<center>
|
||||
|
@ -1,11 +1,11 @@
|
||||
{% 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 %}
|
||||
<section class="paragraph">
|
||||
{% if section.title %}
|
||||
<h2>{{ section.title }}</h2>
|
||||
{% else %}
|
||||
<div class="separator"><div>
|
||||
<div class="separator"></div>
|
||||
{% endif %}
|
||||
<p>{{ section.text }}</p>
|
||||
</section>
|
||||
|
@ -15,13 +15,13 @@
|
||||
{% endif %}
|
||||
<div class="picture caption">
|
||||
{% 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>
|
||||
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
|
||||
</video>
|
||||
{% else %}
|
||||
<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 %}
|
||||
<div class="caption__overlay">
|
||||
<h5 class="caption__overlay__title">{{ caption }}</h5>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% 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 %}
|
||||
<section class="text">
|
||||
{{ section.text }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user