Skip to content
Snippets Groups Projects
Commit f3a093cb authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Merge branch 'pending.data' into 'develop'

Highlight current data

See merge request !17
parents a113af16 ad99bc37
Branches
Tags
2 merge requests!18Develop,!17Highlight current data
Pipeline #5585 passed with stages
in 14 seconds
......@@ -7,6 +7,7 @@ draft: true
weight: ""
type: "custom"
layout: ""
current: true
---
**PENDING**
\ No newline at end of file
......@@ -7,6 +7,7 @@ draft: false
weight: "4"
type: "custom"
layout: ""
current: false
---
**PENDING**
\ No newline at end of file
......@@ -7,6 +7,7 @@ draft: false
weight: "5"
type: "custom"
layout: ""
current: false
---
**PENDING**
\ No newline at end of file
......@@ -7,6 +7,7 @@ draft: false
weight: "3"
type: "custom"
layout: ""
current: false
---
**PENDING**
\ No newline at end of file
......@@ -7,5 +7,7 @@ draft: false
weight: "1"
type: "custom"
layout: "hu.donor.deep"
current: true
current: true
---
......@@ -7,5 +7,6 @@ draft: true
weight: "2"
type: "custom"
layout: "hu.donor.shallow"
current: false
---
......@@ -7,6 +7,7 @@ draft: false
weight: "7"
type: "custom"
layout: ""
current: false
---
**PENDING**
\ No newline at end of file
......@@ -7,6 +7,7 @@ draft: false
weight: "6"
type: "custom"
layout: ""
current: false
---
**PENDING**
\ No newline at end of file
......@@ -6,8 +6,15 @@
</div>
<div class="content">
{{ range .Pages.ByWeight }}
<li><a href="{{.Permalink}}">{{.Params.name}}</a></li>
<br>
{{ range where .Pages.ByWeight "Params.current" true }}
<li><b><a href="{{.Permalink}}">{{.Params.name}}</a></b></li>
{{ end }}
<br>
<hr>
<br>
{{ range where .Pages.ByWeight "Params.current" false }}
<li><i><a href="{{.Permalink}}">{{.Params.name}}</a></i></li>
{{ end }}
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment