single.html 728 B

12345678910111213141516171819202122232425262728293031
  1. {{ define "header"}}
  2. {{- partial "_shared/navbar.html" . -}}
  3. {{ end }}
  4. {{ define "main" }}
  5. <div class="main-content">
  6. <!-- Begin standalone
  7. ================================================== -->
  8. <div class="container">
  9. <div class="row">
  10. <div class="col-md-1"></div>
  11. <div class="col-md-10">
  12. <div class="mainheading">
  13. <h1 class="posttitle">{{ .Title }}</h1>
  14. </div>
  15. <div class="article-post">
  16. {{ .Content }}
  17. </div>
  18. </div>
  19. <div class="col-md-1"></div>
  20. </div>
  21. </div>
  22. <!-- End standalone
  23. ================================================== -->
  24. </div>
  25. {{- partial "_shared/alertbar.html" . -}}
  26. {{ end }}
  27. {{ define "footer"}}
  28. {{- partial "_shared/footer.html" . -}}
  29. {{ end }}