This commit is contained in:
Simon 2020-02-14 16:40:46 +01:00
parent 9a611bbf32
commit 49a69633ba
27 changed files with 356 additions and 120 deletions

37
assets/css/grid.scss Normal file
View File

@ -0,0 +1,37 @@
.grid { display: flex; flex-wrap: wrap; }
.grid.\-top { align-items: flex-start; }
.grid.\-middle { align-items: center; }
.grid.\-bottom { align-items: flex-end; }
.grid.\-stretch { align-items: stretch; }
.grid.\-baseline { align-items: baseline; }
.grid.\-left { justify-content: flex-start; }
.grid.\-center { justify-content: center; }
.grid.\-right { justify-content: flex-end; }
.grid.\-between { justify-content: space-between; }
.grid.\-around { justify-content: space-around; }
.cell { flex: 1; box-sizing: border-box; }
.cell.\-center { text-align: center ;}
@media screen and (min-width: 600px) {
.cell.\-1of12 { flex: 0 0 calc(100% * 1 / 12); }
.cell.\-2of12 { flex: 0 0 calc(100% * 2 / 12); }
.cell.\-3of12 { flex: 0 0 calc(100% * 3 / 12); }
.cell.\-4of12 { flex: 0 0 calc(100% * 4 / 12); }
.cell.\-5of12 { flex: 0 0 calc(100% * 5 / 12); }
.cell.\-6of12 { flex: 0 0 calc(100% * 6 / 12); }
.cell.\-7of12 { flex: 0 0 calc(100% * 7 / 12); }
.cell.\-8of12 { flex: 0 0 calc(100% * 8 / 12); }
.cell.\-9of12 { flex: 0 0 calc(100% * 9 / 12); }
.cell.\-10of12 { flex: 0 0 calc(100% * 10 / 12); }
.cell.\-11of12 { flex: 0 0 calc(100% * 11 / 12); }
}
@media screen and (max-width: 600px) {
.grid {
flex-direction: column;
}
.cell {
flex: 0 0 auto;
}
}

View File

@ -7,21 +7,38 @@
//@import "node_modules/spectre.css/src/spectre"
//@import "node_modules/spectre.css/src/spectre-exp"
//@import "node_modules/spectre.css/src/spectre-icons"
//@import "node_modules/spectre.css/src/_variables"
@import "./grid"
@mixin container
max-width: 940px
width: 90%
margin: 0 auto
// Responsive breakpoints
$size-xs: 480px
$size-sm: 600px
$size-md: 840px
$size-lg: 960px
$size-xl: 1280px
$size-2x: 1440px
body
margin: 0
a
color: black
text-decoration-color: #e72520
&:hover
color: #e72520
@mixin container
max-width: $size-lg
margin: 0 auto
padding: 0 20px
.container
@include container
.header
position: fixed
z-index: 1
z-index: 3
left: 0
right: 0
height: 90px
@ -31,7 +48,6 @@ a
.container
display: flex
height: 100%
border-bottom: 1px dotted black
.accueil
padding: 15px
@ -45,8 +61,6 @@ a
margin-right: -20px
a
color: black
text-decoration-color: black
text-decoration-thickness: 3px
text-underline-offset: 10px
padding: 15px
@ -60,25 +74,127 @@ a
li
display: inline
.ancre
position: absolute
top: -126px
@media (max-width: $size-md)
.header
height: 70px
.container
justify-content: space-between
align-items: center
.logo
height: 30px
.ancre
top: -86px
@media (max-width: $size-sm)
.header
.menu
text-align: right
margin: 0
a
padding: 0
margin: 0
text-decoration-thickness: 1px
text-underline-offset: 1px
li
display: block
.bg
position: relative
height: 1000px
padding: 20px 0
&.colored
background-color: green
background-color: #f2f2f2
@media (max-width: $size-md)
padding: 10px 0
#content
padding-top: 90px
.container
@include container
.ancre
text-align: center
position: absolute
top: -106px
$gutter: 10px
$padding-card: 20px
$padding-card-body: 20px
.news
display: flex
flex-wrap: wrap
align-items: center
.card
margin: 20px 0
height: 300px
overflow: hidden
display: flex
&:nth-child(even)
.card-image
order: 2
.card-body
order: 1
margin-left: 0
margin-right: -40px
@media (max-width: 768px)
.menu
visibility: hidden
.card-image
width: 45%
overflow: hidden
display: flex
justify-content: center
img
padding: 0
margin: 0
align-self: center
min-height: 300px
.card-body
z-index: 2
width: 55%
box-shadow: 0 1px 3px rgba(0,0,0,.1)
border-bottom: 1px solid #ebebeb
margin-left: -40px
align-self: center
background-color: white
padding: $padding-card-body
h3
padding: 0
margin: 0
time
color: #bcc3ce
*:last-child
margin-bottom: 0
padding-bottom: 0
@media (max-width: $size-md)
.card
.card-image
width: 40%
.card-body
width: 60%
@media (max-width: $size-sm)
.card
height: inherit
.card-image
width: 30%
max-height: 200px
align-self: center
.card-body
align-self: inherit
margin: 0
width: 70%
&:nth-child(even)
.card-body
margin: 0

