From bbab9ca96843b3d0789bc5e7113ded3f606e5bd6 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Thu, 1 Feb 2018 16:11:22 -0500 Subject: [PATCH] Update templates to reflect new structs --- templates/example.tmpl | 8 ++++---- templates/index.tmpl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/example.tmpl b/templates/example.tmpl index dabad82..8315df7 100644 --- a/templates/example.tmpl +++ b/templates/example.tmpl @@ -18,7 +18,7 @@ } -
+

Go by Example: {{.Name}}

{{range .Segs}} @@ -28,7 +28,7 @@ {{.DocsRendered}} @@ -37,11 +37,11 @@ {{end}} {{if .NextExample}}

- Next example: {{.NextExample.Name}}. + Next example: {{.NextExample.Name}}.

{{end}} diff --git a/templates/index.tmpl b/templates/index.tmpl index 9c5c02f..313904d 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -35,7 +35,7 @@
- {{if .CodeRun}}{{end}} + {{if .CodeRun}}{{end}} {{.CodeRendered}}