Skip to content

Instantly share code, notes, and snippets.

@jmooring
Created November 12, 2023 17:38
Show Gist options
  • Save jmooring/23932424365401ffa5e9d9810102a477 to your computer and use it in GitHub Desktop.
Save jmooring/23932424365401ffa5e9d9810102a477 to your computer and use it in GitHub Desktop.
Example of gist with multiple files
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
{{ end }}
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment