From c23123f5b1de1b8925abf99dce8b0e69477e9dc9 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sun, 13 Nov 2016 09:36:57 -0800 Subject: [PATCH] updated website Signed-off-by: Vishal Rana --- README.md | 2 +- website/Makefile | 2 +- website/config.json | 3 ++- website/layouts/partials/footer.html | 1 + website/layouts/partials/head.html | 2 +- website/layouts/partials/sidenav.html | 8 +++++++- website/static/scripts/main.js | 3 +++ 7 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 website/static/scripts/main.js diff --git a/README.md b/README.md index d31fb94e..53f82c2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [Echo](http://labstack.com/echo) [![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/labstack/echo) [![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/labstack/echo/master/LICENSE) [![Build Status](http://img.shields.io/travis/labstack/echo.svg?style=flat-square)](https://travis-ci.org/labstack/echo) [![Coverage Status](http://img.shields.io/coveralls/labstack/echo.svg?style=flat-square)](https://coveralls.io/r/labstack/echo) [![Join the chat at https://gitter.im/labstack/echo](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg?style=flat-square)](https://gitter.im/labstack/echo) [![Twitter](https://img.shields.io/badge/twitter-@labstack-55acee.svg?style=flat-square)](https://twitter.com/labstack) +# [Echo v2](http://echo.labstack.com/v2) [![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/labstack/echo) [![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/labstack/echo/master/LICENSE) [![Build Status](http://img.shields.io/travis/labstack/echo.svg?style=flat-square)](https://travis-ci.org/labstack/echo) [![Coverage Status](http://img.shields.io/coveralls/labstack/echo.svg?style=flat-square)](https://coveralls.io/r/labstack/echo) [![Join the chat at https://gitter.im/labstack/echo](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg?style=flat-square)](https://gitter.im/labstack/echo) [![Twitter](https://img.shields.io/badge/twitter-@labstack-55acee.svg?style=flat-square)](https://twitter.com/labstack) ## Don't forget to try the upcoming [v3](https://github.com/labstack/echo/tree/v3) tracked [here]( https://github.com/labstack/echo/issues/665) diff --git a/website/Makefile b/website/Makefile index c5e4c030..0f190a63 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,2 +1,2 @@ build: - rm -rf public && hugo + rm -rf public/v2 && hugo diff --git a/website/config.json b/website/config.json index 4f48e64e..51438d2b 100644 --- a/website/config.json +++ b/website/config.json @@ -1,9 +1,10 @@ { - "baseurl": "https://echo.labstack.com", + "baseurl": "https://echo.labstack.com/v2/", "languageCode": "en-us", "title": "Echo - Fast and unfancy HTTP server framework for Go (Golang)", "canonifyurls": true, "googleAnalytics": "UA-85059636-2", + "publishdir": "public/v2", "permalinks": { "guide": "/guide/:filename", "middleware": "/middleware/:filename", diff --git a/website/layouts/partials/footer.html b/website/layouts/partials/footer.html index 3082fb9a..e091e8ec 100644 --- a/website/layouts/partials/footer.html +++ b/website/layouts/partials/footer.html @@ -40,3 +40,4 @@ + diff --git a/website/layouts/partials/head.html b/website/layouts/partials/head.html index 87e0793d..80afe449 100644 --- a/website/layouts/partials/head.html +++ b/website/layouts/partials/head.html @@ -24,7 +24,7 @@ - +