Add Bulma, remove ids, start using classes
parent
411418190c
commit
dd36705f33
|
@ -9,6 +9,7 @@ languageName: Français
|
||||||
watch: true
|
watch: true
|
||||||
paginate: 5
|
paginate: 5
|
||||||
summaryLength: 50
|
summaryLength: 50
|
||||||
|
|
||||||
# All pages under posts section will have this link structure
|
# All pages under posts section will have this link structure
|
||||||
permalinks:
|
permalinks:
|
||||||
posts: /:sections/:title/
|
posts: /:sections/:title/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<body>
|
<body>
|
||||||
{{- partial "navbar.html" . -}}
|
{{- partial "navbar.html" . -}}
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<div id="content">
|
<div class="content">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{- partial "about.html" . -}}
|
{{- partial "about.html" . -}}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<aside id="about">
|
<aside>
|
||||||
blablabla je suis Quentin ajouter une image
|
blablabla je suis Quentin ajouter une image
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
{{ $style := resources.Get "css/bulma.min.css" }}
|
||||||
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||||
<title>
|
<title>
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
</title>
|
</title>
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<aside id="meta">
|
<aside>
|
||||||
<div>
|
<div>
|
||||||
<section>
|
<section>
|
||||||
<time class="post-date" datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
|
<time class="post-date" datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
|
||||||
Article publié le {{ .Date.Day }} {{ index $.Site.Data.months_fr (printf "%d" .Date.Month) }} {{ .Date.Year }} (dernière modification le {{ .Lastmod.Day }} {{ index $.Site.Data.months_fr (printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }})
|
Article publié le {{ .Date.Day }} {{ index $.Site.Data.months_fr (printf "%d" .Date.Month) }} {{ .Date.Year }} (dernière modification le {{ .Lastmod.Day }} {{ index $.Site.Data.months_fr (printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }})
|
||||||
</time>
|
</time>
|
||||||
<h4 id="wordcount"> {{ .FuzzyWordCount }} mots </h4>
|
<h4>{{ .FuzzyWordCount }} mots </h4>
|
||||||
</section>
|
</section>
|
||||||
{{ with .Params.categories }}
|
{{ with .Params.categories }}
|
||||||
<ul id="categories">
|
<ul>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<li><a href="{{ "categories" | absURL }}/{{ . | urlize }}">{{ . }}</a> </li>
|
<li><a href="{{ "categories" | absURL }}/{{ . | urlize }}">{{ . }}</a> </li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -21,7 +21,7 @@ If the current blog post belongs to a case, we will add a side menu
|
||||||
with all other blog posts belonging to that case, emphasis to the current.
|
with all other blog posts belonging to that case, emphasis to the current.
|
||||||
-->
|
-->
|
||||||
{{ with .CurrentSection.Params.Title }}
|
{{ with .CurrentSection.Params.Title }}
|
||||||
<aside class="menu" id="case">
|
<aside class="menu">
|
||||||
<p class="menu-label">
|
<p class="menu-label">
|
||||||
Dans le dossier « {{ . }} »...
|
Dans le dossier « {{ . }} »...
|
||||||
</p>
|
</p>
|
||||||
|
@ -38,15 +38,15 @@ with all other blog posts belonging to that case, emphasis to the current.
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<section id="main">
|
<section>
|
||||||
<h1 id="title">{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<div>
|
<div>
|
||||||
<article id="content">
|
<article>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<aside id="prev_next">
|
<aside>
|
||||||
<div>
|
<div>
|
||||||
{{ with .PrevInSection }}
|
{{ with .PrevInSection }}
|
||||||
<a class="previous" href="{{ .Permalink }}"> {{ .Title }}</a>
|
<a class="previous" href="{{ .Permalink }}"> {{ .Title }}</a>
|
||||||
|
|
Loading…
Reference in New Issue