diff --git a/web/views/example.html b/web/views/example.html index 1693dc2..c5df87b 100644 --- a/web/views/example.html +++ b/web/views/example.html @@ -1,11 +1,18 @@ {{define "view"}} -
-
-

Serve Static Files Like this Gopher

- - - alternate text -
- {{end}} +
+
You are now viewing the {{.Title}}
+

Serve Static Files Like this Gopher

+
+ alternate text +
+
You can get back to the index view with this button
+ +
+{{end}} diff --git a/web/views/index.html b/web/views/index.html index 5ed1e73..8d290fb 100644 --- a/web/views/index.html +++ b/web/views/index.html @@ -1,27 +1,46 @@ {{define "view"}} -
-
- - -

API Example

- Access Example API -

Content Section

-

- This is the main content of your web app. You can add any HTML content - here. +

+
You are now viewing the {{.Title}}
+ +
+ Clicking the blue button will replace the entire page with an additional + example view +
+ +

+ Clicking the orange button will replace the content in the box below with + the example API +

+ +
+ +

+ Dynamic content will be displayed here.

- Another Example Route can be found here -
+ +
+ You can still access traditional, json style api's + You can also create traditional route links +
{{end}} diff --git a/web/views/templates/header.html b/web/views/templates/header.html index 7317f16..2432622 100644 --- a/web/views/templates/header.html +++ b/web/views/templates/header.html @@ -1,7 +1,7 @@ {{define "header"}}

- Welcome to My GO Web App Framework {{.Title}} + Welcome to My GO Web App Framework

{{end}}