Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the navigation items of web site described in issue 84. #91

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 25 additions & 9 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,44 @@ publishDir = "public"

[[menu.header]]
weight = 1
name = "Use Cases"
url = "/overview/fdiousecases"
name = "What's FD.io?"
url = "/overview/whatsfdio"

[[menu.header]]
weight = 2
name = "Get Started With VPP"
name = "Technology"
url = "/vppproject/vpptech"

[[menu.header]]
weight = 3
name = "Documentation"
url = "/documentation"
name = "Features"
url = "/vppproject/vppfeatures"

[[menu.header]]
weight = 4
name = "The Latest"
url = "/latest/news"
name = "Applications"
url = "/overview/fdiousecases"

[[menu.header]]
weight = 5
name = "Get Involved"
url = "/community/join"
name = "Solutions"
url = "/overview/solutions"

[[menu.header]]
weight = 6
name = "Resources"
url = "/resources/whitepapers"

[[menu.header]]
weight = 7
name = "News"
url = "/latest/news"

[[menu.header]]
weight = 8
name = "About"
url = "/community/tsc"


[markup]
defaultMarkdownHandler = "goldmark"
Expand Down
4 changes: 2 additions & 2 deletions content/community/tscdocs/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "The TSC Documents"
title = "Key Documents"
type = "community"
subtitle = """
<h2 style="text-indent: 1em;">The TSC Documents</h2>
<h3 style="text-indent: 1em;">The TSC Documents:</h3>
"""
+++
6 changes: 0 additions & 6 deletions content/latest/archive/_index.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions content/overview/whatsfdio/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "What's FD.io?"
type = "overview"
subtitle = ""
+++
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
id = "community"
id = "overview"
+++

