optimisation de SEO
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Hatmos</title>
|
||||
<meta name="viewport" content="device-width, initial-scale=1">
|
||||
<meta name="description" content="Site portefolio de mes objectifs de vie et mes accomplissements">
|
||||
<link rel="stylesheet" href="{{get_url(path='style.css')}}">
|
||||
<link rel="icon" type="image/png" href="{{get_url(path='favicon.png')}}">
|
||||
</head>
|
||||
|
||||
{% block head %} {% endblock head %}
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1><a class="home" href="https://www.hatmos.xyz/">Le site de Hatmos</a></h1>
|
||||
|
||||
27
templates/partials/head.html
Normal file
27
templates/partials/head.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block head %}
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>
|
||||
{% if page %}
|
||||
{{page.title}}
|
||||
{% elif section %}
|
||||
{{section.title}}
|
||||
{% else %}
|
||||
{{config.title}}
|
||||
{% endif %}
|
||||
</title>
|
||||
<meta name="viewport" content="device-width, initial-scale=1.0">
|
||||
{% if page %}
|
||||
<meta name="description" content="{{page.description}}">
|
||||
{% elif section %}
|
||||
<meta name="description" content="{{section.description}}">
|
||||
{% endif %}
|
||||
{% if page and page.extra.keywords %}
|
||||
<meta name="keywords" content="{{page.extra.keywords | join(sep=', ')}}">
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="{{get_url='style.css'}}">
|
||||
<link rel="icon" type="image/png" href="{{get_url(path='favicon.png')}}">
|
||||
</head>
|
||||
{% endblock head %}
|
||||
Reference in New Issue
Block a user