View File

@ -1,4 +1,6 @@
baseURL = "https://histoiredunpied.com/"
baseURL = "https://histoiredunpied.lamelio.fr/"
languageCode = "fr-fr"
title = "Histoire d'un Pied"
theme = "lowtech"
disableKinds = ["taxonomy", "taxonomyTerm"]

View File

@ -1,7 +0,0 @@
## À propos
blablabla
### Bienvenue !!!
Je voulais vous montrer comment faire un site low tech

22
content/accueil/about.md Normal file
View File

@ -0,0 +1,22 @@
---
title: À propos
---
{{< grid class="-middle" >}}
{{< cell class="-4of12 -center" >}}
<img src="./accueil/book.png" alt="Le livre" />
{{< /cell >}}
{{< cell class="-8of12" markdown="true" >}}
## test
Touchée par une terrible épreuve il y a 11 ans, lhistoire dun pied a débuté.
Jai mis à profit mes compétences de graphiste pour raconter en images
deux ans de ma vie, concentrés en 20 carnets.
Au début dessiner me permettait de passer le temps qui sest arrêté dun coup !
Puis cela est devenu une véritable addiction et même une thérapie.
Jy raconte mes journées, mes émotions, mes doutes, mes questionnements,
et la découverte du milieu hospitalier.
{{< /cell >}}
{{< /grid >}}

9
content/accueil/actu.md Normal file
View File

@ -0,0 +1,9 @@
---
title: Actualités
weight: 2
bg_colored: true
---
## Actualités
{{< actu >}}

BIN
content/accueil/book.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -1,3 +1,8 @@
---
title: Contact
weight: 3
---
## Contact
blablabla

3
content/accueil/index.md Normal file
View File

@ -0,0 +1,3 @@
---
headless: true
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

View File

@ -0,0 +1,7 @@
---
title: Bienvenue
date: 2020-02-11
image: illustration-autumn1.jpg
---
Je vous invite à sauter à pieds joints dans mon nouveau site "Histoire d'un pied" et à suivre l'aventure de l'édition de mes carnets. Au fil du temps, je vous tiendrai au courant des actus et avancées de mon projet !

3
content/actu/index.md Normal file
View File

@ -0,0 +1,3 @@
---
headless: true
---

View File

@ -1,23 +1,13 @@
{{ define "main" }}
<div class="bg">
<p id="actu" class="ancre" />
{{ with .Site.GetPage "/accueil" }}
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
<div class="bg{{if isset .Params "bg_colored" }} colored{{end}}">
{{ with .File }}<p id="{{ .BaseFileName }}" class="ancre" />{{ end }}
<div class="container">
<h2>Actualités</h2>
<p>
orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
{{ .Content }}
</div>
</div>
<div class="bg colored">
<p id="about" class="ancre" />
<div class="container">
{{ with .Site.GetPage "/about.md" }}{{ .Content }}{{ end }}
</div>
</div>
<div class="bg">
<p id="contact" class="ancre" />
<div class="container">
{{ with .Site.GetPage "/contact.md" }}{{ .Content }}{{ end }}
</div>
</div>
{{ end }}
{{ end }}
{{ end }}

