début travail hugo
This commit is contained in:
parent
e1073ab21f
commit
80b7f7466d
22 changed files with 385 additions and 0 deletions
0
themes/anna/layouts/partials/footer.html
Normal file
0
themes/anna/layouts/partials/footer.html
Normal file
11
themes/anna/layouts/partials/head.html
Normal file
11
themes/anna/layouts/partials/head.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<head>
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="{{ .Description }}">
|
||||
<base href="{{ .Site.BaseURL }}">
|
||||
{{ $styles := resources.Get "sass/main.scss" | toCSS }}
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
</head>
|
||||
|
18
themes/anna/layouts/partials/header.html
Normal file
18
themes/anna/layouts/partials/header.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<header>
|
||||
<ul id="navbar">
|
||||
<li><img id="logo" src="{{ relURL "logo.svg" }}"></li>
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if .HasChildren }}
|
||||
{{ range .Children }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
<div id="title">
|
||||
<h1>Anna Uetwiller</h1>
|
||||
<h2>Architecte - Dessinatrice</h2>
|
||||
</div>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue