Commit 585940b 1 parent e56de46 commit 585940b Copy full SHA for 585940b
File tree 2 files changed +18
-8
lines changed
2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ <h2>Articles récents
12
12
< header >
13
13
< h3 > {{ .LinkTitle }}</ h3 >
14
14
< p class ="author ">
15
- < a href ="{{ $author.url }} "> {{ $author.name }}</ a > –
16
- < time > < a href =" {{ .RelPermalink }} " > {{ time.Format "2006-01-02" .Date }}</ a > </ time >
15
+ par < a href ="{{ $author.url }} "> {{ $author.name }}</ a > –
16
+ < time > {{ time.Format "2006-01-02" .Date }}</ time >
17
17
</ p >
18
18
</ header >
19
19
{{ .Summary }}
Original file line number Diff line number Diff line change 5
5
< article >
6
6
< header >
7
7
{{ $author := index .Site.Data.authors (.Params.author | default "default") }}
8
+ {{ $abstract := or .Params.abstract .Params.redirect_to .RelPermalink }}
8
9
< h3 > {{ .LinkTitle }}</ h3 >
9
10
< p class ="author ">
10
- {{ if $author }}
11
- < a href ="{{ $author.url }} "> {{ $author.name }}</ a > –
12
- {{ end }}
13
- {{ if .Params.domain }}
14
- {{ $abstract := or .Params.abstract .Params.redirect_to .RelPermalink }}
15
- < a href ="{{ $abstract }} "> {{.Params.domain }}</ a > –
11
+ {{ if in .Params.tags "conférences" }}
12
+ conférence de < a href ="{{ $author.url }} "> {{ $author.name }}</ a > –
13
+ {{ if .Params.domain }}
14
+ < a href ="{{ $abstract }} "> {{.Params.domain }}</ a > –
15
+ {{ end }}
16
+ {{ else if in .Params.tags "presse" }}
17
+ {{ if .Params.domain }}
18
+ article de < a href ="{{ $abstract }} "> {{.Params.domain }}</ a > –
19
+ {{ end }}
20
+ {{ else if .Params.redirect_to }}
21
+ {{ if .Params.domain }}
22
+ billet de < a href ="{{ $abstract }} "> {{.Params.domain }}</ a > –
23
+ {{ end }}
24
+ {{ else if $author }}
25
+ par < a href ="{{ $author.url }} "> {{ $author.name }}</ a > –
16
26
{{ end }}
17
27
< time > {{ time.Format "2006-01-02" .Date }}</ time >
18
28
</ p >
You can’t perform that action at this time.
0 commit comments