diff --git a/config.toml b/config.toml index 0d8bc0976..f7005b978 100644 --- a/config.toml +++ b/config.toml @@ -111,10 +111,16 @@ enableEmoji = true parent = "publications" weight = 2 +[[menu.main]] + identifier = "resources" + name = "Resources" + url = "/resources/" + weight = 7 + [[menu.main]] name = "News" identifier = "news" - weight = 7 + weight = 8 [[menu.main]] identifier = "Our news" @@ -130,11 +136,6 @@ enableEmoji = true parent = "news" weight = 2 -#[[menu.main]] -# name = "Blog" -# url = "/blog/" -# weight = 8 - [permalinks] post = "/:year/:month/:day/:slug/" pages = "/:filename/" diff --git a/content/resources/_index.md b/content/resources/_index.md new file mode 100644 index 000000000..fe0402cb7 --- /dev/null +++ b/content/resources/_index.md @@ -0,0 +1,8 @@ +--- +title: 'Resources' +heroHeading: 'Resources' +heroSubHeading: '' +heroBackground: '/images/SouthAtlantic.A2002157.1055.250m.jpg' +--- + +🚧 Under Development 🚧 diff --git a/content/sitevisit/_index.md b/content/sitevisit/_index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/themes/hugo-hero-theme/layouts/resources/list.html b/themes/hugo-hero-theme/layouts/resources/list.html new file mode 100644 index 000000000..2f93b27dd --- /dev/null +++ b/themes/hugo-hero-theme/layouts/resources/list.html @@ -0,0 +1,27 @@ +{{ define "header_css" }}{{ end }} +{{ define "body_classes" }}page-work-list{{ end }} +{{ define "header_classes" }}{{ end }} + +{{ define "main" }} + +{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "content" .)}} +{{ if .Content }} +