Compare commits

..

3 Commits

Author SHA1 Message Date
Fabrice Mouhartem 979220becb Section title in template title 2023-11-07 09:56:31 +01:00
Fabrice Mouhartem b574b77acc Add favicon 2023-11-07 09:56:29 +01:00
Fabrice Mouhartem 574a3bfe98 Add logo on header 2023-11-07 09:56:24 +01:00
6 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,5 @@
+++
title = "Homepage"
title = "Home"
template = "index.html"
date = 2023-11-01
sort_by = "weight"

View File

@ -47,12 +47,20 @@ header {
background-position: center center;
display: flex;
align-items: center;
padding: 10px;
padding: 0px;
.date, h1 {
color: $header-fg;
text-shadow: black 0px 0px 0.1em;
}
}
#header-logo {
background: url('img/logo.png') top;
width: 150px;
height: 150px;
}
#header-logo:hover {
background-position: bottom;
}
h1 {
font-size: 28pt;
}

BIN
static/img/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
static/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -5,8 +5,9 @@
<meta charset="utf-8" />
<meta name="generator" content="zola" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>fmouhart.epheme.re</title>
<title>{% if section.title %}{{section.title}} |{% endif %} Fabrice Mouhartem</title>
<link rel="stylesheet" href="{{ get_url(path="/style.css") }}" />
<link rel="shortcut icon" type="image/png" href="{{ get_url(path="/img/lock.png") }}" />
</head>
<body>
{% block header %}

View File

@ -1,3 +1,4 @@
<header id="title-block-header">
<div id="header-logo"></div>
<h1 class="title">Fabrice Mouhartem</h1>
</header>