From ff8a3bdc949d297aba8e1adb6a55d2d74a228f39 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sun, 4 Dec 2016 19:20:08 -0800 Subject: [PATCH] docs: updated Signed-off-by: Vishal Rana --- website/config.json | 15 -------- website/config.toml | 11 ++++++ website/layouts/_default/single.html | 54 ++++++++++++++------------- website/layouts/index.html | 6 +-- website/layouts/partials/footer.html | 4 +- website/layouts/partials/head.html | 2 +- website/layouts/partials/notice.html | 4 +- website/layouts/partials/sidenav.html | 6 +-- website/layouts/partials/topnav.html | 30 ++++++++------- 9 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 website/config.json create mode 100644 website/config.toml diff --git a/website/config.json b/website/config.json deleted file mode 100644 index a7b18c7f2..000000000 --- a/website/config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "baseurl": "https://echo.labstack.com", - "languageCode": "en-us", - "title": "Echo - High performance, minimalist Go web framework", - "canonifyurls": true, - "googleAnalytics": "UA-85059636-2", - "permalinks": { - "guide": "/guide/:filename", - "middleware": "/middleware/:filename", - "recipes": "/recipes/:filename" - }, - "params": { - "description": "Echo is a high performance, extensible, minimalist web framework for Go (Golang)." - } -} diff --git a/website/config.toml b/website/config.toml new file mode 100644 index 000000000..bfcd04991 --- /dev/null +++ b/website/config.toml @@ -0,0 +1,11 @@ +baseurl = "https://echo.labstack.com" +languageCode = "en-us" +title = "Echo - High performance, minimalist Go web framework" +canonifyurls = true +googleAnalytics = "UA-85059636-2" +[permalinks] + guide = "/guide/:filename" + middleware = "/middleware/:filename" + recipes = "/recipes/:filename" +[params] + description = "Echo is a high performance, extensible, minimalist web framework for Go (Golang)." diff --git a/website/layouts/_default/single.html b/website/layouts/_default/single.html index 34ce8d717..e351e24ad 100644 --- a/website/layouts/_default/single.html +++ b/website/layouts/_default/single.html @@ -1,31 +1,33 @@ {{ partial "head.html" . }} {{ partial "topnav.html" . }} - {{ partial "sidenav.html" . }} -
- {{ partial "ad.html" }} -
-
- {{ partial "notice.html" }} - -
-
-
- {{ partial "footer.html" . }} +
+ {{ partial "sidenav.html" . }} +
+ {{ partial "ad.html" }} +
+
+ {{ partial "notice.html" }} + +
+
+ {{ partial "footer.html" . }} +
+
diff --git a/website/layouts/index.html b/website/layouts/index.html index c97ccf44e..7f245d798 100644 --- a/website/layouts/index.html +++ b/website/layouts/index.html @@ -4,10 +4,10 @@
{{ partial "sidenav.html" . }}
-
- {{ partial "ad.html" }} +
+ {{ partial "ad.html" }}
-
+

{{ .Site.Data.index.heading }}

{{ .Site.Data.index.description }}

diff --git a/website/layouts/partials/footer.html b/website/layouts/partials/footer.html index da859dc69..603c4d330 100644 --- a/website/layouts/partials/footer.html +++ b/website/layouts/partials/footer.html @@ -1,4 +1,4 @@ -