View File

@ -0,0 +1,2 @@
test
{{ .Page.Dir }}

View File

@ -0,0 +1,23 @@
<div class="news">
{{ with .Site.GetPage "/actu" }}
{{ $actu := . }}
{{ range .Resources.ByType "page" }}
{{ if or (not .Params.draft) (eq .Hugo.Environment "development") }}
<article class="card">
<div class="card-image">
{{ $src := $actu.Resources.GetMatch (printf "*%s/%s*" (path.Base .File.Dir) (.Params.Image)) }}
{{ if $src }}
{{ $image := $src.Fill "432x300" }}
<img src="{{ $image.RelPermalink }}" />
{{ end }}
</div>
<div class="card-body">
<h3>{{ .Title }}</h3>
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }} {{ .Date.Year }}</time>
{{ .Content }}
</div>
</article>
{{ end }}
{{ end }}
{{ end }}
</div>

View File

@ -0,0 +1,10 @@
{{ $class := .Get "class" }}
{{ $body := .Get "text" | default .Inner }}
{{ $markdown := .Get "markdown" | default false }}
<div class="cell{{ with $class }} {{ . }}{{ end }}">
{{ if $markdown }}
{{ $.Page.RenderString .Inner }}
{{ else }}
{{ .Inner }}
{{ end }}
</div>

View File

@ -0,0 +1,3 @@
{{ $class := .Get "class" }}
{{ $body := .Get "text" | default .Inner }}
<div class="grid{{ with $class }} {{ . }}{{ end }}">{{ $body }}</div>

View File

@ -0,0 +1 @@
{{ partial "image.html" . }}

View File