<br>
Expand Down Expand Up @@ -40,7 +40,6 @@ Learn more about [LFN](https://www.lfnetworking.org) and [Join as a member](http
#### Mailing Lists
[![Mailing List](https://img.shields.io/badge/Mailing%20List-vpp-blue.svg?style=plastic)](https://lists.fd.io/g/vpp-dev)

#### FDio Communication Channels
#### FD.io Communication Channels
[![IRC](https://www.irccloud.com/invite-svg?channel=%23fdio&amp;hostname=irc.freenode.net&amp;port=6697&amp;ssl=1)](http://webchat.freenode.net/?channels=fdio)
[![Twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/FDioProject)

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Project Documentation"
subtitle = """
FD.io is a collection of several projects.<br>
FD.io is a collection of several projects.
Documentation for some of the projects can be found here.
"""
bgImage = "img/fdio_bg_tech2.jpg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ weight="2"
title = "Continuous System Integration and Testing (CSIT)"
+++

The FD.io software is being continuosly be tested with the tools and
The FD.io software is being continuously be tested with the tools and
framework provided by the CSIT project.
<br>
The project description can be found here [CSIT Project](https://docs.fd.io/csit/master/doc/).
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title = "Vector Packet Processor (VPP)"

The Vector Packet Packet Processor (VPP) is the core technology for FD.io.
<br>
To get started with VPP check out [Installing VPP](/vppproject/vppinstalling).
To get started with VPP check out [Installing VPP](/resources/vppinstalling).
<br>
To read the VPP User documents please visit the [VPP Latest Release](/docs/vpp/master),
[Versions 21.01](/docs/vpp/v2101) or [Versions 20.09LTS](/docs/vpp/v2009).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Building VPP"
subtitle = "Downloading and Building VPP"
type = "vpp"
type = "resources"
+++
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Installing VPP"
subtitle = "Installing"
type = "vpp"
type = "resources"
+++
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title="News"
subtitle="The Latest About FD.io"
title="Whitepapers"
subtitle="Whitepapers"
bgImage = "img/fdio_bg_tech2.jpg"
type = "whitepapers"
+++
+++
2 changes: 1 addition & 1 deletion content/vppProject/vppfeatures/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "VPP Features"
subtitle = "The Features"
type = "vpp"
type = "vppmin"
+++
2 changes: 1 addition & 1 deletion content/vppProject/vpptech/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "VPP Technology"
subtitle = "How VPP Works"
type = "vpp"
type = "vppmin"
+++
11 changes: 9 additions & 2 deletions layouts/latestnews/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
</head>
<body>
{{ partial "header.html" . }}
{{ partial "latest-header.html" . }}
<section id="docs-header">
<div class="container">
<div class="row">
<br>
</div>
</div>
</section>
<!--{{ partial "latest-header.html" . }}-->

<div class="container">
{{ range (.Paginator 6).Pages.ByDate.Reverse }}
Expand All @@ -32,7 +39,7 @@ <h4>
<div class="col-12 text-center">
{{ template "_internal/pagination.html" . }}
</div>

{{ partial "footer.html" . }}

</body>
Expand Down
9 changes: 8 additions & 1 deletion layouts/overview/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
</head>
<body>
{{ partial "header.html" . }}
{{ partial "overview-header.html" . }}
<!--{{ partial "overview-header.html" . }}-->
<section id="docs-header">
<div class="container">
<div class="row">
<br>
</div>
</div>
</section>
<h1 align="center">{{ .Title }}</h1>
<br>
<div class="container">
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/community-header.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<section id="docs-header">
<div class="container">
<div class="row">
<div class="col-md-4"><a href="/community/join/">GET INVOLVED</a></div>
<div class="col-md-4"><a href="/community/tsc/">TECHNICAL STEERING COMMITTEE (TSC)</a></div>
<div class="col-md-4"><a href="/community/tscdocs/">TSC DOCUMENTS</a></div>
<div class="col-md-4"><a href="/community/tscdocs/">KEY DOCUMENTS</a></div>
<div class="col-md-4"><a href="/community/join/">GET INVOLVED</a></div>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/overview-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="row">
<div class="col-md-3"><a href="/overview/fdiousecases">USE CASES</a></div>
<div class="col-md-3"><a href="/overview/solutions/">CUSTOMER SOLUTIONS</a></div>
<div class="col-md-3"><a href="/overview/saying/">CUSTOMER FEEDBACK</a></div>
<div class="col-md-3"><a href="/overview/saying/">CUSTOMER QUOTES</a></div>
<div class="col-md-3"><a href="/overview/whitepapers/">WHITE PAPERS</a></div>
</div>
</div>
Expand Down
11 changes: 11 additions & 0 deletions layouts/partials/resources-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<section id="docs-header">
<div class="container">
<div class="row">
<div class="col-md-3"><a href="/resources/whitepapers">WHITE PAPERS</a></div>
<div class="col-md-3"><a href="/resources/documentation">PROJECT DOCUMENTATION</a></div>
<div class="col-md-3"><a href="/resources/vppinstalling">INSTALLING</a></div>
<div class="col-md-3"><a href="/resources/vppbuilding">BUILDING</a></div>
</div>
</div>
</section>
<br></br>
8 changes: 8 additions & 0 deletions layouts/partials/vppproject-header-empty.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<section id="docs-header">
<div class="container">
<div class="row">
<br>
</div>
</div>
</section>
<h1 align="center">The Vector Packet Processor (VPP)</h1>
29 changes: 29 additions & 0 deletions layouts/resources/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "header.html" . }}
{{ partial "resources-header.html" . }}
<h2 align="center">{{ .Params.subtitle }}</h2>
<div class="container">
{{ range (.Paginator 1).Pages.ByDate }}
{{ .Content | markdownify }}
<br></br>
{{ if .Params.versions }}
{{ partial "btn-dropdown" . }}
{{ end }}
{{ if.Params.btnurl }}
<a href="{{ .Params.btnurl }}" class="btn btn-main">{{ .Params.btntxt }}</a>
{{ end }}
<br></br>
{{ end }}
<div class="col-10 text-center">
{{ template "_internal/pagination.html" . }}
</div>
</div>
<br>
{{ partial "footer.html" . }}
</body>
</html>
22 changes: 22 additions & 0 deletions layouts/resources/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
{{ partial "header.html" . }}
{{ partial "latest-header.html" . }}
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="block">
<p>{{ .Content | markdownify }}</p>
</div>
</div>
</div>
</div>
<br><br>

{{ partial "footer.html" . }}
</body>
</html>
8 changes: 4 additions & 4 deletions layouts/videos/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{{ partial "head.html" . }}
</head>
<body>

{{ partial "header.html" . }}
{{ partial "vppproject-header.html" . }}
{{ partial "resources-header.html" . }}

<section class="blog section">
<div class="container">
<div class="row">
Expand All @@ -22,7 +22,7 @@
</div>
</div>
</section>

{{ partial "footer.html" . }}

</body>
Expand Down
29 changes: 29 additions & 0 deletions layouts/vppmin/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "header.html" . }}
{{ partial "vppproject-header-empty.html" . }}
<h2 align="center">{{ .Params.subtitle }}</h2>
<div class="container">
{{ range (.Paginator 1).Pages.ByDate }}
{{ .Content | markdownify }}
<br></br>
{{ if .Params.versions }}
{{ partial "btn-dropdown" . }}
{{ end }}
{{ if.Params.btnurl }}
<a href="{{ .Params.btnurl }}" class="btn btn-main">{{ .Params.btntxt }}</a>
{{ end }}
<br></br>
{{ end }}
<div class="col-10 text-center">
{{ template "_internal/pagination.html" . }}
</div>
</div>
<br>
{{ partial "footer.html" . }}
</body>
</html>
4 changes: 2 additions & 2 deletions layouts/whitepapers/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>
{{ partial "header.html" . }}
{{ partial "overview-header.html" . }}
{{ partial "resources-header.html" . }}

<div class="container">
{{ range (.Paginator 6).Pages.ByDate.Reverse }}
Expand All @@ -26,7 +26,7 @@ <h4>By {{ .Params.author }} | {{ .Date.Format "Jan 2 2006" }}, {{ .Params.locati
<div class="col-12 text-center">
{{ template "_internal/pagination.html" . }}
</div>

{{ partial "footer.html" . }}

</body>
Expand Down