Edit metadata management and robots exclusion protocol
This commit is contained in:
parent
d149a90c80
commit
cea8f504df
21 changed files with 282 additions and 144 deletions
|
@ -3,15 +3,9 @@
|
|||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
{{ snippet('meta_information') }}
|
||||
{{ snippet('robots') }}
|
||||
<link rel="icon" sizes="any" href="assets/favicon/xiao-wang-favicon.ico">
|
||||
<link rel="icon" type="image/svg+xml" href="assets/favicon/xiao-wang-favicon.svg">
|
||||
<link rel="apple-touch-icon" href="assets/favicon/xiao-wang-apple-touch-icon.png">
|
||||
<link rel="manifest" href="assets/favicon/xiao-wang.webmanifest">
|
||||
|
||||
{{ snippet('metadata') }}
|
||||
{{ snippet('favicon') }}
|
||||
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="{{ asset('assets/css/style.min.css') }}">
|
||||
|
@ -32,15 +26,17 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<nav class="header-bar__nav" aria-label="Menu">
|
||||
<button class="header-bar__nav-button" tabindex="-1" aria-hidden="true">
|
||||
<div class="header-bar__nav-button-line-1"></div>
|
||||
<div class="header-bar__nav-button-line-2"></div>
|
||||
<div class="header-bar__nav-button-line-3"></div>
|
||||
</button>
|
||||
<ul class="header-bar__nav-menu">
|
||||
</ul>
|
||||
</nav>
|
||||
{% if page != site.homePage %}
|
||||
<nav class="header-bar__nav" aria-label="Menu">
|
||||
<button class="header-bar__nav-button" tabindex="-1" aria-hidden="true">
|
||||
<div class="header-bar__nav-button-line-1"></div>
|
||||
<div class="header-bar__nav-button-line-2"></div>
|
||||
<div class="header-bar__nav-button-line-3"></div>
|
||||
</button>
|
||||
<ul class="header-bar__nav-menu">
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -75,7 +71,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="footer-bar__copyright">
|
||||
<p>© {{ 'now' | date('Y') }} {{ site.meta_author }}</p>
|
||||
<p>© {{ 'now' | date('Y') }} {{ site.title }}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
{% if page.text.isNotEmpty %}
|
||||
<div class="gallery__introduction">{{ page.text.kirbytext|raw }}</div>
|
||||
{% endif %}
|
||||
{% if page.files.isNotEmpty %}
|
||||
{% set artworks = page.files.sortBy('sort') %}
|
||||
{% if page.files.template("artwork").isNotEmpty %}
|
||||
{% set artworks = page.files.template("artwork").sortBy('sort') %}
|
||||
{% for artwork in artworks %}
|
||||
<figure class="gallery__artwork">
|
||||
{% if artwork.type == 'video' %}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{% set navItemNo = navItemNo + 1 %}
|
||||
{% endfor %}
|
||||
<div class="home__nav-image" aria-hidden="true">
|
||||
<img src="{{ page.image.url }}" srcset="{{ page.image.srcset() }}" alt="{{ page.image.alt_text }}">
|
||||
<img src="{{ page.images.template("image").first.url }}" srcset="{{ page.images.template("image").first.srcset() }}" alt="{{ page.images.template("image").first.alt_text }}">
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue