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 @@ - +