File tree Expand file tree Collapse file tree 7 files changed +94
-168
lines changed
themes/hugo-hero-theme/layouts Expand file tree Collapse file tree 7 files changed +94
-168
lines changed Original file line number Diff line number Diff line change @@ -111,10 +111,16 @@ enableEmoji = true
111
111
parent = " publications"
112
112
weight = 2
113
113
114
+ [[menu .main ]]
115
+ identifier = " resources"
116
+ name = " Resources"
117
+ url = " /resources/"
118
+ weight = 7
119
+
114
120
[[menu .main ]]
115
121
name = " News"
116
122
identifier = " news"
117
- weight = 7
123
+ weight = 8
118
124
119
125
[[menu .main ]]
120
126
identifier = " Our news"
@@ -130,11 +136,6 @@ enableEmoji = true
130
136
parent = " news"
131
137
weight = 2
132
138
133
- # [[menu.main]]
134
- # name = "Blog"
135
- # url = "/blog/"
136
- # weight = 8
137
-
138
139
[permalinks ]
139
140
post = " /:year/:month/:day/:slug/"
140
141
pages = " /:filename/"
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : ' Resources'
3
+ heroHeading : ' Resources'
4
+ heroSubHeading : ' '
5
+ heroBackground : ' /images/SouthAtlantic.A2002157.1055.250m.jpg'
6
+ ---
7
+
8
+ 🚧 Under Development 🚧
Original file line number Diff line number Diff line change
1
+ {{ define "header_css" }}{{ end }}
2
+ {{ define "body_classes" }}page-work-list{{ end }}
3
+ {{ define "header_classes" }}{{ end }}
4
+
5
+ {{ define "main" }}
6
+
7
+ {{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "content" .)}}
8
+ {{ if .Content }}
9
+ < div class ="container pt-6 pt-md-10 ">
10
+ < div class ="row ">
11
+ < div class ="col-12 ">
12
+ < div class ="page-intro ">
13
+ {{ .Content }}
14
+ </ div >
15
+ </ div >
16
+ </ div >
17
+ </ div >
18
+ {{ end }}
19
+
20
+ < div class ="container pb-6 pt-6 pb-md-10 pt-md-10 ">
21
+ < div class ="row ">
22
+ {{ range .Pages.ByWeight }}
23
+ < div class ="col-12 col-md-6 mb-2 "> {{ .Render "summary" }}</ div >
24
+ {{ end }}
25
+ </ div >
26
+ </ div >
27
+ {{ end }}
Original file line number Diff line number Diff line change
1
+ {{ define "header_css" }}{{ end }}
2
+ {{ define "body_classes" }}page-work-single{{ end }}
3
+ {{ define "header_classes" }}{{ end }}
4
+
5
+ {{ define "main" }}
6
+ {{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "section" .Section "content" .)}}
7
+ < div class ="container pt-4 pt-md-10 pb-4 pb-md-10 ">
8
+ < div class ="row justify-content-start ">
9
+ < div class ="col-12 col-md-8 ">
10
+ < div class ="work work-single ">
11
+ < div class ="text text-justify mx-auto "> {{.Content}}</ div >
12
+ </ div >
13
+ </ div >
14
+ {{ if .Params.images }}
15
+ < div class ="col-12 pt-4 pt-md-10 ">
16
+ < h2 class ="mb-2 text-uppercase "> Gallery</ h2 >
17
+ < div class ="masonry ">
18
+ {{ range .Params.images }}
19
+ < div class ="work-image item ">
20
+ < img src ="{{ . | relURL }} "/>
21
+ </ div >
22
+ {{ end }}
23
+ </ div >
24
+ </ div >
25
+ {{ end }}
26
+ </ div >
27
+ </ div >
28
+ {{ end }}
29
+
30
+ {{ define "footer_js" }}
31
+ {{ $library := resources.Get "js/libs/library.js" }}
32
+ {{ $services := resources.Get "js/pages/services.js" }}
33
+ {{ $servicesJS := slice $library $services |resources.Concat "js/services.js" }}
34
+ {{ if .Site.IsServer }}
35
+ < script type ="text/javascript " src ="{{ $servicesJS.RelPermalink }} "> </ script >
36
+ {{ else }}
37
+ < script type ="text/javascript " src ="{{ ($servicesJS | minify | fingerprint).RelPermalink }} "> </ script >
38
+ {{ end }}
39
+ {{ end }}
Original file line number Diff line number Diff line change
1
+ < div class ="work work-summary ">
2
+ {{ if .Params.thumbnail }}
3
+ < div class ="work-image ">
4
+ < a href ="{{ .RelPermalink }} "> < img src ="{{ .Params.thumbnail | relURL }} "/> </ a >
5
+ </ div >
6
+ {{ end }}
7
+ < div class ="work-content ">
8
+ < h2 class ="work-title ">
9
+ < a href ="{{ .Permalink }} "> {{ .Title }}</ a >
10
+ </ h2 >
11
+ {{ .Content | truncate 120 "..." }}
12
+ </ div >
13
+ </ div >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments