<commit_before>extends layout

block meta
  title #{point.title} - #{app_name}

block styles
  link(rel="stylesheet", href="/css/point.css")

block content
  include inc/header
  - var curCategoryId = null
  include inc/category-menu
  section.padding.text.center
    .row
      .column_12
        h1.color.theme= point.title
  section.padding-bottom.text.left
    .row
      .entry_container.column_8
        if point.desc
          h5.text.color.theme 简介
          .entry_content.desc!= marked(point.desc)
      .ext_info.column_4.padding.bck.light
        if point.homepage
          a.button.tiny.margin-bottom.margin-right(href=point.homepage)
            span.icon.home  官网
        if point.github
          a.button.tiny.margin-bottom.margin-right(href=point.github)
            span.icon.github  Github
        h5.text.color.theme 标签
        ul.square
          each cate in categories
            - var curTags = point[cate.id]
            if curTags
              each curTagId in curTags
                - var curTag = tags[curTagId]
                if curTag
                  li
                    a(href="/tag/#{curTag.id}")= curTag.title
                    small (#{cate.title})
        if point.reference
          h5.text.color.theme 参考资料
          ul.square
            each refUrl, refTitle in point.reference
              li
                a(href=refUrl, target="_blank")
                  = refTitle
                  span.icon.external-link
        if point.relevance
          h5.text.color.theme 相关知识点
          ul.square
            each relId in point.relevance
              - var relPoint = points[relId]
              if relPoint
                li
                  a(href="/p/#{relPoint.id}")= relPoint.title
  include inc/footer
block script<commit_msg>update point view<commit_after>extends layout

block meta
  title #{point.title} - #{app_name}

block content
  active = 'Base'
  include inc/level-mixin
  include inc/header
  .container
    .main
      .content
        .crumb
          span.icon-map-marker
          |  #{app_name} &gt; 知识点 “#{point.title}”
        .point-info
          h1= point.title
          if point.desc
            .desc!= marked(point.desc)
          +level(point.level)
          if point.github || point.homepage
            .links
              if point.github
                a.button(href=point.github, target="_blank")
                  span.icon-github-sign
                  | Github
              if point.homepage
                a.button(href=point.homepage, target="_blank")
                  span.icon-home
                  | 官网
          if point.reference
            .reference
              h2 Reference
              ul
                for refUrl, refTitle in point.reference
                  li
                    a(href=refUrl, target="_blank")= refTitle

    include inc/tag-list

{'fraction_non_alphanumeric': 0.08951584813653779, 'fraction_numerical': 0.0038314176245210726, 'mean_word_length': 1.4195450716090985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3169880', 'n_tokens_mistral': 834, 'n_tokens_neox': 824, 'n_words': 173}