@ -8,7 +8,9 @@
},
"scripts": {
"start": "hugo server -D",
"build": "hugo -D --minify",
"build": "rm -rf public && hugo -D --minify",
"favicon": "convert static/icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico",
"deploy": "docker-compose up -d --build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Simon <simon@lamelio.fr>",

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

59
static/logo.svg Normal file
View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 246.5 46.7" style="enable-background:new 0 0 246.5 46.7;" xml:space="preserve">
<style type="text/css">
.st0{fill:#E72520;}
</style>
<title>logo_histoiredunpied_site</title>
<g>
<path d="M60.8,26.6v10.2c0,1.6-2,1-2.1,0.5c0-1.3,0.1-7.3,0.1-8.5c0-2.8,0.3-17.3,0.3-20.1c0.3-0.3,0.6-0.3,1-0.3
c0.5,0,0.8,0.3,1.1,0.8c0,3.5-0.3,8.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6-2.3c-1.2-0.7-1.3-1.4-2.3-1.6c-4,0.6-4.5-0.6-2.7-3.9c0.5-2.9,1.5-5.7,1.9-8.6C15,10.9,15.2,8.5,14.5,2
c0-0.1,0-0.2,0-0.3C6,5.2,0,13.6,0,23.4c0,12.9,10.5,23.4,23.4,23.4s23.4-10.5,23.4-23.4C46.7,10.5,36.3,0,23.4,0z"/>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 256.9 53.8" style="enable-background:new 0 0 256.9 53.8;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1D1D1B;}
</style>
<title>logo_histoiredunpied_site</title>
<g>
<path class="st0" d="M65.1,27.9v10.2c0,1.6-2,1-2.1,0.5c0-1.3,0.1-7.3,0.1-8.5c0-2.8,0.3-17.3,0.3-20.1c0.3-0.3,0.6-0.3,1-0.3
c0.5,0,0.8,0.3,1.1,0.8c0,3.5-0.3,8.4-0.3,12.1c0,0.5,0,2.8,0,3.3c0.3,0.3,0.5,0.3,0.9,0.3c1.4,0,2.7,0,4.1,0.1
c0.3-4.1,0.4-11.1,0.3-15.7v-0.2c0-0.5,0.4-0.8,0.9-0.8c0.4,0,0.9,0.4,1.2,0.7c0,0.8-0.1,3.1-0.1,3.9c-0.5,16.5,0.4,24.9-0.8,24.9
c-1.3,0-1.3-1.5-1.3-3.9c0-0.6-0.2-6.5-0.2-7.1h-5.1V27.9z"/>
<path class="st0" d="M77.2,11.9c0.3-0.7,0.4-0.8,1.2-0.8c1,0,1,0.5,1,1.5c0,0.1,0,0.6,0,0.6l-1.1,24.7c-0.1,1.6-2.1,1.7-2.1,0.7
L77.2,11.9z"/>
<path class="st0" d="M83,32.4c1.4,0.4,0.1,3.6,1.9,4.6h0.2c2,0,2.6-2.8,2.6-4.2c0-2-0.1-4.1-1-6c-1.7-3.9-5.3-7.1-5.3-11.6
c0-2,1.2-5.4,3.7-5.4c1.6,0,4.2,1.3,4.2,3.1c0,0.7-0.2,1.1-0.9,1.1c-1.4,0-1-2.2-3-2.2c-1.8,0-2,2.6-2,3.8c0,3.6,3.1,6.2,4.7,9.2
c1.5,2.8,2.2,6.8,1.4,9.5c-0.6,1.9-2.2,4.4-4.4,4.4c-2.7,0-3.5-3.3-3.5-5.5C81.6,32.8,82.4,32.2,83,32.4z"/>
<path class="st0" d="M94.5,12.5c-2.2,0.1-3.2,0.1-3.3-0.5c0.1-1.2,0.1-1.7,3.8-1.4h3c0.8,0,2.1,0.1,2.1,1.2c0,0.3-0.4,0.7-0.7,0.7
h-3l0.7,22.9c0,0.3-0.7,0.5-0.9,0.5c-0.2,0-0.9-0.2-0.9-0.5L94.5,12.5z"/>
<path class="st0" d="M108.8,10.2c6.4,0.7,5.5,16.1,5.1,20.8c-0.3,2.6-1.6,7.2-5.2,7.2c-6.4,0-6.7-10.9-6.7-15.1
C102.1,18.6,102.4,10.2,108.8,10.2z M104.1,23c0,10.5,1.9,13.4,4.5,13.4c3.5,0,3.6-9.1,3.6-11.4v-0.1c0-2.8-0.8-12.9-4.2-12.9
c-2.7,0-3.9,6-3.9,7.8C104.1,21,104.1,22,104.1,23z"/>
<path class="st0" d="M118.8,11.9c0.3-0.7,0.4-0.8,1.2-0.8c1,0,1,0.5,1,1.5c0,0.1,0,0.6,0,0.6l-1.1,24.7c-0.1,1.6-2.1,1.7-2.1,0.7
L118.8,11.9z"/>
<path class="st0" d="M124.6,36.1c0-8.1,0.3-16.3,0.5-24.4c0.1-1.7,0.7-1.7,2.1-1.7h0.4c3.3,0,5.4,2.2,5.4,5.3v0.4
c0,2.6-0.7,5.7-3.1,7.3c0.2,0.2,1,1.2,1.2,1.4c1.6,2.1,1.2,7.3,1.4,9.8c0,0.2,0.2,1.9,0.2,2.1v0.3c0,0.6-0.6,0.7-1,0.7l0,0
c-0.4,0-0.9,0-1-0.5c0-1.2-0.4-6.7-0.4-7.9c-0.1-1.8-0.5-4.2-2.7-4.2H127c-0.1,0.3-0.2,1.8-0.2,2.1s-0.2,8.3-0.3,11.4
c0,0.7,0.1,1.4-0.8,1.4c-0.4,0-0.8-0.1-1.1-0.5L124.6,36.1L124.6,36.1z M127.4,22.2c2.6,0,3.5-4.7,3.5-6.4c0-1.7-0.8-3.9-2.8-3.9
c-0.5,0-0.9,0.3-0.9,0.9c0,3.1-0.3,5.8-0.3,9C126.9,22.1,127.2,22.2,127.4,22.2z"/>
<path class="st0" d="M136.6,13c0-0.6,0.6-1.3,1.3-1.3h5.7c0.2,0,0.9,0.5,1,0.7c0,0.1,0,0.1,0,0.2c0,0.7-1,1-1.5,1h-4.3l0.2,12
l3.9-0.6h0.2c1.7,0,1,1.7-0.4,1.9l-3.6,0.5l-0.1,9.4c0.3,0,1.5,0,1.9,0c2.4,0,4.2-0.8,4.3,0.8c0.1,1.2-8,1.1-8,0.4L136.6,13z"/>
<path class="st0" d="M159.5,32c0-3.1,0-17.5,0-20.6v-0.1c0-0.8,0.3-1.6,1-1.9h0.3c1.4,0,3,0.3,4,1.3c3.9,3.5,4.6,9.6,4.4,14.5
c-0.3,6.9-1.9,13.6-7.8,14.3c-1.2,0.1-1.9,0-1.9-1.4V32z M161.5,25.1c0,3.2-0.1,8.7,0,12.3c4.5-0.7,5.7-7.8,5.7-11.8
c0-2.8-0.2-14-5.2-14h-0.3C161.7,13.7,161.5,23.1,161.5,25.1z"/>
<path class="st0" d="M172.8,11.3c0-0.6,0.3-0.8,0.9-0.8c0.3,0,1.3,0.2,1.3,0.7v12.2c0,0.4-0.4,1.1-0.9,1.1c-0.4,0-0.6-0.1-0.9-0.5
C173,19.9,172.8,15.5,172.8,11.3z"/>
<path class="st0" d="M184.7,37.1c-0.3,0-0.5,0-0.9-0.1c-4.4-0.5-4.8-11.5-5.1-24.1l-0.1-1.8v-0.2c0-0.8,1.9-0.8,2.2,0
c0.6,1-1,24.5,4,24.5c1.3,0,1.7-2.1,1.7-3c0.1-4.5,0-14.5-0.1-21.5c0.2-0.6,0.4-0.6,1-0.6s1.1,0.1,1.1,0.7
c0.2,6.3-0.1,12.7,0.1,19.4C188.5,33.6,188.5,37.1,184.7,37.1z"/>
<path class="st0" d="M192.6,12.8c-0.1-1.4,1.9-2.3,2.7-0.2l7.3,19.9c0-1.6,0.3-10.4,0.5-14c0.1-2.2,0-4.4,0.4-6.4
c0-0.4,0.4-0.4,0.9-0.4c0.9,0,0.9,0.1,0.9,0.9c-0.1,3.7-0.6,7.5-0.8,11.2c-0.1,2.1-0.4,12.1-0.4,14.1c-0.3,0.8-1.4,0.3-1.7-0.3
c-0.4-0.8-0.6-1.5-8.3-21.9L194,37.9c0,1.1-1.8,1-1.8,0.2L192.6,12.8z"/>
<path class="st0" d="M219.9,30.4c0-2.9,0.2-16.3,0.3-19.2c0.2-0.5,1.1-0.4,1.5-0.4c3.7,0,6.4,3.3,6.4,6.9c0,3.9-2.7,8.2-6.2,9.9
c0,0.6-0.2,3.4-0.2,4c0,1.2,0,6.8,0,8c-0.2,0.4-0.8,0.5-1.1,0.5s-0.4,0-0.7-0.2V30.4z M221.8,25.2c0.3,0,0.6-0.1,0.8-0.3
c2.1-1.9,3.3-4.1,3.3-7c0-1.9-1.3-5.3-3.8-5.3L221.8,25.2z"/>
<path class="st0" d="M230.7,11.9c0.3-0.7,0.4-0.8,1.2-0.8c1,0,1,0.5,1,1.5c0,0.1,0,0.6,0,0.6l-1.1,24.7c-0.1,1.6-2.1,1.7-2.1,0.7
L230.7,11.9z"/>
<path class="st0" d="M236.5,13c0-0.6,0.6-1.3,1.3-1.3h5.7c0.2,0,0.9,0.5,1,0.7c0,0.1,0,0.1,0,0.2c0,0.7-1,1-1.5,1h-4.4l0.2,12
l3.9-0.6h0.2c1.7,0,1,1.7-0.4,1.9l-3.6,0.5l-0.1,9.4c0.3,0,1.5,0,1.9,0c2.4,0,4.2-0.8,4.3,0.8c0.1,1.2-8,1.1-8,0.4L236.5,13z"/>
<path class="st0" d="M247.2,32c0-3.1,0-17.5,0-20.6v-0.1c0-0.8,0.3-1.6,1-1.9h0.3c1.4,0,3,0.3,4,1.3c3.9,3.5,4.6,9.6,4.4,14.5
c-0.3,6.9-1.9,13.6-7.8,14.3c-1.2,0.1-1.9,0-1.9-1.4L247.2,32L247.2,32z M249.2,25.1c0,3.2-0.1,8.7,0,12.3
c4.5-0.7,5.7-7.8,5.7-11.8c0-2.8-0.2-14-5.2-14h-0.3C249.4,13.7,249.2,23.1,249.2,25.1z"/>
</g>
<path class="st0" d="M26.9,0c-0.5,0-1,0-1.4,0c-0.1,0.8-0.1,1.5-0.2,2.2c-0.5,5.2-0.2,10.6-0.1,15.8c0.1,3.6-0.8,10,4.5,10
c2,0,2.6,0.2,3.9-0.4c1.4-0.6,2.5-1.9,3.9-2.1c2.4-0.2,1.1,2.2,0.3,3.1c0.8,0.1,1.8-0.6,2.5,0c0.8,1.2-2,3.2,0,2.4
c1.9-1.2,3.9-0.4,1.5,1.6c0.6-0.1,2.3-0.3,1.7,0.7c-0.3,0.5-1.7,1.4,0,0.9c1.4-0.4,0.5,1,0.4,1.1c-2.4,3.2-11.6,4.4-15.6,3.6
c-2.7-0.4-5.3-1.3-7.6-2.7c-1.4-0.8-1.5-1.6-2.7-1.8c-4.6,0.7-5.2-0.7-3.2-4.5c0.6-3.3,1.8-6.6,2.2-9.9c0.1-7.5,0.4-10.2-0.4-17.6
c0-0.1,0-0.2,0-0.4C6.9,6.1,0,15.7,0,26.9c0,14.9,12,26.9,26.9,26.9s26.9-12,26.9-26.9S41.8,0,26.9,0z"/>
</svg>

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,2 +1,12 @@
<meta charset="utf-8">
<base href="{{ .Site.BaseURL }}">
<title>{{ .Site.Title }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ $style := resources.Get "css/main.sass" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">

View File

@ -1,19 +1,18 @@
<header class="header">
<div class="container">
<a href="/" class="accueil">
<img src="/logo_histoiredunpied_site.svg" alt="logo" class="logo" />
<img src="/logo.svg" alt="logo" class="logo" />
</a>
<nav class="menu">
<ul>
{{ with .Site.GetPage "/accueil" }}
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
<li>
<a class="navigation-lien" href="#actu" title="Actualités">Actualités</a>
</li>
<li>
<a class="navigation-lien" href="#about" title="À propos">À propos</a>
</li>
<li>
<a class="navigation-lien" href="#contact" title="Contact">Contact</a>
<a class="navigation-lien" href="#{{ .File.BaseFileName }}" title="{{ .Title }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</nav>
</div>