Skip to content

Commit 88688d7

Browse files
committed
Rework.
1 parent fb7fdc4 commit 88688d7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+10
-11
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ all: build commit publish
44

55
watch:
66
@rm -fr ./public/* --force --interactive=never
7-
@hugo server -w -t v1 -D
7+
@hugo server -w -D
88

99
build:
1010
@echo "build start"
1111
@rm -fr ./public/* --force --interactive=never
12-
@hugo -t v1
12+
@hugo
1313
@rm -fr ./public/sass --force --interactive=never
1414
@echo "build succes"
1515

config.toml

+2-8
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,16 @@ title = "Jean-Yves Gastaud"
1818
googleAnalytics = true
1919
disqusShortname = "gastaudio"
2020

21-
[[menu.main]]
22-
name = "Accueil"
23-
pre = ""
24-
url = "/"
25-
weight = 0
26-
2721
[[menu.main]]
2822
name = "Blog"
2923
pre = ""
30-
url = "/article"
24+
url = "/article/"
3125
weight = 1
3226

3327
[[menu.main]]
3428
name = "Projets / Contributions"
3529
pre = ""
36-
url = "/projet"
30+
url = "/projet/"
3731
weight = 2
3832

3933
[[menu.footer]]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- Header -->
2-
<header id="header" class="skel-layers-fixed">
2+
<header id="header" class="{{if .IsHome}}alt{{else}}skel-layers-fixed{{end}}">
33
<h1 id="logo"><a href="{{ .Site.BaseURL }}">Blog - <span>JYGastaud</span></a></h1>
44
{{ partial "menu.html" . }}
55
</header>

themes/v1/layouts/partials/menu.html layouts/partials/menu.html

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<nav id="nav">
22
<ul>
33
{{ $currentNode := . }}
4+
{{if not .IsHome}}
5+
<li>
6+
<a href="/" title="Accueil">Accueil</a>
7+
</li>
8+
{{end}}
49
{{ range .Site.Menus.main }}
510
<li class="{{if $currentNode.HasMenuCurrent "main" . }} current{{end}}">
611
<a href="{{ .URL }}" title="{{ .Name }}">{{ .Name }}</a>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)