Skip to content

Commit

Permalink
updated website
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Nov 20, 2016
1 parent 5a3fe3f commit 054a310
Show file tree
Hide file tree
Showing 57 changed files with 133 additions and 123 deletions.
2 changes: 1 addition & 1 deletion website/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
rm -rf public/v3 && hugo
rm -rf public && hugo
28 changes: 0 additions & 28 deletions website/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,11 @@
"title": "Echo - Fast and unfancy HTTP server framework for Go (Golang)",
"canonifyurls": true,
"googleAnalytics": "UA-85059636-2",
"publishdir": "public/v3",
"permalinks": {
"guide": "/guide/:filename",
"middleware": "/middleware/:filename",
"recipes": "/recipes/:filename"
},
"menu": {
"side": [{
"name": "Guide",
"pre": "<i class='fa fa-book'></i>",
"weight": 1,
"identifier": "guide",
"url": "guide"
},{
"name": "Middleware",
"pre": "<i class='fa fa-filter'></i>",
"weight": 1,
"identifier": "middleware",
"url": "middleware"
}, {
"name": "Recipes",
"pre": "<i class='fa fa-code'></i>",
"weight": 2,
"identifier": "recipes",
"url": "recipes"
}, {
"name": "Godoc",
"pre": "<i class='fa fa-file-text-o'></i>",
"weight": 3,
"identifier": "godoc",
"url": "godoc"
}]
},
"params": {
"image": "https://echo.labstack.com/images/logo.png",
"description": "Echo is a high performance, extensible, minimalist web framework for Go (Golang)."
Expand Down
11 changes: 11 additions & 0 deletions website/content/godoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
+++
title = "Godoc"
description = "Godoc"
type = "godoc"
[menu.main]
name = "Godoc"
pre = "<i class='fa fa-file-text-o'></i>"
weight = 3
identifier = "godoc"
url = "/godoc"
+++
2 changes: 1 addition & 1 deletion website/content/godoc/echo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "echo"
[menu.side]
[menu.main]
name = "echo"
parent = "godoc"
weight = 1
Expand Down
2 changes: 1 addition & 1 deletion website/content/godoc/middleware.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "middleware"
[menu.side]
[menu.main]
name = "middleware"
identifier = "godoc-middleware"
parent = "godoc"
Expand Down
6 changes: 6 additions & 0 deletions website/content/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
title = "Guide"
description = "Guide"
type = "guide"
[menu.main]
name = "Guide"
pre = "<i class='fa fa-book'></i>"
weight = 1
identifier = "guide"
url = "/guide"
+++

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/context.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Context"
description = "Context in Echo"
[menu.side]
[menu.main]
name = "Context"
identifier = "context"
parent = "guide"
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/cookies.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Cookies"
description = "Handling cookie in Echo"
[menu.side]
[menu.main]
name = "Cookies"
parent = "guide"
weight = 6
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/customization.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Customization"
description = "Customizing Echo"
[menu.side]
[menu.main]
name = "Customization"
parent = "guide"
weight = 3
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/error-handling.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Error Handling"
description = "Error handling in Echo"
[menu.side]
[menu.main]
name = "Error Handling"
parent = "guide"
weight = 8
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/faq.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "FAQ"
description = "Frequently asked questions in Echo"
[menu.side]
[menu.main]
name = "FAQ"
parent = "guide"
weight = 20
Expand Down
4 changes: 2 additions & 2 deletions website/content/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Installation"
description = "Installing Echo"
[menu.side]
[menu.main]
name = "Installation"
parent = "guide"
weight = 1
Expand All @@ -15,7 +15,7 @@ $ go get -u github.com/labstack/echo

> Ideally you should rely on a [package manager](https://github.com/avelino/awesome-go#package-management) like glide or govendor to use a specific [version](https://github.com/labstack/echo/releases) of Echo.
### [Migrating Guide](/guide/migration)
## [Migrating Guide](/guide/migration)

Echo follows [semantic versioning](http://semver.org) managed through GitHub releases.
Specific version of Echo can be installed using a [package manager](https://github.com/avelino/awesome-go#package-management).
2 changes: 1 addition & 1 deletion website/content/guide/migration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Migration"
description = "Migration"
[menu.side]
[menu.main]
name = "Migration"
parent = "guide"
weight = 2
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Request"
description = "Handling HTTP request in Echo"
[menu.side]
[menu.main]
name = "Request"
parent = "guide"
weight = 6
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/routing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Routing"
description = "Routing HTTP request in Echo"
[menu.side]
[menu.main]
name = "Routing"
parent = "guide"
weight = 4
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/static-files.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Static Files"
description = "Serving static files in Echo"
[menu.side]
[menu.main]
name = "Static Files"
parent = "guide"
weight = 3
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/templates.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Templates"
description = "How to use templates in Echo"
[menu.side]
[menu.main]
name = "Templates"
parent = "guide"
weight = 3
Expand Down
2 changes: 1 addition & 1 deletion website/content/guide/testing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Testing"
description = "Testing handler and middleware in Echo"
[menu.side]
[menu.main]
name = "Testing"
parent = "guide"
weight = 9
Expand Down
6 changes: 6 additions & 0 deletions website/content/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
title = "Middleware"
description = "Middleware"
type = "middleware"
[menu.main]
name = "Middleware"
pre = "<i class='fa fa-filter'></i>"
weight = 2
identifier = "middleware"
url = "/middleware"
+++

## Overview
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/basic-auth.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "BasicAuth Middleware"
description = "Basic auth middleware for Echo"
[menu.side]
[menu.main]
name = "BasicAuth"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/body-limit.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "BodyLimit Middleware"
description = "Body limit middleware for Echo"
[menu.side]
[menu.main]
name = "BodyLimit"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/cors.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "CORS Middleware"
description = "CORS middleware for Echo"
[menu.side]
[menu.main]
name = "CORS"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/csrf.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "CSRF Middleware"
description = "CSRF middleware for Echo"
[menu.side]
[menu.main]
name = "CSRF"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/gzip.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Gzip Middleware"
description = "Gzip middleware for Echo"
[menu.side]
[menu.main]
name = "Gzip"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/jwt.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "JWT Middleware"
description = "JWT middleware for Echo"
[menu.side]
[menu.main]
name = "JWT"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/logger.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Logger Middleware"
description = "Logger middleware for Echo"
[menu.side]
[menu.main]
name = "Logger"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/method-override.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "MethodOverride Middleware"
description = "Method override middleware for Echo"
[menu.side]
[menu.main]
name = "MethodOverride"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/recover.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Recover Middleware"
description = "Recover middleware for Echo"
[menu.side]
[menu.main]
name = "Recover"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/redirect.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Redirect Middleware"
description = "Redirect middleware for Echo"
[menu.side]
[menu.main]
name = "Redirect"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/secure.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Secure Middleware"
description = "Secure middleware for Echo"
[menu.side]
[menu.main]
name = "Secure"
parent = "middleware"
weight = 5
Expand Down
2 changes: 1 addition & 1 deletion website/content/middleware/trailing-slash.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "TrailingSlash Middleware"
description = "Trailing slash middleware for Echo"
[menu.side]
[menu.main]
name = "TrailingSlash"
parent = "middleware"
weight = 5
Expand Down
6 changes: 6 additions & 0 deletions website/content/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
title = "Recipes"
description = "Recipes"
type = "recipes"
[menu.main]
name = "Recipes"
pre = "<i class='fa fa-code'></i>"
weight = 2
identifier = "recipes"
url = "/recipes"
+++

## Echo Examples
2 changes: 1 addition & 1 deletion website/content/recipes/cors.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "CORS Example"
description = "CORS example for Echo"
[menu.side]
[menu.main]
name = "CORS"
identifier = "cors-middleware"
parent = "recipes"
Expand Down
2 changes: 1 addition & 1 deletion website/content/recipes/crud.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "CRUD Example"
description = "CRUD (Create, read, update and delete) example for Echo"
[menu.side]
[menu.main]
name = "CRUD"
parent = "recipes"
weight = 2
Expand Down
2 changes: 1 addition & 1 deletion website/content/recipes/embed-resources.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Embed Resources Example"
description = "Embed resources example for Echo"
[menu.side]
[menu.main]
name = "Embed Resources"
parent = "recipes"
weight = 14
Expand Down
2 changes: 1 addition & 1 deletion website/content/recipes/file-upload.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "File Upload Example"
description = "File upload example for Echo"
[menu.side]
[menu.main]
name = "File Upload"
parent = "recipes"
weight = 7
Expand Down
2 changes: 1 addition & 1 deletion website/content/recipes/google-app-engine.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Google App Engine Example"
description = "Google App Engine example for Echo"
[menu.side]
[menu.main]
name = "Google App Engine"
parent = "recipes"
weight = 12
Expand Down
2 changes: 1 addition & 1 deletion website/content/recipes/graceful-shutdown.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Graceful Shutdown Example"
description = "Graceful shutdown example for Echo"
[menu.side]
[menu.main]
name = "Graceful Shutdown"
parent = "recipes"
weight = 13
Expand Down
2 changes: 1 addition & 1 deletion website/content/recipes/hello-world.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Hello World Example"
description = "Hello world example for Echo"
[menu.side]
[menu.main]
name = "Hello World"
parent = "recipes"
weight = 1
Expand Down
Loading

0 comments on commit 054a310

Please sign in to comment.