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

Highlight current data

parent 42f3415b
Branches
Tags
2 merge requests!18Develop,!17Highlight current data
...@@ -7,6 +7,7 @@ draft: true ...@@ -7,6 +7,7 @@ draft: true
weight: "" weight: ""
type: "custom" type: "custom"
layout: "" layout: ""
current: true
--- ---
**PENDING** **PENDING**
\ No newline at end of file
...@@ -7,6 +7,7 @@ draft: false ...@@ -7,6 +7,7 @@ draft: false
weight: "4" weight: "4"
type: "custom" type: "custom"
layout: "" layout: ""
current: false
--- ---
**PENDING** **PENDING**
\ No newline at end of file
...@@ -7,6 +7,7 @@ draft: false ...@@ -7,6 +7,7 @@ draft: false
weight: "5" weight: "5"
type: "custom" type: "custom"
layout: "" layout: ""
current: false
--- ---
**PENDING** **PENDING**
\ No newline at end of file
...@@ -7,6 +7,7 @@ draft: false ...@@ -7,6 +7,7 @@ draft: false
weight: "3" weight: "3"
type: "custom" type: "custom"
layout: "" layout: ""
current: false
--- ---
**PENDING** **PENDING**
\ No newline at end of file
...@@ -7,5 +7,7 @@ draft: false ...@@ -7,5 +7,7 @@ draft: false
weight: "1" weight: "1"
type: "custom" type: "custom"
layout: "hu.donor.deep" layout: "hu.donor.deep"
current: true
current: true
--- ---
...@@ -7,5 +7,6 @@ draft: true ...@@ -7,5 +7,6 @@ draft: true
weight: "2" weight: "2"
type: "custom" type: "custom"
layout: "hu.donor.shallow" layout: "hu.donor.shallow"
current: false
--- ---
...@@ -7,6 +7,7 @@ draft: false ...@@ -7,6 +7,7 @@ draft: false
weight: "7" weight: "7"
type: "custom" type: "custom"
layout: "" layout: ""
current: false
--- ---
**PENDING** **PENDING**
\ No newline at end of file
...@@ -7,6 +7,7 @@ draft: false ...@@ -7,6 +7,7 @@ draft: false
weight: "6" weight: "6"
type: "custom" type: "custom"
layout: "" layout: ""
current: false
--- ---
**PENDING** **PENDING**
\ No newline at end of file
...@@ -6,8 +6,15 @@ ...@@ -6,8 +6,15 @@
</div> </div>
<div class="content"> <div class="content">
{{ range .Pages.ByWeight }} <br>
<li><a href="{{.Permalink}}">{{.Params.name}}</a></li> {{ 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 }} {{ end }}
</div> </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