article.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>培训</title>
  6. <include file="public@head"/>
  7. <hook name="before_head_end"/>
  8. </head>
  9. <body>
  10. <include file="public@nav"/>
  11. <div class="container">
  12. <div class="row">
  13. <div class="col-md-4 mt20">
  14. <ul class="list-group">
  15. <empty name="category_child">
  16. <li class="list-group-item">
  17. <a href="{:cmf_url('list/index')}?category_id={$category_self.id}">返回上一级</a>
  18. </li>
  19. <else/>
  20. <volist name="category_child" id="vo">
  21. <li class="list-group-item">
  22. <a href="{:cmf_url('list/index')}?category_id={$vo.id}">{$vo.name}</a>
  23. </li>
  24. </volist>
  25. </empty>
  26. </ul>
  27. </div>
  28. <div class="col-md-8 mt20">
  29. <nav aria-label="breadcrumb">
  30. <ol class="breadcrumb">
  31. <li class="breadcrumb-item"><a href="/">培训教育</a></li>
  32. <li class="breadcrumb-item"><a href="{:cmf_url('list/index')}">文章列表</a></li>
  33. <volist name="path_list" id="vo" key="k">
  34. <li class="breadcrumb-item"><a href="{:cmf_url('list/index')}?category_id={$vo['id']}">{$vo.name}</a></li>
  35. </volist>
  36. </ol>
  37. </nav>
  38. <div class="article-detail">
  39. <div class="title">{$article.post_title}</div>
  40. <div class="inputtime">{:date('Y-m-d H:i:s',$article.published_time)}</div>
  41. <div class="mt20">
  42. {$article.post_content|raw}
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <include file="public@footer"/>
  49. </body>
  50. </html>