single.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html lang="{{ .Site.LanguageCode }}">
  3. {{ partial "head.html" . }}
  4. <body>
  5. <!-- Google Tag Manager (noscript) -->
  6. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MTWWP3G" height="0" width="0"
  7. style="display:none;visibility:hidden"></iframe></noscript>
  8. <!-- End Google Tag Manager (noscript) -->
  9. <div id="all">
  10. {{ partial "navbar.html" . }}
  11. <!-- {{ partial "nav.html" . }} -->
  12. {{ partial "breadcrumbs.html" . }}
  13. <div id="content">
  14. <div class="container">
  15. <div class="row">
  16. <div class="col-md-9" id="blog-post">
  17. <section class="info">
  18. <ul>
  19. {{ range (.GetTerms "tags") }}
  20. <li>
  21. <a href="{{ .Permalink }}">
  22. <i class="fas fa-tags"></i>
  23. {{ .LinkTitle }}
  24. </a>
  25. </li>
  26. {{ end }}
  27. </ul>
  28. <small class="text-muted">{{ .Date | time.Format ":date_long" }}</small>
  29. </section>
  30. <!-- {{ if or .Params.author .Params.date }}
  31. <small class="text-muted text-uppercase mb-small text-right">
  32. {{ if .Params.author }}{{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a>{{ end }}
  33. {{ if and .Params.author .Params.date }} | {{ end }}
  34. {{ if .Params.date }}{{ .Date.Format .Site.Params.date_format }}{{ end }}
  35. </small>
  36. {{ end }} -->
  37. <div id="post-content">
  38. {{ .Content }}
  39. </div>
  40. <a href="/blog/" class="back-link">< 回到列表</a>
  41. </div>
  42. <!-- <div class="col-md-3">
  43. {{ partial "sidebar.html" . }}
  44. </div> -->
  45. </div>
  46. </div>
  47. </div>
  48. {{ partial "LP_components/Footer.html" . }}
  49. </div>
  50. {{ partial "scripts.html" . }}
  51. </body>
  52. </html>