single.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 "nav.html" . }}
  11. {{ partial "breadcrumbs.html" . }}
  12. <div id="content">
  13. <div class="container">
  14. <div class="row">
  15. <div class="col-md-9" id="blog-post">
  16. <section class="info">
  17. <ul>
  18. {{ range (.GetTerms "tags") }}
  19. <li>
  20. <a href="{{ .Permalink }}">
  21. <i class="fas fa-tags"></i>
  22. {{ .LinkTitle }}
  23. </a>
  24. </li>
  25. {{ end }}
  26. </ul>
  27. <small class="text-muted">{{ .Date | time.Format ":date_long" }}</small>
  28. </section>
  29. <!-- {{ if or .Params.author .Params.date }}
  30. <small class="text-muted text-uppercase mb-small text-right">
  31. {{ if .Params.author }}{{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a>{{ end }}
  32. {{ if and .Params.author .Params.date }} | {{ end }}
  33. {{ if .Params.date }}{{ .Date.Format .Site.Params.date_format }}{{ end }}
  34. </small>
  35. {{ end }} -->
  36. <div id="post-content">
  37. {{ .Content }}
  38. </div>
  39. <a href="/blog/" class="back-link">< 回到列表</a>
  40. </div>
  41. <!-- <div class="col-md-3">
  42. {{ partial "sidebar.html" . }}
  43. </div> -->
  44. </div>
  45. </div>
  46. </div>
  47. {{ partial "LP_components/Footer.html" . }}
  48. </div>
  49. {{ partial "scripts.html" . }}
  50. </body>
  51. </html>