title: Multiple files using template.ParseFiles in golang
body: <p>For example.go, I have</p>
  
  <pre><code>package main
  
  import "html/template"
  import "net/http"
  
  func handler(w http.ResponseWriter, r *http.Request) {
      t, _ := template.ParseFiles("header.html", "footer.html")
      t.Execute(w, map[string] string {"Title": "My title", "Body": "Hi this is my body"})
  }
  
  func main() {
      http.HandleFunc("/", handler)
      http.ListenAndServe(":8080", nil)
  }
  </code></pre>
  
  <p>In header.html:</p>
  
  <pre><code>Title is {{.Title}}
  </code></pre>
  
  <p>In footer.html:</p>
  
  <pre><code>Body is {{.Body}}
  </code></pre>
  
  <p>When going to <code>http://localhost:8080/</code>, I only see "Title is My title", and not the second file, footer.html. How can I load multiple files with template.ParseFiles? What's the most efficient way to do this?</p>
  
  <p>Thanks in advance.</p>